Switching viewports with ctrl-alt-(left/right/up/down) does not give the highest window on the target viewport focus

Bug #896762 reported by Sam Spilsbury
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Compiz Core
Fix Released
High
Sam Spilsbury
compiz (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Won't Fix
High
Unassigned

Bug Description

SRU TESTCASE

1. Switch viewports with ctrl-alt left/right/up/down
2. Window top most window on target viewport does not get focus
3. Now install compiz from oneiric-proposed
4. repeat step 1
5. note the problem does not happen anymore

Expected

2. Top most window on target viewport does get focus

Related branches

Changed in compiz-core:
assignee: nobody → Sam Spilsbury (smspillaz)
importance: Undecided → High
milestone: none → 0.9.6
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think I saw this reported already. Don't have the bug ID handy though.

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Yeah, I just file bugs for stuff I'm working on if I can't find the bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See bug 891250, likely the same issue.

Though I can reproduce the bug using the method in bug 891250. I can't reproduce the bug using the method in this bug...

Changed in compiz (Ubuntu):
importance: Undecided → High
no longer affects: compiz (Ubuntu Precise)
Changed in compiz (Ubuntu Oneiric):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu Oneiric):
status: New → Confirmed
Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in compiz-core:
status: New → In Progress
Changed in compiz-core:
status: In Progress → Fix Committed
Omer Akram (om26er)
description: updated
Changed in compiz (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Sam, or anyone else affected,

Accepted compiz into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in compiz (Ubuntu Oneiric):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Sean Fitzpatrick (sean-fitzpatrick) wrote :

I think this bug was also responsible for Bug #872207 (aka the most annoying bug in Unity for a number of users!)
Since upgrading I haven't been able to cause the problem described in this bug. I'll keep testing, since the problem doesn't occur on every workplace switch, but it usually happens every two or three times and I've tried at least a dozen with no problems.

Revision history for this message
Sean Fitzpatrick (sean-fitzpatrick) wrote :

Spoke too soon. :-( Things behaved well last evening, but today I'm back to the same trouble as before with #872027.

Revision history for this message
Ulf Rompe (rompe) wrote :

Same here, using compiz from oneiric-proposed doesn't change anything regarding this bug.

Omer Akram (om26er)
tags: added: verification-failed
removed: verification-needed
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Using Compiz 0.9.7 from didrocks ppa on precise I have been unable to reproduce this issue. Perhaps someone who was previously experiencing the issue can test with a live CD and compiz from didrocks ppa?

 https://launchpad.net/~didrocks/+archive/ppa?field.series_filter=precise

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix released in:
compiz (1:0.9.7.0~bzr2995-0ubuntu1) precise; urgency=low

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.6+bzr20110929-0ubuntu6.1

---------------
compiz (1:0.9.6+bzr20110929-0ubuntu6.1) oneiric-proposed; urgency=low

  * debian/patches/fix_890947_synthetic_notifications.patch:
    - Unity sends initial GDK_CONFIGURE event with position as (0,0).
      (LP: #890947)
  * debian/patches/fix_focus_on_wrong_window_896762.patch:
    - Switching viewports with ctrl-alt-(left/right/up/down) does not
      give the highest window on the target viewport focus. (LP: #896762)
  * debian/patches/java_offset_frame_extents_878934.patch:
    - Menu selection is wrong in Java apps. (LP: #878934)
 -- Omer Akram <email address hidden> Tue, 17 Jan 2012 15:08:38 -0500

Changed in compiz (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

I am releasing the proposed update as this was not a regression. I reopen the bug, though, as the proposed update did not fix this problem.

Changed in compiz (Ubuntu Oneiric):
status: Fix Released → Fix Committed
status: Fix Committed → In Progress
Changed in compiz-core:
status: Fix Committed → Fix Released
Revision history for this message
Janne Savikko (jsavikko) wrote :

I'm not sure if mine is a new bug (unity related?) or is it just this one but wider than expected...
I've noticed that this affects also precise. Problem that I've seen is with some windows (e.g. gnome-terminal, firefox, evince) which are resized to take up half of the screen on the *right* side (with mouse or ctrl+super+right) .

When changing to the other virtual desktop, the focus is still on the window of previous desktop or on the window on the right half of previous desktop (try putting firefox on the left and gnome-terminal on the right, and then changing to desktop on the right side of current one).
And if I do application expose (super+w) then I can see programs that aren't actually on this particular desktop. Sometimes you have to click focus to the window (e.g. try gnome-terminal, evince or firefox) on the right side of the screen before switching desktops so that the focus doesn't switch. Haven't see this behavior with google-chrome though so it's not related to all programs...
And if you try to resize window with shortcuts when focus is on the window of previous desktop, then this window is brought to present desktop.

It seems that application's window borders come little bit outside of the virtual desktop area and are seen on the other virtual desktop.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in compiz (Ubuntu Oneiric):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.