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

Martin Flöser <mgraess...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/4e9456a857234fe7884cae6aa
                   |                            |1cec93093fdf525
   Version Fixed In|                            |5.10.4

--- Comment #7 from Martin Flöser <mgraess...@kde.org> ---
Git commit 4e9456a857234fe7884cae6aa1cec93093fdf525 by Martin Flöser.
Committed on 06/07/2017 at 17:12.
Pushed by graesslin into branch 'Plasma/5.10'.

[platforms/x11] Fix incorrect screen edge approaching with switch desktop on
window move

Summary:
There is a regression in WindowBasedEdge::soStopApproaching. Due to
only operate when the edge activates for pointer it is possible that
the cursor polling stays active. Explaining the situation:

1. Activate switch desktop when moving window
2. Start moving a window
3. Move mouse into the approach geometry
-> doStartApproaching activates as we are moving a window
4. stop moving window
-> doStopApproaching early exits as the position does not activate for
   pointer any more - we are not moving a window
-> cursor polling is still connected and whenever mouse enters edge
   approaching is started

The analysis shows that the check whether activates for pointer is wrong
in the case of stop approaching. If the edge started to approach, we also
need to stop approaching.

This change addresses the problem by turning the check into whether the
connection for cursor position update is set.

This is the third bug fix to the X11 screen edge handling after
introducing touch screen edges. This needs more manual testing by
everybody in the Plasma team who is still using X11.
FIXED-IN: 5.10.4

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D6467

M  +7    -5    plugins/platforms/x11/standalone/edge.cpp
M  +1    -0    plugins/platforms/x11/standalone/edge.h

https://commits.kde.org/kwin/4e9456a857234fe7884cae6aa1cec93093fdf525

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

Reply via email to