Bug 466209 - Tab key only switches between file view and location bar in a loop once the file view gains focus
Summary: Tab key only switches between file view and location bar in a loop once the f...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.103.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: accessibility, usability
: 469285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-21 20:21 UTC by slartibart70
Modified: 2023-05-15 21:51 UTC (History)
5 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 slartibart70 2023-02-21 20:21:03 UTC
In wayland using chrome or firefox, the xdg file open dialog and save-as (using  xdg-portal) is broken when operated by keyboard

Setup:
Use  the env.Var GTK_USE_PORTAL=1 and start firefox or chromium-freeworld, then try to open a file with Ctrl-O.
The open-file Portal dialog comes up.

Problem:
- use the TAB key to navigate inside the panel (don't klick with the mouse)
- several TAB presses later you will be stuck in a loop and cannot reach other dialog elements by TAB presses

Example
1st TAB goes to filter
next to zoom
next to places
next to the buttons
next to the list-panel
next to navigation bar (there you stay for 3 subsequent TABs)
next to list-panel
and then the loop starts by going back to the navigation-bar

Interestingly, shift-TAB gets you out of the loop

Things fix-worthy:
- why this tab order? (doesn't seem logical)
- why can't i go back to the file input field or filter?
- i never reach the icons neighboring 'zoom' (new folder, options)
- i never reach other icons in the 'symbol bar'
Comment 1 slartibart70 2023-02-21 20:46:50 UTC
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz
Memory: 31,1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Comment 2 Nate Graham 2023-02-21 21:48:07 UTC
This isn't a bug in the XDG dialog; it's actually the behavior of all KDE open/save dialogs, even for apps not using XDG portals. I can reproduce it everywhere.
Comment 3 Nate Graham 2023-03-31 18:55:03 UTC
Working on this. I can also reproduce that if I hit Shift+Tab while the file view has focus, focus passes to the Cancel button. But indeed, using just the Tab key gets focus stuck in the file view itself.
Comment 4 Nate Graham 2023-05-15 21:51:58 UTC
*** Bug 469285 has been marked as a duplicate of this bug. ***