Bug 502813 - URL navigator triggered autofs mount resets URL navigator state
Summary: URL navigator triggered autofs mount resets URL navigator state
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: URL navigator (other bugs)
Version First Reported In: 6.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-14 23:29 UTC by Eduard
Modified: 2025-04-14 23:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduard 2025-04-14 23:29:02 UTC
SUMMARY
When navigating into a subdirectory of an autofs mount which would trigger the "real" mount, the real mount is triggered but URL navigator resets navigation state.

STEPS TO REPRODUCE
1. Mount autofs on `/smb/myremotehost/` which manages shares like `/smb/myremotehost/myshare` 
2. Open Dolphin or the load/save dialog
3. Type `/smb/myremotehost/myshare` and then
4. Type `/`

OBSERVED RESULT
After step 4., in the "remote" section of "the sidebar", an entry `/smb/myremotehost/myshare` appears. The URL navigator is reset to `/home/myuser/` but DOES display a dropdown relative to `/smb/myremotehost/myshare/`.

EXPECTED RESULT
After step 4., in the "remote" section of "the sidebar", an entry `/smb/myremotehost/myshare` appears. The URL navigator shows `/smb/myremotehost/myshare/` (note the trailing slash) with the cursor behind that slash. A dropdown relative to `/smb/myremotehost/myshare/` is displayed


SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
I assume that after typing the slash there's an attempt to autocomplete so some readdir() is triggering the mount. This is reasonable. But some feedback channel that picks up on this new mount interrupts the rest of the workflow.