Bug 431232 - Applets and Yakuake suddenly stop accept keyboard input
Summary: Applets and Yakuake suddenly stop accept keyboard input
Status: RESOLVED DUPLICATE of bug 428213
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-06 17:18 UTC by David
Modified: 2022-02-11 19:01 UTC (History)
3 users (show)

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


Attachments
Video of input bug (2.12 MB, video/mp4)
2021-05-13 21:54 UTC, Johannes Claesson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-01-06 17:18:32 UTC
Oftentimes, the keyboard input functionality will suddenly stop working on widgets. I don't know what causes it, but the following apps/widgets will stop receiving any keyboard input: application launcher (the button with functionality resembling what happens when you press the windows key on windows systems), clock/calendar widget, yakuake, while the sticky notes still continue to accept input.

Restarting plasmashell doesn't fix it, nor does restarting kwin.

Has been happening since several versions ago.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-01-07 18:58:35 UTC
I periodically experience this too. It's very annoying. I have no idea how to trigger it though. I've only noticed it affecting Plasma applets though.

When you hit this, does it affect all KDE apps, or just some? Does it affect GTK apps too?
Comment 2 David 2021-01-08 19:56:53 UTC
I haven't noticed any GTK app being affected. This only affects widgets as far as I can tell.
Comment 3 Nate Graham 2021-01-08 20:46:40 UTC
Just Plasma applets or some KDE apps too?
Comment 4 David 2021-01-08 20:54:07 UTC
I'm not sure which are considered applets and which are considered apps. As far as I can tell it only affects the ones in the description (application launcher, clock/calendar, yakuake).

But I don't use many apps or widgets so other things might also be affected. From what I can tell, KSysGuard (KDE app), RStudio (QT app), and SubLime (GTK), which are full windowed apps, are not affected.
Comment 5 Nate Graham 2021-01-08 21:38:28 UTC
Yakuake is an app too. Odd. No idea what to do with this.

Are you using Wayland or X11?
Comment 6 David 2021-01-08 22:40:46 UTC
This is in X11.
Comment 7 Nate Graham 2021-01-09 01:55:26 UTC
I genuinely have no idea how to triage this.

If it was just Plasma applets, I'd send it to plasmashell. But if Yakuake (and only Yakuake) is also affected, then I have no idea, because its input doesn't go through Plasma. Feels like a deeper issue in the input stack somewhere.

Sending to plasmashell anyway so people smarter than me can suggest something more intelligent.
Comment 8 Johannes Claesson 2021-05-13 21:54:07 UTC
Created attachment 138396 [details]
Video of input bug
Comment 9 Johannes Claesson 2021-05-13 21:58:42 UTC
Think that this is perhaps related to returning from sleep mode. At least that's when I think I've seen it. Seen the issue with krunner, application launcher search, and yakuake. Possibly that other plasma applets are affected too. Browser is never affected, for example.

Also think it is a duplicate of:
https://bugs.kde.org/show_bug.cgi?id=427921
and thus unrelated to wayland/x11
Comment 10 David 2021-05-13 22:26:27 UTC
(In reply to Johannes Claesson from comment #9)
> Think that this is perhaps related to returning from sleep mode. At least
> that's when I think I've seen it. Seen the issue with krunner, application
> launcher search, and yakuake. Possibly that other plasma applets are
> affected too. Browser is never affected, for example.
> 
> Also think it is a duplicate of:
> https://bugs.kde.org/show_bug.cgi?id=427921
> and thus unrelated to wayland/x11

I have a system with sleep and hibernation disabled and still experience this bug.
Comment 11 Nate Graham 2021-08-31 18:26:01 UTC
Did yo by any chance close IBus on a system that had it active by default? If so, this is Bug 417994.
Comment 12 David 2021-08-31 18:37:33 UTC
Sorry, just noticed it is indeed a duplicate of 417994. However, in the past it used to happen without ibus too. Haven’t had this happen anymore unless ibus is involved though.
Comment 13 Nate Graham 2021-08-31 19:16:44 UTC

*** This bug has been marked as a duplicate of bug 417994 ***
Comment 14 Nate Graham 2022-02-11 19:01:20 UTC

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