Public bug reported:

Binary package hint: compiz

In Eclipse, the Find/Replace dialog automatically gains focus when it is
opened, or when you press Ctrl+F while it is already open. However,
Compiz considers this latter case to be focus stealing (even when focus
stealing prevention is set to "Low"), despite the fact that both windows
are part of the same app and the transfer is in response to a user
action.

Repro steps:

1) Enable Compiz, then install compizconfig-settings-manager and enable focus 
stealing prevention in System -> Preferences -> Advanced
Desktop Effects Settings -> General Options -> Focus & Raise Behaviour.
2) Install Eclipse, open it, and open an editor window.
3) Press Ctrl+F to show the Find/Replace dialog.
  => The dialog gets focus, as expected.
4) Click on the editor to transfer focus back to it.
5) Press Ctrl+F again with the Find/Replace dialog already open.
  => Although the "Find:" text field gets focus, the actual Find/Replace window
does not, so that if you try to type then the keypresses go nowhere.

Expected: When Ctrl+F is pressed, the Find/Replace window should always
get focus (except perhaps when using very strong focus stealing
prevention)

I don't know whose bug this is, so I'm opening it against both the
Eclipse and Compiz packages. I know you could argue that this is how
focus stealing prevention is supposed to work, but it is definitely a
bug to consider this focus stealing on the "Low" setting when it is so
obviously not focus stealing.

Also opened with Eclipse upstream at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235965.

Note that I have actually installed Eclipse directly from eclipse.org
(Version: 3.3.1.1, Build id: M20071023-1652), not the Ubuntu repos, but
I'm assuming that this would affect Ubuntu's package too.

$ lsb_release -rd
Description:    Ubuntu 8.04
Release:        8.04
$ apt-cache policy compiz
compiz:
  Installed: 1:0.7.4-0ubuntu6
  Candidate: 1:0.7.4-0ubuntu6
  Version table:
 *** 1:0.7.4-0ubuntu6 0
        500 http://archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

** Affects: eclipse
     Importance: Unknown
         Status: Unknown

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: eclipse (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: Eclipse bugs #235965
   https://bugs.eclipse.org/bugs/show_bug.cgi?id=235965

** Also affects: eclipse via
   https://bugs.eclipse.org/bugs/show_bug.cgi?id=235965
   Importance: Unknown
       Status: Unknown

-- 
Transfer of focus to Find/Replace dialog in Eclipse is considered focus 
stealing by Compiz
https://bugs.launchpad.net/bugs/237819
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to