! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
New windows created at bottom of stack (when "New Window Focus" is not active)


Description Porcelain Mouse 2009-07-18 06:17:07 CEST
New windows appear at the bottom of the window stack, unless "New Window Focus" is active.  New windows should appear at the top of the middle/normal window stack space, regardless of the "New Window Focus" setting, as is customary and common prior to v4.6.

Is this, perhaps, a side-effect of the 4.6 code change referenced in the Changelog as, "Do not automatically give focus to windows placed on lower layers, but focus those on upper layers at first map?"  The new behavior is "new windows appear at bottom of stack, unless setting to force focus on new windows is enabled," which is not the same thing.  Focusing and Window placement should be completely independent, and have always been.

This change is completely bizarre.  I don't understand what was wrong with focusing on lower windows in the first place.  I also don't understand why that behavior change resulted in a disruption of the behavior I like.  Furthermore, shouldn't the default placement for new windows be at the top of the normal/middle stack space?  Why is the default placement of new windows at the bottom of the stack space?
Comment 1 Porcelain Mouse 2009-07-22 05:34:42 CEST
Thanks to Matthew for pointing me to 


At least this suggests how this change may have started.  But, I still don't understand the change.  The 3200 bug doesn't make it clear why this change was accepted or even if the security claim is valid.  I think the claims in bug 3200 are fairly easy to refute and, certainly, the behavior I like should be preserved even if a change was made.
Comment 2 Porcelain Mouse 2009-07-22 07:17:58 CEST
From Olivier's comments in bug 3200, it would seem that the behavior I did *not* like--i.e. new windows are placed below the active window--has always been available as "Focus Stealing Prevention".  Now, however, in 4.6, focus stealing prevention seems to have no effect: on or off, new windows appear below the active window.  Is this what changed in 4.6?

I don't know if I should be happy that there is an existing option that controls this or even more disappointed that the option still exists but doesn't work.  Could someone explain what focus stealing prevention is supposed to do and how it may have changed with 4.6?  There doesn't seem to be any documentation on the Window Manger Tweaks settings control panel.
Comment 3 Porcelain Mouse 2009-07-22 07:23:14 CEST
(In reply to comment #0)
Correction.  Placement isn't at the bottom of the stack space, it's just behind the active window.  Although, the active window isn't necessarily the application that created the new window.
Comment 4 Git Bot editbugs 2020-05-29 11:42:01 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/27.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #5581

Reported by:
Porcelain Mouse
Reported on: 2009-07-18
Last modified on: 2020-05-29


Olivier Fourdan
CC List:
0 users



Additional information