Bug 501587 - Last component of path is unnecessarily clickable
Summary: Last component of path is unnecessarily clickable
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: URL navigator (show other bugs)
Version: 6.12.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-16 15:56 UTC by postix
Modified: 2025-03-21 18:40 UTC (History)
2 users (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 postix 2025-03-16 15:56:43 UTC
SUMMARY

Open any path, where one of the directories only contain a single folder, e.g. the very last one in the hierarchy.

The icon in the address bar of this directory is clickable, but nothing happens, because there are no subfolders!
I would expect that it's not clickable in this case. 


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 postix 2025-03-16 15:58:08 UTC
The same also happens if you delete all subfolder in the terminal or in 2nd Dolphin window, but those cases I would say are very edge-like.

The one above with the last folder containing no subfolders is likely rather common.
Comment 2 Nate Graham 2025-03-21 18:07:34 UTC
Can confirm, even with https://invent.kde.org/frameworks/kio/-/merge_requests/1842.

But wasn't this the case with the old URL bar too?
Comment 3 postix 2025-03-21 18:35:42 UTC
(In reply to Nate Graham from comment #2)
> But wasn't this the case with the old URL bar too?

O, true! :)