[dolphin] [Bug 429447] URL Navigator has only half of the available width

Felix Ernst bugzilla_noreply at kde.org
Wed Jan 6 01:38:51 GMT 2021


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

Felix Ernst <fe.a.ernst at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |21.04.0
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/commit/0cee94ce8
                   |                            |2ccb82afd0c4e22d77e251276e7
                   |                            |a447

--- Comment #22 from Felix Ernst <fe.a.ernst at gmail.com> ---
Git commit 0cee94ce82ccb82afd0c4e22d77e251276e7a447 by Felix Ernst.
Committed on 06/01/2021 at 01:38.
Pushed by felixernst into branch 'master'.

Fix location bar being wrongly aligned on first startup

When starting Dolphin the very first time, the spacing in front of the
location bar is wrong. This commit fixes this by completely updating
all cached geometry every time adjustSpacing() is called. Because this
happens once on a timer 100 ms after every url change, it will happen
once shortly after the window is shown. At that point all geometry is
where it should be and spacing calculation works as expected.

The ViewContainer geometry retrieval is refactored into a small nested
helper class in DolphinNavigatorsWidgetAction by the name
ViewGeometriesHelper.

Previously the logic of that class was divided between DolphinTabPage
and DolphinNavigatorsWidgetAction.
FIXED-IN: 21.04.0

M  +128  -88   src/dolphinnavigatorswidgetaction.cpp
M  +58   -20   src/dolphinnavigatorswidgetaction.h
M  +5    -29   src/dolphintabpage.cpp
M  +0    -5    src/dolphintabpage.h

https://invent.kde.org/system/dolphin/commit/0cee94ce82ccb82afd0c4e22d77e251276e7a447

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list