Awn

multiple instances of applications on different workspaces; workspace focus change through Compiz Expo feature "goes unnoticed"

Bug #503106 reported by darius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Undecided
moonbeam

Bug Description

First off: Sorry for the messy report. I started understanding the bug more and more as I wrote this report, you might notice that.
This is a bug I'm experiencing since I'm working with multiple workspaces now.
The report remains valid for other applications than Firefox, that have multiple instances or windows.

My situation:
 * I have four workspaces (2x2) and I've got instances of Firefox on #1 and #2, plus various other applications
 * The task manager is set to show only windows on current workspace

 * When I'm on workspace #2 and switch from any application to Firefox, I can see the workspace switcher for a second, but it focusses the FF window on that workspace
 * When I do the same on #1, it switches to the FF window on #2, this also happens when the FF window on #1 is already focussed and I'm minimizing it. Then it minimizes FF on #1 and switches to FF on #2

This is being caused by the following actions:
 * Open Compiz' Expo feature (the Super+E thing), click on any workspace, it gains focus in Expo.
 * Leave Expo again. Now the workspace focus change is unnoticed by the task manager. You do see the windows open on this workspace, but on any action with the task-manager it changes focus back to the previously focused workspace.

* Ubuntu 9.10
* Installed via awn-developers PPA
* Compiz enabled
* Intel Mobile GM965/GL960 Integrated Graphics Controller

Mark Lee (malept)
tags: added: taskmanager
removed: task-manager
Revision history for this message
moonbeam (rcryderman) wrote :

Rev 1860 might resolve this issue (I have not had an opportunity to test it with compiz yet). Please test when it hits the ppa.

Revision history for this message
darius (dariuskellermann) wrote :

Using 0.3.9-rewrite-bzr1862-karmic1-1 now. Issue still exists.
Clicking the launcher icon, whilst the application is focused, causes AWN to switch to the instance on the respective other workspace.
Clicking the launcher icon, whilst the application is unfocused, AWN switches to the right instance if on the workspace that was focused via the Expo feature. But switches to the wrong if on the other workspace.

Is there anything I could do to help you diagnose the issue? :)

Revision history for this message
darius (dariuskellermann) wrote :

Just realized that this happens, even without previously using Compiz' Expo feature. It is enough to open two windows of one application (eg. Firefox) and one of another (eg. Evolution); then move one of the two windows to another workspace and change back to the previous. Now focus Evolution and try to switch back to Firefox using AWN. It brings Firefox windows to the front on all workspaces, but does not stay on the current.

Revision history for this message
Michal Hruby (mhr3) wrote :

@darius: Are you using the "Move to Workspace Left/Right" feature available via window menu?

Changed in awn:
status: New → Incomplete
Revision history for this message
darius (dariuskellermann) wrote :

I'm using the keyboard shortcut for "Move Window one workspace to the left/right". But this also happens, when I start the window on the new workspace, using AWN.

Revision history for this message
Michal Hruby (mhr3) wrote :

It'd be very helpful if you could make a screencast of what you're seeing, I do see issues with "Move to Workspace..." but that's something we cannot fix in Awn. Still, we might be able to fix some of the other issues.

Revision history for this message
darius (dariuskellermann) wrote :

Here you are. I hope it's useful. Please note that I change the workspace twice manually, the first time when I'm opening Firefox on the second one and the second time after switching works fine on the second workspace and I switch back to the first.

Revision history for this message
moonbeam (rcryderman) wrote :

Thanks for the screencast. My guess is we need to check for in viewport where it's currently just checking for in workspace. I'll probably have time to attempt another fix for it by the weekend.

Revision history for this message
moonbeam (rcryderman) wrote :

Rev 1892 _may_ resolve this issue. Please test once it becomes available.

moonbeam (rcryderman)
Changed in awn:
status: Incomplete → In Progress
Changed in awn:
assignee: nobody → moonbeam (rcryderman)
Revision history for this message
darius (dariuskellermann) wrote :

This one is fixed! Great work, thanks for resolving this.

moonbeam (rcryderman)
Changed in awn:
status: In Progress → Fix Committed
milestone: none → 0.4.0
Mark Lee (malept)
Changed in awn:
status: Fix Committed → Fix Released
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.