Bug 407486 - dolphin, extended toolbar disappear. It does not allow me to click hidden buttons.
Summary: dolphin, extended toolbar disappear. It does not allow me to click hidden but...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.04.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 09:57 UTC by Massimo
Modified: 2024-05-30 22:55 UTC (History)
5 users (show)

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


Attachments
A little video that show the issue (628.21 KB, video/mp4)
2019-05-13 09:57 UTC, Massimo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo 2019-05-13 09:57:01 UTC
Created attachment 120036 [details]
A little video that show the issue

dolphin, extended toolbar disappear. It does not allow me to click hidden buttons.

STEPS TO REPRODUCE
1. add new tools buttons or resize dolphin to make appear the arrow in the upper right side.
2. Now some buttons are hidden, so you can show it by clicking the arrow
 
OBSERVED RESULT
If you try to click one of this buttons the "extended toolbar" disappear.
It's frustrating! In kate it works fine.

EXPECTED RESULT
I should clicking the tool button first the "extended toolbar" disappear.
Is not better if the toolbar always show me all tool buttons?

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-05-13 21:18:48 UTC
Can confirm in Dolphin, but not in other KDE apps. Very strange.

For me it reliably closes when the mouse passes over the place where the URL Navigator is and then leaves it, or passes over the place where the Places panel is and then enters the place where the URL Navigator is.
Comment 2 Massimo 2019-05-14 09:35:45 UTC
the same thing in manjaro kde 18.0.4 in virtualbox...
Comment 3 Akseli Lahtinen 2024-05-28 08:22:55 UTC
This seems to still be an issue. 

dolphin 24.07.70
Comment 4 Felix Ernst 2024-05-30 22:55:59 UTC
AFAIK the issue is that the location bar is implemented to have a fixed size. I did that because it was the only way to position it nicely while it actually tries to take up as much space as it can get itself. I assume the fix for this is making sure that location bars/KUrlNavigators in general don't expand to take up all the space and then move away from a fixed width approach in Dolphin, which in programming terms means:

1. In the KIO framework, calculate sizeHint() for KUrlNavigators in a way that they only want as much space as they need to show the path.
2. In the KIO framework, set the default size policy of KUrlNavigators away from QSizePolicy::MinimumExpanding.
3. In Dolphin, avoid setting a fixed size for DolphinNavigatorsWidgetAction and instead set a QSizePolicy::MinimumExpanding there so it takes up the remaining space dynamically without ever expecting more space than the toolbar has.

This is a bit of an untested assumption and I assume it might be a bit fiddly to get this right.