┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2021-01-06 01:38:45 +0000
committerFelix Ernst <[email protected]>2021-01-06 01:38:45 +0000
commit0cee94ce82ccb82afd0c4e22d77e251276e7a447 (patch)
treeecff9e2193de4ca82f0f99d455abd7735e850d57 /src/tests
parenta993a5979dcfde63004b2ef00c98f1fa50e07b2c (diff)
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. BUG: 429447 FIXED-IN: 21.04.0
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions