Bug 1863 - Windows get raised when the popup a dialog...
Status: CLOSED FIXED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.2
Hardware: PC Linux
: P2 normal
Assignee: Mikachu
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2004-07-17 10:32 EDT by Holger Schibalsky
Modified: 2007-05-16 15:52:34 EDT
0 users

See Also:



Description Holger Schibalsky 2004-07-17 10:32:38 EDT
I don't know if this is intentional:If an application popups a dialog window the 
application gets raised.Since I use sloppy focus without autoraising this 
behaviour is quite annoying because it destroys my carefully layout stacking 
order of the windows.
If this behaviour is intentional could it be made optional?
Comment 1 Mikachu 2004-07-17 12:10:46 EDT
The problem is that when you raise a dialog, the main window follows (i'm not so
sure i agree with this part), and secondly, when a dialog pops up, it always
pops up at the top of the stacking order (under the currently focused window if
it is not the main window of said application). these two things combined result
in this problem.

I'll see if disabling the first thing causes any other problems, otherwise i
guess i'll change it. Disabling it will also make it so clicking the popups
titlebar wont raise the main window which i guess was the intended thing when
the code was written (not by me).
Comment 2 Holger Schibalsky 2004-07-17 12:37:40 EDT
Hi,
please disable it :-) ,
it's the only annoyance I have with openbox...
Or tell me where in the source I can disable it.
Comment 3 Mikachu 2004-07-17 12:43:51 EDT
I managed to find how to disable it (that code is not easy to read :), I'll have
the option added in the next version, and it'll be in cvs in a few days. If
you're in a hurry to disable it, change c to selected in the call to
pick_windows in stacking_raise() in stacking.c
Comment 4 Holger Schibalsky 2004-07-17 12:56:39 EDT
Thanks ;-)