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

--- Comment #7 from Tsu Jan <tsujan2...@gmail.com> ---
After a long search in Qt's code and finding no problem in it, I started to get
suspicious of the old dragging code of Breeze/Kvantum/QtCurve and, finally,
succeeded in replacing it with another code structure that solved the problem
in Kvantum, under both X11 and Wayland, and also under all Wayland compositors.

Long story short, with Qt ≥ 5.11, the event filter should be installed on
QWindow, not QWidget, and the mouse press event of QWindow should be "eaten up"
to start the drag (the long story is in the latest git source
'Kvantum/style/drag/windowmanager.cpp').

The same approach can be used with Breeze (and QtCurve).

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

Reply via email to