Bug 408379 - Notes Applet in large form on panel doesn't accept keyboard focus
Summary: Notes Applet in large form on panel doesn't accept keyboard focus
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: notes (show other bugs)
Version: 5.15.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-06 11:59 UTC by Janet Blackquill
Modified: 2023-01-04 17:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Demonstrates focus issues. (228.02 KB, video/webm)
2019-06-06 11:59 UTC, Janet Blackquill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janet Blackquill 2019-06-06 11:59:52 UTC
Created attachment 120620 [details]
Demonstrates focus issues.

SUMMARY
The notes applet when the panel is large enough to have it show in its large form does not accept keyboard focus.

STEPS TO REPRODUCE
1. Make panel large enough to have notes applet in large form
2. Click on notes widget
3. Type

OBSERVED RESULT
Applet doesn't accept focus on the keyboard and input gets sent to the focused window.

EXPECTED RESULT
Applet accepts input instead of passing through to the focused window.

SOFTWARE/OS VERSIONS
Linux: 5.1.5-1 (openSUSE Default)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Comment 1 Kai Uwe Broulik 2019-06-06 12:06:07 UTC
Panels don't accept focus but I think if the applet sets its status to AcceptingInput while the text field has focus, it should work.
Comment 2 Janet Blackquill 2019-06-06 13:47:57 UTC
(In reply to Kai Uwe Broulik from comment #1)
> Panels don't accept focus but I think if the applet sets its status to
> AcceptingInput while the text field has focus, it should work.

It looks like someone did that at https://phabricator.kde.org/R114:bbd9364c5f4f95d631799e204488b7ca11617ccd, but using the applet with this change doesn't fix the bug and introduces another one. Now the panel won't ever autohide, leaving me stuck with a huge panel covering the right of my screen as I type this.
Comment 3 Kai Uwe Broulik 2019-06-06 14:00:27 UTC
You also need the following commits of plasma-workspace (in that order) for that change to work:
60ef118c92e4c33b974ec29ee3e567bcc86569bb
ed8bf8785977dab6b32025f019e446a71bf70356
f6258fa4ec69243fd638251eafeeb10af5e8c66e
Comment 4 Patrick Silva 2020-02-12 21:24:52 UTC
cannot reproduce on Plasma 5.18.
I can type in Notes widget.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 5 Nate Graham 2023-01-04 17:20:16 UTC
Yep, this was fixed with the work to allow panels to accept focus. It's working for me now.