https://bugs.kde.org/show_bug.cgi?id=407486

Felix Ernst <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Felix Ernst <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to