Summary: | Terminal not regaining focus after renaming session | ||
---|---|---|---|
Product: | [Applications] yakuake | Reporter: | davenewza <sanodn> |
Component: | general | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, bugzilla, dataforce, goldsaturn25, hyacinthe.cartiaux, sgmoore, zonker.dinger |
Priority: | NOR | ||
Version: | Git (KDE Platform 4) | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/yakuake/commit/dd60b75c811fc26e711193e34f5f895aa33b2526 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Patch that fixes the renaming issue |
Description
davenewza
2019-06-06 06:36:09 UTC
I have exactly the same problem. After renaming a session/tab (either with a shortcut or through the context menu of the session) and pressing enter the terminal doesn't regain the keyboard focus. Typing on the keyboard has no effect. I have to left-click with the mouse somewhere in the terminal area for it to regain the keyboard focus and to receive text input again. Yakuake's behaviour in this regard used to be different. I can remember that terminal automatically received focus again after renaming its session. This seems to be a regression. SOFTWARE/OS VERSIONS Gentoo Linux Yakuake 3.0.5 Plasma 5.15.5 QtCore 5.12.3 *** Bug 410524 has been marked as a duplicate of this bug. *** *** Bug 412385 has been marked as a duplicate of this bug. *** I've created a patch that fixes this issue. I'm running Yakuake for few weeks using the fix by now and it works great, all renaming problems are fixed for me. I've submitted the patch to the KDE team using the Phabricator. I will attach the patch to this issue too, just to be sure. Created attachment 123548 [details]
Patch that fixes the renaming issue
cannot reproduce with yakuake 19.12.2. I can type in terminal after renaming a tab/session via shortcut or option from context menu. Operating System: Arch Linux KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1 Confirmed, the bug doesn't occur in Yakuake 19.12.2 anymore. The terminal automatically gains keyboard focus after being renamed. Git commit dd60b75c811fc26e711193e34f5f895aa33b2526 by Maximilian Schiller. Committed on 13/06/2020 at 10:58. Pushed by mschiller into branch 'master'. Reraise the active sesson after renaming a session This patch gives focus back to the currently active terminal after renaming a session with either the context menu or the shortcut. Whenever a tab title is edited signal to the sessionstack to raise the active session. M +3 -0 app/mainwindow.cpp M +2 -0 app/tabbar.cpp M +1 -0 app/tabbar.h https://invent.kde.org/utilities/yakuake/commit/dd60b75c811fc26e711193e34f5f895aa33b2526 |