Bug 512898

Summary: Unselect a selected directory when moving up a directory
Product: [Frameworks and Libraries] frameworks-kio Reporter: Antti Savolainen <antti.savo>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.20.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antti Savolainen 2025-12-03 06:06:59 UTC
SUMMARY
Sometimes you select a directory to check what is inside of it and then move back up to when you decide to save there. Because the directory you entered is still selected when moving up, pressing enter will not save the file. Instead it will take the selected directory and move you to it.

STEPS TO REPRODUCE
1. Select a file for saving
2. Open a directory
3. Move one step up
4. Press Enter to save the file

OBSERVED RESULT
The directory will be entered again

EXPECTED RESULT
The file should get saved

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.18.0-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-7600U CPU @ 2.80GHz
Memory: 24 GiB of RAM (23.2 GiB usable)
Graphics Processor: Intel® HD Graphics 620
Manufacturer: LENOVO
Product Name: 20HG0003SG
System Version: ThinkPad T470s
Comment 1 Antti Savolainen 2025-12-03 06:07:48 UTC
I forgot to include the demonstrative video https://youtu.be/R-09F0_J7qc