Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,884
    • Issues 2,884
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 906
    • Merge requests 906
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #682

Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

[945 Compositing WM] Connecting an external screen results in wrong window stacking

Submitted by Nathan Samson

Assigned to Chris Wilson @ickle

Link to original bug (#28754)

Description

Created attachment 36487 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)

Attachment 36487, "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)":
windowstackingB

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking