I have this problem with at least GIMP, Metacity or Mutter, and Nautilus
or Nautilus Elementary.
When I first double-click an XCF file and GIMP is not running, then GIMP
starts and its windows are raised and focused. If I then go to a folder
and open another XCF file - with GIMP still running - the XCF file is
opened in an unfocused window underneath the folder window and its task
bar button pulses. Between the second click of the double-click and a
few moments after the new window appears, I neither type nor click.

This happens with applications other than GIMP, but I don't recall which
ones. I've not exhausted the combinations of apps, Metacity or Mutter,
and Nautilus or Nautilus Elementary. I've tried both "smart" and
"strict" as options for "focus_new_windows" and the behavior is the
same.

As I recall, and it's been more than 5 years, the file manager should
pass the timestamp of the second click in the double-click to the
application with which the file will be opened. The application should
either call XSetInputFocus using that timestamp or use some EWMH request
with the timestamp or both to have the window raised and focused. Focus
should only change if no button presses or key presses have occurred
since the double-click.

Because this bug could be a failure on the part of any of the three
applications involved (launcher, new window maker, window manager), I'm
not sure it's actually a Metacity bug.

-- 
double click in file from my desktop folder open the application, but focus is 
not in new application.
https://bugs.launchpad.net/bugs/70951
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