Opened 10 years ago

Closed 7 years ago

Last modified 3 years ago

#586 closed defect (fixed)

ARB_TEXTEDIT "broken"

Reported by: epruesse Owned by: westram
Priority: normal Milestone: arb7.0
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 (4)

comment:1 Changed 10 years ago by epruesse

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

comment:2 Changed 7 years ago by westram

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

comment:3 Changed 7 years ago by westram

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

by [16469]

comment:4 Changed 3 years ago by westram

  • Milestone changed from arb6.1 to arb7.0

Milestone renamed

Note: See TracTickets for help on using tickets.