Bug 28754 - [945 Compositing WM] Connecting an external screen results in wrong window stacking
Summary: [945 Compositing WM] Connecting an external screen results in wrong window st...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 31513 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-25 03:46 UTC by Nathan Samson
Modified: 2019-09-18 19:33 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Three windows, Firefox, pidgin and gnome-terminal. Pidgin (chat window) has focus, firefox is behind it, and gnome-terminal is at the back (but still visible which is wrong) (856.81 KB, image/png)
2010-06-25 03:46 UTC, Nathan Samson
Details

Description Nathan Samson 2010-06-25 03:46:13 UTC
Created attachment 36487 [details]
Three windows, Firefox, pidgin and gnome-terminal. Pidgin (chat window) has focus, firefox is behind it, and gnome-terminal is at the back (but still visible which is wrong)

When I connect an external screen (1680x1050) next to my normal laptop screen (1280x800) window stacking is wrong.

What happens is:
I have 2 windows A and B, window A is bigger, and  window B is at the same position as window A. So normally you expect when A has focus you cant see B (its hidden by A), and the other way around, when B has foucs, you can only see part of A.

This does not happen. What happens is
Window A has focus: window B is not visible, but a large dark shadow at its position is, also a lighter shadow is completely above A
Window B has focus: window B visible, A still has the lighter shadow

If B is a gnome-terminal (which in my case uses transparancy in its main window, so probably other "transparent" apps behave the same)
Window A has focus: window B is visible, with shadow. A has shadow
window B has focus: window B is visible without shadow, A has shadow

Also normal windows (= not gnome-terminal) have a shadow above them (even when they are not overlapped by or overlapping another window)

This is only with metacity with compositing enabled. (I havent tried compiz, or another compositing window manager)

When I connect the same external screen at the same position of my laptop screen (so total screen size is 1680x1050 and not (1680+1280)x1050) these problems do not appear.

I'm using latest xorg-edgers PPA on intel 950. (wich has xorg-intel-driver 2.12, and latest drm fix)
Comment 1 Chris Wilson 2010-11-09 14:09:53 UTC
*** Bug 31513 has been marked as a duplicate of this bug. ***
Comment 2 Carlos 2011-02-14 04:52:52 UTC
I can confirm this bug in Arch Linux: https://bugs.archlinux.org/task/20365.
Comment 3 Carl Worth 2013-02-22 22:05:38 UTC
I have no i915 hardware, re-assigning to Chris Wilson.

-Carl
Comment 4 Elizabeth 2017-10-27 20:55:12 UTC
Hello, is this still valid with latest SW? Closing soon otherwise. Thank you.
Comment 5 GitLab Migration User 2019-09-18 19:33:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.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.freedesktop.org/mesa/mesa/issues/682.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.