Ticket #436 (closed defect: duplicate)

Opened 14 months ago

Last modified 4 weeks ago

Focus bad behaviour with Gnome Shell 3.4

Reported by: daniele_athome Owned by: somebody
Priority: major Milestone:
Component: guake Version:
Keywords: Cc: xtranophilist@…, relive.mn@…, blog@…

Description

With Gnome Shell 3.4 (Ubuntu precise latest beta and packages, on amd64) when closing the terminal via hotkey, it remains focused, and can't be opened again until I manually focus to another window. Using git revision updated as of today. If you need more info just ask, I don't know what else I could provide.

Change History

  Changed 14 months ago by daniele_athome

The issue is present even with Yakuake so I guess it's a Gnome Shell issue. You can mark this as invalid.

  Changed 12 months ago by Igor

Same here, Gnome Shell 3.4, extremely annoying behavior.

follow-up: ↓ 4   Changed 12 months ago by xtranophilist

  • cc xtranophilist@… added

in reply to: ↑ 3 ; follow-up: ↓ 5   Changed 12 months ago by daniele_athome

Replying to xtranophilist:

Here's my fix :  http://motorscript.com/guake-patch-to-fix-focus-on-gnome/

This fix doesn't work on latest Ubuntu Precise.

in reply to: ↑ 4   Changed 12 months ago by xtranophilist

Sorry my system was Fedora 17. The solution for you should be replacing the same line with something else similar to what worked on mine. See gtk documentation for Window class and do some hit and trials.

Replying to daniele_athome:

Replying to xtranophilist:

Here's my fix :  http://motorscript.com/guake-patch-to-fix-focus-on-gnome/

This fix doesn't work on latest Ubuntu Precise.

follow-ups: ↓ 7 ↓ 8 ↓ 9 ↓ 10   Changed 12 months ago by Hador

Just for the sake of it, I tried xtranophilist's patch on ArchLinux? without success; however, following his suggestion, I came up with a different solution :

as he said, in /usr/lib/guake/guake.py look for (should be line 808):

self.window.hide() # Don't use hide_all here!

and make it look like this :

self.window.set_keep_below(True)
self.window.hide() # Don't use hide_all here!

Let me know whether that works for you as well or not :-)

H.

in reply to: ↑ 6   Changed 12 months ago by xtranophilist

Your hacks works on mine system too. Looks like this is the universal fix. Cheers!

Replying to Hador:

Just for the sake of it, I tried xtranophilist's patch on ArchLinux? without success; however, following his suggestion, I came up with a different solution : as he said, in /usr/lib/guake/guake.py look for (should be line 808): {{{ self.window.hide() # Don't use hide_all here! }}} and make it look like this : {{{ self.window.set_keep_below(True) self.window.hide() # Don't use hide_all here! }}} Let me know whether that works for you as well or not :-) H.

in reply to: ↑ 6   Changed 12 months ago by daniele_athome

Thanks Hador, but it still doesn't work. Same bad behavior.

Replying to Hador:

Just for the sake of it, I tried xtranophilist's patch on ArchLinux? without success; however, following his suggestion, I came up with a different solution : as he said, in /usr/lib/guake/guake.py look for (should be line 808): {{{ self.window.hide() # Don't use hide_all here! }}} and make it look like this : {{{ self.window.set_keep_below(True) self.window.hide() # Don't use hide_all here! }}} Let me know whether that works for you as well or not :-) H.

in reply to: ↑ 6   Changed 9 months ago by masoudd

  • cc relive.mn@… added

This solved a similar problem in cinnamon (compiled from git repo on 2012-08-19).

Replying to Hador:

Just for the sake of it, I tried xtranophilist's patch on ArchLinux? without success; however, following his suggestion, I came up with a different solution : as he said, in /usr/lib/guake/guake.py look for (should be line 808): {{{ self.window.hide() # Don't use hide_all here! }}} and make it look like this : {{{ self.window.set_keep_below(True) self.window.hide() # Don't use hide_all here! }}} Let me know whether that works for you as well or not :-) H.

in reply to: ↑ 6   Changed 8 months ago by jotbe

Replying to Hador:

Just for the sake of it, I tried xtranophilist's patch on ArchLinux? without success; however, following his suggestion, I came up with a different solution : as he said, in /usr/lib/guake/guake.py look for (should be line 808): {{{ self.window.hide() # Don't use hide_all here! }}} and make it look like this : {{{ self.window.set_keep_below(True) self.window.hide() # Don't use hide_all here! }}} Let me know whether that works for you as well or not :-)

Sabayon 10: The bugfix works as long as there is an active application. If only the desktop is visible without any open applications, the bug is triggered again.

follow-up: ↓ 12   Changed 8 months ago by jotbe

  • cc blog@… added

in reply to: ↑ 11   Changed 8 months ago by masoudd

Replying to jotbe: I just tried this on cinnamon and the exact bug happened. If all other windows are minimized the bug appears again.

  Changed 8 months ago by Maxvel

This bug appears only if "hide on lose focus" enabled.

  Changed 4 weeks ago by Dokan

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.