Bug 452969

Summary: Back and forwards buttons on mice (and keyboards) cannot be used to navigate up or down the directory tree until manually traversed
Product: [Frameworks and Libraries] frameworks-kio Reporter: redashesyellowflowers
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.93.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description redashesyellowflowers 2022-04-25 01:51:11 UTC
SUMMARY
***
Noticed in both KDE Neon 20.04 and Fedora 35: I can't use the back and forwards buttons on mice (and keyboards) to navigate up or down the directory tree, until I manually use the `Go Up` button in KDialog. 
***


STEPS TO REPRODUCE
1. Open any browser and try to save a file. You will be directed to KDialog.
2. (Assuming you are unhappy with the directory shown), try to use the back button on your mouse to move "back" or up the directory tree. Try using the forward button to move "forward" down the directory tree. 
3. This does not work.
4. However, if you manually press the `Go Up` button in KDialog to traverse up the tree, now the back and forward keys start to work; using these buttons, you can traverse only the length of the tree which you managed with the `Go Up` button.
5. Why wait until the directory tree has been manually traversed to enable mouse/keyboard button traversal?

OBSERVED RESULT
I can't use the back and forwards buttons on mice (and keyboards) to navigate up or down the directory tree, until I manually use the `Go Up` button in KDialog.

EXPECTED RESULT
Immediately on opening KDialog, I don't expect the "forwards" button to work. However, there is only one path for the "back" button to take, so I do expect the "back" button to work in traversing up the directory tree. Once I move up the tree by at least one level, I expect the "forwards button to work in moving down the tree. When moving down the tree, disregard all other possible paths; assume the desired path is same as the one the "back" button has taken.

I believe this is how it works in Windows.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 20.04; Fedora 35
(available in About System)

[Fedora KDE 35 Version Numbers Below]
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-04-25 16:58:04 UTC
The back and forward actions let you navigate back and forwards in your navigation history. But until you navigate somewhere (e.g. using the "go up" action) there is no history to navigate between, so the history buttons are disabled.