Issue 117305 - Please use _NET_WM_STATE_MODAL for dialogs that should be modal
Summary: Please use _NET_WM_STATE_MODAL for dialogs that should be modal
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.2
Hardware: PC Linux, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp
Depends on:
Reported: 2011-03-09 20:07 UTC by hannes.janetzek
Modified: 2014-02-25 18:59 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
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.