Bug 386350 - Focus jumps between splits on open/close
Summary: Focus jumps between splits on open/close
Status: REPORTED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 3.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
: 356853 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-30 09:15 UTC by Michael Zanetti
Modified: 2019-01-18 20:36 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zanetti 2017-10-30 09:15:35 UTC
Steps to reproduce:
* Open yakuake with a split for 2 (or more) sessions
* input focus is in one of them
* hide yakuake
* show yakuake again

=> expected outcome:
focus should still be in the same split as before

=> actual outcome:
focus has moved to the next split

This hasn't happened with earlier versions of yakuake, but I don't know which version introduced it as I have been using the KDE-4 version of yakuake until recently. It was working fine there and in version before.
Comment 1 Eike Hein 2017-10-30 09:21:40 UTC
*** Bug 356853 has been marked as a duplicate of this bug. ***
Comment 2 David P. 2017-12-05 09:40:39 UTC
With KDE Neon 5.11.3 this bug keeps happening.
Comment 3 David P. 2017-12-05 09:41:42 UTC
I had this bug long before, since KDE 5.X.  With the right configuration, I could workaround the bug.  But now, it keeps failing again.
Comment 4 mtrm0ep2z 2017-12-08 20:12:50 UTC
I tried to debug this issue, and it only occurs when compositor animations are enabled. Focus upon showing window is switched to subsequent terminal, i.e. if active terminal was second and three terminal exists, then it third one will have a focus. If focus belong to the last terminal, then it returns to first one.
Comment 5 Luis 2018-01-24 10:49:06 UTC
(In reply to fenuks from comment #4)
> I tried to debug this issue, and it only occurs when compositor animations
> are enabled. Focus upon showing window is switched to subsequent terminal,
> i.e. if active terminal was second and three terminal exists, then it third
> one will have a focus. If focus belong to the last terminal, then it returns
> to first one.

I can confirm that this happens on Kubuntu 17.04 (yakuake 3.0.4) and that disabling compositor animations on yakuake is a workaround to this.
Comment 6 Michael Zanetti 2018-01-25 10:37:01 UTC
(In reply to Luis from comment #5)
> I can confirm that this happens on Kubuntu 17.04 (yakuake 3.0.4) and that
> disabling compositor animations on yakuake is a workaround to this.

Could you please share how to disable animations just for yakuake? This issue is driving me nuts but disabling animations for the whole desktop isn't an option either. Thanks!
Comment 7 aldo.mateli 2018-02-20 09:29:17 UTC
(In reply to Michael Zanetti from comment #6)
> (In reply to Luis from comment #5)
> > I can confirm that this happens on Kubuntu 17.04 (yakuake 3.0.4) and that
> > disabling compositor animations on yakuake is a workaround to this.
> 
> Could you please share how to disable animations just for yakuake? This
> issue is driving me nuts but disabling animations for the whole desktop
> isn't an option either. Thanks!

Uncheck "Ask the window manager to perform the animation" on yakuake settings.
Comment 8 Milos Jakubicek 2018-02-21 10:09:00 UTC
Hm, if I uncheck that, the window animation is too slow, and when I set it to ~0ms, the bug starts reoccurring (even with "Ask the window manager to perform the animation" unchecked)
Comment 9 bronko 2018-06-10 09:22:01 UTC
possible duplicate: 392929 (https://bugs.kde.org/show_bug.cgi?id=392929)
Comment 10 op 2019-01-18 20:36:27 UTC
Still an issue in Kubuntu 18.04. Disabling animation by the window manager works as a workaround.