Summary: | URL/Location bar truncates path when exiting edit mode with Escape key | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Blazer Silving <breakingspell> |
Component: | URL navigator | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdedev, kdelibs-bugs-null, nate, postix, prettyvanilla |
Priority: | NOR | ||
Version First Reported In: | 6.11.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/5c549676f827fc3e87a7e7d500310bdd43df0d8e | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Location bar path truncation |
Description
Blazer Silving
2025-03-18 01:02:38 UTC
Confirmed on 6.3.3 as well as git-master Can confirm, and will be fixed by https://invent.kde.org/frameworks/kio/-/merge_requests/1842. MR https://invent.kde.org/frameworks/kio/-/merge_requests/1842 is actually unrelated to this one. The bug has been present for some time, not new to frameworks 6.12.0. I suspect it's simply because `Key_Escape` is not defined. So you can still reproduce it with that merge request? I could not when I tested it. *** Bug 500254 has been marked as a duplicate of this bug. *** > So you can still reproduce it with that merge request?
Yes, this is built against latest commit in that MR and I can reproduce. Gif attached to better illustrate.
Wasn't aware there was a bug open already btw, sorry!
Created attachment 179640 [details]
Location bar path truncation
I'm also able to reproduce this with Dolphin from git-master and kio built from https://invent.kde.org/frameworks/kio/-/merge_requests/1842. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1946 Git commit 5c549676f827fc3e87a7e7d500310bdd43df0d8e by Kai Uwe Broulik. Committed on 24/07/2025 at 14:53. Pushed by broulik into branch 'master'. KUrlNavigator: Set fixed width size policy on badge container Otherwise when toggling modes the badge container might grow to cover the entire width of the url navigator, throwing off the remaining size calculation when placing buttons, ultimately causing all but the last buttons to be hidden. M +1 -0 src/filewidgets/kurlnavigator.cpp https://invent.kde.org/frameworks/kio/-/commit/5c549676f827fc3e87a7e7d500310bdd43df0d8e |