Incorrect handling of window focus and keyboard input if Window Action Key is set to Disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Expired
|
Low
|
|||
Ubuntu GNOME |
Fix Released
|
Undecided
|
Unassigned | ||
Fedora |
Won't Fix
|
Medium
|
Bug Description
Focusing of a window only occurs if you click on the title bar (sometimes) but in most cases the window will only focus when you are moving the application (gnome and non-gnome) instead of any area inside of window which is the correct behaviour.
Mouse interaction works if there are drop-downs and input boxes, meaning you can select and change items with the mouse, but the window still has no focus. If the window has an input box for keyboard interaction, typing in the window after clicking the input box, redirects keyboard input to the last application that has focus.
Steps to reproduce
- Install Ubuntu Gnome
- Set Window Action Key to disabled in Gnome Tweak Tool
- Ensure Focus Mode is set to Click (default)
- Open two applications
- Try typing in one window and then the other
I have tested the following versions of Ubuntu Gnome:
14.04.1 Stock: Not affected *
14.04.1 + Main PPA: Not affected *
14.04.1 + Main + Staging PPA: Not affected *
14.10 Stock: Not affected *
14.10 + Main PPA: Not affected *
14.10 + Main + Staging PPA: Affected *^^
15.04 Stock Daily: Not affected *
15.04 Stock + Core 3.14 PPA: Affected *^
Fedora 20 with Richard Hughes Repo: Not Affected *
Fedora 21: Affected *
* Indicates test was done in a VM
^ Indicates test was done on a real hardware
Additionally, doing the following does not work as well:
- Creating a new user account and setting the Window Action Key = disabled and Focus Mode = Click . Tested only 14.10 + Main + Staging PPA.
- Setting Window Action Key = disabled and Focus Mode = Click and logging out or rebooting and logging in again. Tested only 14.10 + Main + Staging PPA.
- Restarting the Shell with ALT+F2 and then r
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: mutter 3.14.3-
ProcVersionSign
Uname: Linux 3.16.0-29-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Jan 2 13:12:45 2015
InstallationDate: Installed on 2014-03-10 (297 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in mutter: | |
importance: | Unknown → Low |
status: | Unknown → New |
description: | updated |
Changed in mutter: | |
status: | New → Incomplete |
description: | updated |
description: | updated |
description: | updated |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
Changed in mutter: | |
status: | Incomplete → Expired |
An example video.
Apologies about the mouse cursor not showing in the video. This was recorded using Virtualbox.
I was unable to activate a window if I click on the title / header bar. Alt+Tab is the only way to put focus on Gnome application or application that makes use of the header bar (gedit, nautilus etc). In the video LibreOffice Writer doesn't suffer from this to much.