Closed
Bug 434679
Opened 17 years ago
Closed 17 years ago
Some dialogs always open in the center of the first monitor
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 410337
People
(Reporter: karlt, Unassigned)
Details
Some dialogs always open in the center of the first monitor. Such dialogs in
Firefox are include Preferences, About Minefield/Mozilla Firefox, and Software
Update. (This is with a single xinerama screen.)
Expected results:
The new window to be positioned on the same monitor, either just like other
windows, or (maybe) centered on the parent window.
Actual results
The new window is alway centered on the first monitor
Some dialogs are positioned as expected, on the same monitor, according to
window manager settings (which is normally out of the way for kwin): Library,
Downloads, Error Console.
Modal dialogs (e.g. File Open) are centered on the parent window as expected
with WM_TRANSIENT_FOR.
http://tronche.com/gui/x/icccm/sec-4.html#WM_TRANSIENT_FOR
One difference between the dialogs that behave as expected and those that
don't is in the WM_NORMAL_HINTS property.
http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3
For dialogs that do not behave as expected, xprop indicates that this property
includes a "program specified location". (Dialogs that do behave as expected
do not have this.)
Comment 1•17 years ago
|
||
The dialogs that always appear on the center of the first monitor are the ones opened with "centerscreen". See bug 410337 comment 5 for more explanations.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•