← Back to team overview

compiz team mailing list archive

[Bug 1398512] [NEW] Multiple viewport switches in one movement causes incorrect window focusing.

 

Public bug reported:

This bug started after this merge:
https://code.launchpad.net/~dgadomski/compiz/remember-focus/+merge/236735

How to reproduce:
TL = Top Left workspace
TR = Top Right
BL = Bottom Left
BR = Bottom Right

1) Open a window on TL, TR, and BL
2) Move to BL workspace.
3) Quickly move to TR workspace, moving through BR or TL workspace.
4) Now move to BR/TL workspace.

Expected Result:
-- Last active window on that workspace gets window focus

Actual Result:
-- Window that was LAST ACTIVE (ie. the window in the BL workspace) gets focus.

This happens because the Window focus does not change when moving
through workspaces, but new MoveWorkspaces function calls happen. So
when you move through a workspace we are saving the active window as the
last active window for that workspace.

** Affects: compiz
     Importance: Medium
     Assignee: Brandon Schaefer (brandontschaefer)
         Status: In Progress

** Affects: compiz (Ubuntu)
     Importance: Medium
     Assignee: Brandon Schaefer (brandontschaefer)
         Status: In Progress

** Changed in: compiz
       Status: New => Triaged

** Changed in: compiz
   Importance: Undecided => High

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

** Changed in: compiz
   Importance: High => Medium

** Changed in: compiz (Ubuntu)
   Importance: Undecided => Critical

** Changed in: compiz (Ubuntu)
   Importance: Critical => Medium

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

** Changed in: compiz
       Status: Triaged => In Progress

** Changed in: compiz
     Assignee: (unassigned) => Brandon Schaefer (brandontschaefer)

** Changed in: compiz (Ubuntu)
     Assignee: (unassigned) => Brandon Schaefer (brandontschaefer)

** Branch linked: lp:~brandontschaefer/compiz/fix-viewport-focus

-- 
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/1398512

Title:
  Multiple viewport switches in one movement causes incorrect window
  focusing.

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


Follow ups

References