[Breeze] [Bug 436473] Cursor is stuck to resize icon when hovering into panels across the movable dividers

Fabian Vogt bugzilla_noreply at kde.org
Tue May 18 11:14:38 BST 2021


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

Fabian Vogt <fabian at ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/breeze/commit/40d558e96d |ma/breeze/commit/ae9639f710
                   |607419b9bfaa9a706621a906bab |87ea1e5da1f6ffe29816f0ade84
                   |3e9                         |db3

--- Comment #31 from Fabian Vogt <fabian at ritter-vogt.de> ---
Git commit ae9639f71087ea1e5da1f6ffe29816f0ade84db3 by Fabian Vogt.
Committed on 18/05/2021 at 10:14.
Pushed by fvogt into branch 'Plasma/5.18'.

Fix informing the underlying widget when leaving SplitterProxy

While the SplitterProxy is active, it intercepts all relevant events, so that
the underlying widget still thinks it's in the same "on splitter" state. When
the SplitterProxy is left, the underlying widget is sent a HoverLeave/HoverMove
event to make it aware of the new current cursor position. Without this, it
doesn't know that it's not supposed to be in the "on splitter" state, and when
it regains focus it just re-activates the SplitterProxy at the current cursor
position.

This was broken by accident in d201a1f187 ("Fix SplitterProxy not clearing
when above another QSplitterHandle"), which moved the hide() call past the
call to QCoreApplication::sendEvent. Previously that made isVisible() false,
which also prevented the interception of the HoverLeave/HoverMove events.


(cherry picked from commit f99b7ef621c9c69544158d245699fd8104db6753)

M  +7    -4    kstyle/breezesplitterproxy.cpp

https://invent.kde.org/plasma/breeze/commit/ae9639f71087ea1e5da1f6ffe29816f0ade84db3

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


More information about the kfm-devel mailing list