Close button disappeares in undocked dialogs after focus regain (gschem)
Bug #1859815 reported by
Alexei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
New
|
Undecided
|
Unassigned |
Bug Description
Close button disappears in "Options" and "Pages" (page manager) dialogs in gschem, after such dialog window losing and then regaining back focus, if these dialogs are opened undocked. If window manager with "focus follows mouse" option is used, bottons disapper after symply moving cursor beyond dialog area and then back on. And I think it is good idea to add such "Close" buttons to all undockable dialogs, it should increase usability with tiled window managers, which are not contain window control buttons at all.
To post a comment you must log in.
This is intended behavior. On losing focus, detached docks go from “dialog” to “window” state with two consequences:
- dialog action buttons are no longer shown at the bottom of the dock, and
- pressing Esc doesn't close the dock any more but returns focus to the main window.
I see how this would be undesireable in "focus follows mouse" configurations. OTOH, tiling window managers are exactly the use case for which this feature was implemented: if the window manager takes care of arranging the tool windows in the desired way, you wouldn't want the application to close windows when the user leaves them, or to add its own window decoration.
Do you have any suggestion how in your environment, gschem should decide whether to treat a detached dock as a “dialog” (with buttons at the bottom, will close on leaving) or as a “window” (without buttons at the bottom, will stay on screen)?