Fullscreen terminal causes wrong windows to have focus (compiz)

Bug #173318 reported by Elias Naur
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When compiz is enabled, gnome-terminal behaves incorrectly (different from when compiz is not enabled) when in fullscreen mode (not maximized). I'm running with the latest nvidia blob (100.14.23) on a thinkpad t61 with a Nvidia Quadro NVS 140M and gutsy installed. To reproduce:

1. Start gnome-terminal and press 'f11' to go into fullscreen mode.
2. Enable compiz (System->Preferences->Appearance->Visual Effects->Normal.

Then, several incorrect behaviours can be provoked.

a) Gui programs started from gnome-terminal are not brought to front:
1. Start a program from gnome-terminal by typing its name and pressing enter (I used 'gconf-editor')

The program will launch and the gnome-terminal cursor will go hollow to indicate another program (gconf-editor) got the focus, but the gconf-editor window is not shown and you have to alt-tab to bring it to front.

b) Alt-tab to gnome-terminal will make the program switcher flicker between it and gnome-terminal:
2. Press and hold alt while pressing tab until gnome-terminal is selected.

The program switcher will flicker between visible and not visible. I've found that unchecking 'unredirect_fullscreen_windows' will work around this problem.

c) Switching focus to gnome-terminal in fullscreen mode will not hide the gnome task bar.
1. Make sure gnome-terminal is in fullscreen mode and focused on some desktop.
2. Use ctrl-alt-<arrows> to switch to another desktop and back.

or

1. Switch focus to another program while gnome-terminal is in the background.
2. Exit the program (alt-f4)

Now, the gnome-terminal will have focus (typing on the keyboard shows up in gnome-terminal), but the gnome task bar is not hidden until you click once on the gnome-terminal window.

d) Clicking a window's title bar when gnome-terminal window is in the background will make the window disappear(?)
1. Switch focus to another window while gnome-terminal is in fullscreen behind it.
2. Click on the window's title bar with the mouse

The window will disappear behind gnome-terminal.

Tags: usability
Revision history for this message
tjagoda (tjagoda) wrote :

I am unable to reproduce this bug on my Nvidia 7600 GO, following the steps described above.

Revision history for this message
Neil Munro (neilmunro-deactivatedaccount) wrote :

Nor am I.

Revision history for this message
Michael Nagel (nailor) wrote :

is this reproducible using current releases?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Revision history for this message
Elias Naur (elias-naur) wrote :

I've recently installed ubuntu 8.10. While the interaction between fullscreen gnome-terminal and compiz has improved, I'm still able to reproduce the following bugs (with a guest session to avoid my own settings to interfere):

a) Gui programs started from gnome-terminal are not brought to front:
1. Start a program from gnome-terminal by typing its name and pressing enter (I used 'gconf-editor')

c) Switching focus to gnome-terminal in fullscreen mode will not hide the gnome task bar.
1. Make sure gnome-terminal is in fullscreen mode
2. Switch focus to another program while gnome-terminal is in the background.
3. Exit the program (alt-f4)

I've attached a screenshot of my gnome-terminal after completing step 3c). Afaict, that screenshot should never be possible (no other programs are running on that desktop).

Revision history for this message
Elias Naur (elias-naur) wrote :

Sorry for being lame - the attachment is a png image without the .png extension.

Revision history for this message
Andres Mujica (andres.mujica) wrote : Re: Compiz causes wrong windows to have focus

Marking as confirmed.

Changed in compiz:
status: New → Confirmed
Revision history for this message
Andres Mujica (andres.mujica) wrote :

this should be marked as wishlist.

Elias Naur (elias-naur)
summary: - Compiz causes wrong windows to have focus
+ Fullscreen terminal causes wrong windows to have focus (compiz)
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.