Issue 117305

Summary: Please use _NET_WM_STATE_MODAL for dialogs that should be modal
Product: General Reporter: hannes.janetzek
Component: uiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: carsten.driesner, elish, hannes.janetzek, issues
Version: OOo 3.2Keywords: needhelp
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description hannes.janetzek 2011-03-09 20:07:48 UTC
Currently OpenOffice tries to enforce focus for some dialogs by sending a _NET_ACTIVE_WINDOW client message when the main window gets is focused, while a 'modal' dialog like options or printer settings is open, to make the window manager set focus on the dialog again. This conflicts with focus follows mouse and can lead to really disturbing behavior when the window manager slides the pointer to the window that is activated by _NET_ACTIVE_WINDOW. I think the right way to do it would be to set these dialogs net_wm_state to be modal and their icccm transient_for to the main window. this way the wm should know that it does not set input focus on the main window while modal dialog is open in the first place. See native gtk file open dialog for example which does it like this.
Comment 1 Olaf Felka 2011-03-10 07:16:54 UTC
@ cd: Please have a look.
Comment 2 carsten.driesner 2011-03-10 10:54:06 UTC
cd->pl: Please take over. You know much better than I if using this hint would solve or create new problems.
Comment 3 2011-03-10 13:10:00 UTC
cd forgot to actually reassign...
Comment 4 Oliver-Rainer Wittmann 2012-06-13 12:24:16 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 5 Rob Weir 2013-07-30 02:19:32 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.