Opened 5 years ago

Closed 2 years ago

#586 closed defect (fixed)

ARB_TEXTEDIT "broken"

Reported by: epruesse Owned by: westram
Priority: normal Milestone: arb6.1
Component: no idea Version: SVN
Keywords: Cc:

Description

The variable is interpreted by SH/arb_textedit and AW_edit()

  • AW_edit tries to "block" until the editor is finished and runs a CB if the file has changed. Typical GUI editors will run independently of ARB, so this doesn't work. "Listening" to edits on config files should be done with inotify or similar API (probably glib has something for this). If in doubt, a "reload" button would do it.
  • arb_textedit assumes the command is shell-based if it doesn't know it and will wrap it in a shell. Setting ARB_TEXTEDIT to xdg-open, e.g., will cause an editor to open briefly and then be terminated by the terminal emulator via SIGHUP.

Change History (3)

comment:1 Changed 5 years ago by epruesse

gedit has "-w" to run in blocking mode.

comment:2 Changed 2 years ago by westram

  • Owner changed from devel to westram
  • Status changed from new to _started

comment:3 Changed 2 years ago by westram

  • Resolution set to fixed
  • Status changed from _started to closed

by [16469]

Note: See TracTickets for help on using tickets.