Bug 505551 - On scrollable pages with list views, arrow keys scroll the page rather than moving focus between list delegates
Summary: On scrollable pages with list views, arrow keys scroll the page rather than m...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 6.3.91
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: accessibility, usability
Depends on:
Blocks:
 
Reported: 2025-06-12 22:20 UTC by Fernando M. Muniz
Modified: 2025-06-17 13:27 UTC (History)
6 users (show)

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


Attachments
Issue on Plasma 6.3.91 (6.4 Beta 2) (1.48 MB, video/x-matroska)
2025-06-12 22:20 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2025-06-12 22:20:13 UTC
Created attachment 182241 [details]
Issue on Plasma 6.3.91 (6.4 Beta 2)

1- Search for an app.
2- Try to navigate to the app with your keyboard arrow keys.

Result:
The page itself moves, instead of selecting item-by-item.
Comment 1 Nate Graham 2025-06-13 15:05:36 UTC
Can confirm. This is the result of a challenging interaction between Kirigami.ScrollablePage and the ListView inside it.
Comment 2 cwo 2025-06-13 15:51:37 UTC
(In reply to Nate Graham from comment #1)
> Can confirm. This is the result of a challenging interaction between
> Kirigami.ScrollablePage and the ListView inside it.

I think it's just the listview not having initial focus, if you tab to it, it works.
Comment 3 Bug Janitor Service 2025-06-13 15:56:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1115
Comment 4 cwo 2025-06-14 11:47:14 UTC
Git commit 056eb1584ae1b810fce11bcb4398eb9e11d7a95b by Christoph Wolk.
Committed on 14/06/2025 at 10:23.
Pushed by cwo into branch 'master'.

ApplicationsListPage: give listview default focus

The ListView on ApplicationsListPage does not have default focus, so if
something like running a search places focus on the results page, focus
gets stuck on the page itself rather than being passed down, and arrow
keys scroll the list, rather than select items.

Instead, mark the ListView as focus: true, so it'll have default focus
in the page's focusscope.
FIXED-IN: 6.4.1

M  +1    -0    discover/qml/ApplicationsListPage.qml

https://invent.kde.org/plasma/discover/-/commit/056eb1584ae1b810fce11bcb4398eb9e11d7a95b
Comment 5 Nate Graham 2025-06-17 13:27:32 UTC
Git commit 7e91ea62833482b8a50c9ec0ed0219955c4e4b09 by Nate Graham, on behalf of Christoph Wolk.
Committed on 17/06/2025 at 13:27.
Pushed by ngraham into branch 'Plasma/6.4'.

ApplicationsListPage: give listview default focus

The ListView on ApplicationsListPage does not have default focus, so if
something like running a search places focus on the results page, focus
gets stuck on the page itself rather than being passed down, and arrow
keys scroll the list, rather than select items.

Instead, mark the ListView as focus: true, so it'll have default focus
in the page's focusscope.
FIXED-IN: 6.4.1


(cherry picked from commit 056eb1584ae1b810fce11bcb4398eb9e11d7a95b)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +1    -0    discover/qml/ApplicationsListPage.qml

https://invent.kde.org/plasma/discover/-/commit/7e91ea62833482b8a50c9ec0ed0219955c4e4b09