Bug 190721

Summary: resizing panel fails with fast mouse movements
Product: [Plasma] plasma4 Reporter: Alan Jenkins <alan.christopher.jenkins>
Component: panelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: christiandehne, echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alan Jenkins 2009-04-26 17:19:00 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Here's the most reliable way to demonstrate this:
- First resize the panel so it's nice and big.
 - Now resize it by clicking on "Height" (or "Width") as normal, and dragging the mouse all the way to the screen edge in one smooth motion.

Expected result: panel shrinks to the minimum possible size
 Actual result: panel only responds to the first mouse event, which shrinks it slightly. By the time it has redrawn itself fully, my mouse cursor has reached the bottom of the screen. The panel does not shrink to the minimum possible size.

It looks as if the panel drops the mouse events which occur while it is being redrawn.
Comment 1 Christian Trippe 2009-04-30 09:27:15 UTC
I have similar experience. Resizing the panel worked very nice with KDE 4.1. But with KDE 4.2 it very difficult to change the height, as it stops to follow the mouse at some point. This happens with compositing enabled and disabled.
Comment 2 Jonathan Thomas 2009-07-15 20:27:37 UTC
Confirming in KDE 4.2.96.
Comment 3 Marco Martin 2010-05-22 11:33:59 UTC
SVN commit 1129409 by mart:

grab the cursor while resizing
BUG:190721


 M  +2 -4      panelcontroller.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1129409