Bug 479642 - Calculator widget added to panel does not react to keyboard input on opening
Summary: Calculator widget added to panel does not react to keyboard input on opening
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: calculator (show other bugs)
Version: 5.92.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression, usability
Depends on:
Blocks:
 
Reported: 2024-01-11 11:52 UTC by Patrick Silva
Modified: 2024-03-01 18:41 UTC (History)
2 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 Patrick Silva 2024-01-11 11:52:34 UTC
STEPS TO REPRODUCE
1. right-click on panel and choose "+ Add widgets..."
2. add Calculator widget to panel
3. click on the widget added to panel
4. type any number

OBSERVED RESULT
typed number does not appear in the Calculator widget

EXPECTED RESULT
keyboard input works

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-01-11 16:42:54 UTC
Can reproduce.

Niccolò, could you take a look at why it's not getting focus as it should?
Comment 2 Bug Janitor Service 2024-01-12 12:02:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/524
Comment 3 Nate Graham 2024-01-12 15:38:46 UTC
Git commit 27e43a1ad2e28dd2f3089a6100bb57257b3b65bf by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 12/01/2024 at 16:29.
Pushed by ngraham into branch 'master'.

Give the focus directly to the TextEdit component of the calculator

M  +2    -2    applets/calculator/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/27e43a1ad2e28dd2f3089a6100bb57257b3b65bf
Comment 4 Nate Graham 2024-01-12 15:42:18 UTC
Git commit 55042c704403d8e565dfd5d2b5ea079d9283d2cc by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 12/01/2024 at 16:39.
Pushed by ngraham into branch 'Plasma/6.0'.

Give the focus directly to the TextEdit component of the calculator


(cherry picked from commit 27e43a1ad2e28dd2f3089a6100bb57257b3b65bf)

M  +2    -2    applets/calculator/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/55042c704403d8e565dfd5d2b5ea079d9283d2cc