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

Fabian Vogt bugzilla_noreply at kde.org
Mon Nov 23 16:57:18 GMT 2020


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

--- Comment #10 from Fabian Vogt <fabian at ritter-vogt.de> ---
I see that the code is using mapToGlobal quite liberally. Note that mapToGlobal
really uses global screen coordinates, which aren't reliable and shouldn't be
used for such calculations.

I set a breakpoint at followViewContainerGeometry and it's called even before
the window is visible, so mapToGlobal will return wrong values as there's no
window yet. That might be the cause of this.

It probably works for resizes because the window is visible at that point and
the stored window size might just trigger a resize event with similar effect.

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


More information about the kfm-devel mailing list