SUMMARY While the location bar in Dolphin correctly adapts to the style in the "breadcrumbs" mode that's the default, it's got sort of an ugly, unstyled appearance when you switch to the "edit" mode. It can easily slip because it looks normal on the Breeze widget style, but when you turn to something else (Fusion, Windows 9x, Oxygen etc.), it's better visible. It's especially prevalent when the location bar is detached from the toolbar. It only became an issue after Plasma got ported to Qt 6, I checked an older distro which still used Qt 5 and it still looked right. STEPS TO REPRODUCE 1. Enter the Dolphin configuration, then go to "Status & location bars" in the "Interface" category. 2. Check the "Make location bar editable" box on. or 1. View > Location Bar 2. Check the "Editable location" box on OBSERVED RESULT The entry field isn't styled like it's supposed to be, instead appearing as an odd-looking white box without borders that clashes with the widget style. It only looks right on Breeze. EXPECTED RESULT The entry field should be styled after the widget theme of choice, having the correct borders. SOFTWARE/OS VERSIONS Linux/KDE Plasma: universal, tested on Debian 13, Arch Linux and CachyOS, all fully updated KDE Plasma Version: 6.6.3, though the issue has been a thing since the first version of Plasma 6 KDE Frameworks Version: 6.24.0 Qt Version: 6.11.0 ADDITIONAL INFORMATION The visual bug doesn't appear in Plasma 5, as I tested it on Kubuntu 24.04 LTS and Debian 12 and it looked fine there.
Created attachment 191099 [details] Appearance of the location bar when in the toolbar This is how the location bar appears when placed on the toolbar, presented on the Oxygen style
Created attachment 191100 [details] Appearance of the detached location bar This is how the location bar appears when detached from the toolbar, presented on the Oxygen style
Thanks for the bug report, and the screenshots. I can see what you're talking about, but I'm not able to reproduce it in Dolphin 25.12.3, nor built from git-master using any of the application styles you saw the bug with Can you let us know all of the appearance settings you changed? Thanks.
(In reply to TraceyC from comment #3) > Thanks for the bug report, and the screenshots. I can see what you're > talking about, but I'm not able to reproduce it in Dolphin 25.12.3, nor > built from git-master using any of the application styles you saw the bug > with > > Can you let us know all of the appearance settings you changed? Thanks. Was the location bar in the "breadcrumbs" mode or the text field mode? It renders right with the breadcrumbs mode, but the theming breaks when it appears as a text field.
There is also one more style that actually renders it right - the Kvantum engine. However, when the location bar is detached from the toolbar (if there's none on the toolbar, it appears below it), the background behind it uses the text field color instead the window color, this issue applies to all styles.
(In reply to Bart from comment #4) > Was the location bar in the "breadcrumbs" mode or the text field mode? It > renders right with the breadcrumbs mode, but the theming breaks when it > appears as a text field. Yes, I had tested following your steps to reproduce, with the location bar set to text mode (aka editable) Doing something slightly different, I am able to reproduce the bug on Dolphin built from git-master 1. View > Location Bar > check the "Editable location" box 2. Show Panels > uncheck "Lock panels" With panels locked, the background of the location bar changes to white in edit mode With panels unlocked, the white area is larger than the border
Git commit dad191bb92022631a2bba5675c9a0aad2b1df5d8 by Filip Fila. Committed on 03/06/2026 at 12:12. Pushed by filipf into branch 'master'. KUrlNavigator: Fix double background interference when in editable mode THE ISSUE BEING SOLVED Currently the editable mode in KIO's navigator bar isn't implemented ideally, both from a general technical point of view and from the point of view of real life visual glitches that emerge as a result. The issue is that when in editable mode, we are drawing two elements at the same time: 1) `PE_FrameLineEdit` responsible for the normal URL bar look; 2) `KUrlCombobox` that is the editable mode and that gets drawn on top of `PE_FrameLineEdit` when in editable mode. The end result with most QStyles is a glitched look, with 2 elements' backgrounds overlapping. THE PROPOSED SOLUTION We should not be drawing two elements at the same time. This MR fixes the described issue by making the `PE_FrameLineEdit` morph seamlessly into `KUrlCombobox`. I made sure that there is no bouncing around on mode switch and that spacings are correct in RTL layouts too. The end result works great with all QStyles - none of the ones I tested look glitched anymore. ____________ Related: bug 506177, bug 520249 FIXED-IN: 6.27 M +20 -19 src/filewidgets/kurlnavigator.cpp https://invent.kde.org/frameworks/kio/-/commit/dad191bb92022631a2bba5675c9a0aad2b1df5d8
Git commit 76f6eb07739290bd7e7a61946f51d7329fb75545 by Méven Car, on behalf of Filip Fila. Committed on 04/06/2026 at 08:52. Pushed by meven into branch 'master'. DolphinNavigatorsWidgetAction: Let non-Breeze QStyles style the non-toolbar navbar how they want Currently when Dolphin's location bar is moved from the main toolbar, it stops being a nice `FrameLineEdit` that QStyles can style as they please. That's because the current code is only adjusted for Breeze, which wants to fill the entire navbar frame with a plain rectangle. Unfortunately, non-Breeze styles suffer from bad looks because this Breeze design is applied for them too. In order to fix this, this MR restores the styling power back to QStyles by removing the rectangle, all the while keeping it for Breeze. | Before (Breeze) | After (Breeze) | | ------ | ------ | |{width=698 height=134} | {width=715 height=138} | | Before (Oxygen) | After (Oxygen) | | ------ | ------ | | {width=714 height=114} | {width=687 height=129} | | Before (MSWindows9x) | After (MSWindows9x) | | ------ | ------ | | {width=715 height=107} | {width=702 height=100} | | Before (Darkly) | After (Darkly) | | ------ | ------ | | {width=675 height=123} | {width=705 height=144} | | Before (Fusion) | After (Fusion) | | ------ | ------ | | {width=701 height=118} | {width=692 height=122} | | Before (Kvantum) | After (Kvantum) | | ------ | ------ | | {width=697 height=135} | {width=700 height=123} | FIXED-IN: M +6 -3 src/dolphinnavigatorswidgetaction.cpp https://invent.kde.org/system/dolphin/-/commit/76f6eb07739290bd7e7a61946f51d7329fb75545