Bug 425378

Summary: Text field of "Add source" popup should be focused on opening
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: minor CC: aleixpol, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.20
Sentry Crash Report:

Description Patrick Silva 2020-08-15 13:01:17 UTC
STEPS TO REPRODUCE
1. open Discover
2. click on "Settings" in the sidebar
3. click on "Add source" button

OBSERVED RESULT
a popup opens and we need to click on the text field before start to type
or paste something

EXPECTED RESULT
text field should automtically be focused when the popup opens

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Comment 1 Bug Janitor Service 2020-08-18 20:14:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/23
Comment 2 Nate Graham 2020-08-19 15:28:30 UTC
Git commit c4e35e1bedf17e64fb106089bd7668d035f5599f by Nate Graham.
Committed on 19/08/2020 at 15:28.
Pushed by ngraham into branch 'master'.

Focus text field in "Add source" dialog by default
FIXED-IN: 5.20

M  +6    -0    discover/qml/AddSourceDialog.qml

https://invent.kde.org/plasma/discover/commit/c4e35e1bedf17e64fb106089bd7668d035f5599f
Comment 3 Patrick Silva 2020-11-29 11:21:49 UTC
it's reproducible again on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.1
Comment 4 Nate Graham 2020-11-29 15:12:43 UTC
Argh
Comment 5 Patrick Silva 2021-04-09 14:36:53 UTC
Fixed on neon unstable. :)

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Graphics Platform: Wayland