Summary: | Directory picker inappropriately falls back to $HOME in when using enter key to make selection after clicking non-reactive area in left pane | ||
---|---|---|---|
Product: | [Plasma] plasma-integration | Reporter: | thatkles |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | dolphin-bugs-null, kdedev, nate |
Priority: | NOR | ||
Version First Reported In: | 6.3.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
thatkles
2025-03-01 11:13:15 UTC
Sorry, forgot the version info: Operating System: EndeavourOS KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 This is working as expected for me on current git master. Can I ask you to attach a screen recording that shows it happening? Thanks a lot! Here's a video. I recorded it in my C# program, but the same thing will happen in Kate (though I don't want to use Kate to demonstrate due to #500892). https://www.youtube.com/watch?v=dHnxcdj71M8 (In reply to thatkles from comment #3) > Here's a video. I recorded it in my C# program, but the same thing will > happen in Kate (though I don't want to use Kate to demonstrate due to > #500892). > > https://www.youtube.com/watch?v=dHnxcdj71M8 Oh, just so it's clear, my program is appending "/dictionary/dictionaryenemyskilldata.tbl" to the string, hence why it's not just showing my home path in the error message. Thanks. Are you able to reproduce this issue with System Settings > Wallpaper > Wallpaper type > Slideshow > Folders > Add… ? (In reply to Nate Graham from comment #5) > Thanks. > > Are you able to reproduce this issue with System Settings > Wallpaper > > Wallpaper type > Slideshow > Folders > Add… > > ? Yes. https://www.youtube.com/watch?v=GSTsMTJ8GkY Thank you! That's exactly what I'm doing on current git master, and it works fine. Strange. I tested this on git-master with Kate's "Open Folder" dialog and I am not able to reproduce the bug with that I clicked on a folder "Documents" under Places and observed: - The highlighted folder changed correctly - The path shown near the OK button correctly switched to /home/user/Documents Then, I pressed Enter and the Documents folder was opened as expected On your system, (In reply to thatkles from comment #6) > (In reply to Nate Graham from comment #5) e you able to reproduce this issue with System Settings > Wallpaper > > > Wallpaper type > Slideshow > Folders > Add… > Yes. https://www.youtube.com/watch?v=GSTsMTJ8GkY Thanks for that screen recording, this was very helpful. This I *am* able to reproduce after noticing a few details in the video. In the Add dialog, I noticed in the folder /home/user/Pictures is automatically selected in the right hand pane, and the folder path reflects this as well I had to click on an empty / non-responsive area on the left pane to trigger the bug. If I click on any actual folder, it works as expected After clicking a blank area under the Devices section, I saw the highlighted folder and path still reflected ~/Pictures When I pressed Enter, the folder that was added was $HOME (In reply to TraceyC from comment #8) > Thanks for that screen recording, this was very helpful. > This I *am* able to reproduce after noticing a few details in the video. > In the Add dialog, I noticed in the folder /home/user/Pictures is > automatically selected in the right hand pane, and the folder path reflects > this as well > I had to click on an empty / non-responsive area on the left pane to trigger > the bug. If I click on any actual folder, it works as expected > After clicking a blank area under the Devices section, I saw the highlighted > folder and path still reflected ~/Pictures > When I pressed Enter, the folder that was added was $HOME I would also like to note that you don't necessarily need to click on that pane. If I click the "Add..." button in the Wallpapers settings, it will pre-populate the path with $HOME/Pictures, but if I immediately press enter, without click anything, it will select $HOME instead. This is also the behaviour I observed in my C# program, which also pre-populates the path with a directory passed by the program. |