After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676103 - Guake window doesn't loose focus when closed
Guake window doesn't loose focus when closed
Status: RESOLVED NOTGNOME
Product: gnome-shell
Classification: Core
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-05-15 14:42 UTC by Sergey Zolotarev
Modified: 2014-09-21 05:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sergey Zolotarev 2012-05-15 14:42:22 UTC
If you open guake terminal via a hot key (F12 by default) and then close it using the same key the window somehow keeps focused and it's impossible to open it again without clicking on another window or blank desktop space. 

Someone else has reported this issue at guake bugtracker by someone else: http://guake.org/ticket/436
Comment 1 Milan Bouchet-Valat 2012-05-15 14:53:46 UTC
What do you mean by "impossible to open again"? How do you try to start it? What happens? Are there messages if you start it from a terminal? Have you checked with Unity/fallback mode that it doesn't happen?
Comment 2 Sergey Zolotarev 2012-05-15 15:13:20 UTC
OK it seems I missed some stuff while was editing my initial post. 

By impossible to open I mean it doesn't open if I press the assigned hotkey again. There are no messages, even if I start guake from terminal. It just happens to ignore me. I can't check if it works in Unity right now as I broken it somehow (messed something with compiz) but it used to work fine last time I ran Unity. It works well in GNOME Classic as well. 

Also I haven't notice this issue in an alpha release of Ubuntu 12.04 one or two months ago.
Comment 3 Milan Bouchet-Valat 2012-05-15 15:32:22 UTC
Could you run guake in gdb the second time, type "t a a bt" and attach the result here? You need to install debugging symbols for it first.
Comment 4 Sergey Zolotarev 2012-05-15 15:47:46 UTC
But it's a python script, how do I run it in gdb? And how is that helpful? It doesn't crash or something.

Normally if I open a window on top of another one and then close it, the previous window gets its focus back, right? But this doesn't work to guake.
Comment 5 Milan Bouchet-Valat 2012-05-15 15:57:34 UTC
(In reply to comment #4)
> But it's a python script, how do I run it in gdb? And how is that helpful? It
> doesn't crash or something.
Ah, sorry, I don't know guake at all.

> Normally if I open a window on top of another one and then close it, the
> previous window gets its focus back, right? But this doesn't work to guake.
Now that I had a look, I understand guake might be doing strange things with windows. It probably does not close its window, but make it invisible, or very small... I guess you'd better find a guake developer to come discuss this here. Else, it will be hard to find out what really happens behind the scenes.
Comment 6 Sergey Zolotarev 2012-05-15 16:05:28 UTC
I must admit that it works as expected when I Quit guake via the context menu entry.  Seems like it doesn't actually close the window, as you noticed. 

The project seems inactive active (last release dated in 2010 - http://projects.comum.org/guake/downloads) so I guess it's useless to expect them to look into this. 

Thank you anyway and sorry for disturbing.
Comment 7 Dipesh Acharya 2012-06-01 01:59:01 UTC
Here's my fix :  http://motorscript.com/guake-patch-to-fix-focus-on-gnome/