Consider setting default for "Focus prevention windows" to false

Bug #1403140 reported by Doug McMahon
88
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Compiz
Confirmed
Low
Unassigned
compiz (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Is the current default of "low" actually doing anything positive?
Two examples of where low interferes & "Off" produces expected behavior

Download something in Firefox
Go > expose FF dropdown for downloads
R. click on the dl > Open containing folder
Folder opens but with out focus

With a nautilus window open open a terminal
run nautilus --new-window
new nautilus window opens but not on top or in focus

With the option set to Off the 2 above examples work as expected

Also may be behind Bug #1437764

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: compiz 1:0.9.12.0+15.04.20141120-0ubuntu3
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.15-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CurrentDesktop: Unity
Date: Tue Dec 16 11:58:27 2014
InstallationDate: Installed on 2014-11-16 (30 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141114)
PackageArchitecture: all
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
tags: added: compiz-0.9
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Deragon (deragon) wrote :

Agree. One can follow a discussion about this at: http://ubuntuforums.org/showthread.php?t=2256777

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It's a non-ideal default configuration.

Changed in compiz (Ubuntu):
importance: Undecided → Low
Doug McMahon (mc3man)
tags: added: trusty-lts
description: updated
Revision history for this message
Sb (sb56637) wrote :

Wow, nice catch. This makes Unity 7 work 100 times better for me now, and it solves some additional bugs in addition to the ones mentioned above:

- Nautilus copy progress window doesn't hide or get lost altogether
- Apps that were hidden into the system tray (Clementine, SpiderOak, Pidgin, etc.) used to restore to the dock, but not actually appear if another app was maximized. This required restoring and then clicking on the dock icon to actually make it visible. With focus prevention set to off it works correctly.

Revision history for this message
Sb (sb56637) wrote :

And another:

- I always had trouble with multiple windows of the same application, i.e. Firefox or Nautilus, upon clicking the dock icon and from there selecting the desired window in the overview spread, it would never appear on top if another one was maximized until I *again* clicked on the dock and *again* clicked on the desired window in the overview spread. Now with focus prevention turned OFF it all works perfectly.

This is like a major new bugfix release of Unity 7 now, resolving all the major annoyances I had with Unity... Thumbs up!

Revision history for this message
Doug McMahon (mc3man) wrote :

And the shame of it is it would only take a min. to add to debian/patches/ubuntu-config.patch a section changing the default of 1 (Low) to 0 (Off)

   <option name="focus_prevention_level" type="int">
   <_short>Focus Prevention Level</_short>
   <_long>Level of focus stealing prevention</_long>
   <min>0</min>
   <max>4</max>
   <default>1</default>
   <desc>

Changed in compiz:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sb (sb56637) wrote :

Related bug #1477068

tags: added: trusty
tags: added: wily
Doug McMahon (mc3man)
tags: added: xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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