← Back to team overview

compiz team mailing list archive

[Bug 858625] [NEW] Applications which create multiple windows that are transients of each other can be given invalid stack positions

 

Public bug reported:

 
  Windows A, B and C map (placed on top), and must stack relative to each other
  
  Window A gets stacked beneath D (which is a panel),
  Window B should be stacked above A,
  Window C should be stacked above B,
  
  What happened was that updateAttributes would be called and
  request to put window B above A, which it was already above in
  CompScreen::windows, so that stacking request becomes a no-op. In this case
  we check if the window is pending a restack and then request to put it
  above the same window it was already a sibling to if findSiblingBelow found
  that to be the case.

This could case GIMP and Libreoffice to be stacked above panels in some
cases on startup, since those windows must be placed at the top of the
stack on startup, and if valid stack positions are not given to them by
updateAttributes because we filtered them out as no-ops, then they would
remain at the top of the stack.

** Affects: compiz-core
     Importance: Critical
     Assignee: Sam Spilsbury (smspillaz)
         Status: In Progress

** Affects: unity
     Importance: Critical
     Assignee: Sam Spilsbury (smspillaz)
         Status: In Progress

** Affects: compiz (Ubuntu)
     Importance: Undecided
     Assignee: Sam Spilsbury (smspillaz)
         Status: In Progress


** Tags: compiz stacking

** Also affects: unity
   Importance: Undecided
       Status: New

** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: compiz-core
       Status: New => Fix Committed

** Changed in: unity
       Status: New => Fix Committed

** Changed in: unity
       Status: Fix Committed => In Progress

** Changed in: compiz-core
       Status: Fix Committed => In Progress

** Changed in: compiz (Ubuntu)
       Status: New => In Progress

** Changed in: compiz-core
     Assignee: (unassigned) => Sam Spilsbury (smspillaz)

** Changed in: unity
     Assignee: (unassigned) => Sam Spilsbury (smspillaz)

** Changed in: compiz (Ubuntu)
     Assignee: (unassigned) => Sam Spilsbury (smspillaz)

** Changed in: compiz-core
   Importance: Undecided => Critical

** Changed in: unity
   Importance: Undecided => Critical

** Changed in: compiz-core
    Milestone: None => 0.9.5.96

** Changed in: unity
    Milestone: None => 4.18.0

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/858625

Title:
  Applications which create multiple windows that are transients of each
  other can be given invalid stack positions

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz-core/+bug/858625/+subscriptions


Follow ups

References