Bug 342638 - Yakauke doesn't retract properly when you press F12
Summary: Yakauke doesn't retract properly when you press F12
Status: RESOLVED DUPLICATE of bug 336228
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: Git (Frameworks 5)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 20:32 UTC by perrantrevan
Modified: 2016-03-01 10:09 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description perrantrevan 2015-01-08 20:32:32 UTC
I have yakuake-frameworks-git installed from AUR.  

I set it to retract when it loses focus. Pressing F12 correctly opens the program but pressing F12 again doesn't retract it. What happens is that it seems to retract and open again so quickly that it is barely noticeable.

This only happens if I choose the option for the window manager (kwin_x11) to perfom the animation.
Comment 1 Kai Uwe Broulik 2015-01-10 23:35:55 UTC
I've seen that two where pressing F12 sometimes doesn't bring it to the front if it's still opened, or not retracting and expanding it right away, or it not closing when it loses focus, etc. It has improved quite a lot recently but is still glitchy at times.
Comment 2 Eike Hein 2015-01-10 23:50:58 UTC
There's also the whole thing where it will close and open again when you do it while the cursor is inside the window. There's definitely something buggered there - but please do keep in mind it's an unreleased git branch version. I just haven't had any time to polish it up so far.
Comment 3 sseba89 2015-11-02 22:44:50 UTC
Same thing here in a plain installation of plasma 5.4 on archlinux.

Is there any workaround?  (i really use a lot yakuake, and its quite annoing when it does not hide)
Comment 4 Luca Giambonini 2015-11-05 09:13:50 UTC
Confirmed on Chakra with plasma 5.4 and yakuake with latest git branch=frameworks.
You can open yakuake with F12 correctly, but if the mouse is inside the yakuake window can't be closed with F12, I have to move the mouse outside the window and then it works.
Comment 5 Luca Giambonini 2015-11-07 18:56:26 UTC
I add one more thing that can help to isolate the problem,
this issue happens only when the option "keep window open when it loses focus" is not active.
Comment 6 Olivier Churlaud 2015-12-20 09:20:09 UTC
I put some debug lines in the toggleWindowState and changeEvent.

What happens his that F12 triggers both at the same time. So it hides and then shows again it directly.

Also when it seems to work, hiding the window (with F12) does:

1) activationChange: hide
2) F12 captured: show
3) activationChange: hide
 >>> So it's hidden.

"keep window open when it loses focus" is not active:
1) activationChange: hide
2) F12 captured: show
>>> So it's still visible.
Comment 7 Rémi Verschelde 2016-01-17 14:07:42 UTC
I think this bug is a duplicate of bug 336228 (or reciprocally, the bug triagers can keep the one with the most useful debugging info/bug diagnostic).
Comment 8 Eike Hein 2016-03-01 10:09:01 UTC

*** This bug has been marked as a duplicate of bug 336228 ***