Bug 377323 - Poor mouse movement implementation
Summary: Poor mouse movement implementation
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: mouse actions (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-07 07:37 UTC by bobert.campbell
Modified: 2017-03-08 16:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bobert.campbell 2017-03-07 07:37:24 UTC
It seems to queue up all mouse movement messages and process every message.  For me this can result in 10 second delays when I sweep my mouse across an application that draws tool tips and the like.

This happens to me on the plasma task manager widget and several apps include VLC.  I can slowly watch all the mouse movement messages get processed.  This is resulting in a horrendous user experience.

This reeks of poor implementation.  I'm pretty sure the correct way to handle mouse movement is to set a flag when the mouse is moved and when you are able to then process it and get the current mouse location.  That way by the time you are processing the message, if your system has been busy, you are only processing the latest mouse movement message and that is it, the rest should be ignored, except for any message preceding a click.
Comment 1 bobert.campbell 2017-03-07 07:39:28 UTC
This would also drastically reduce general cpu processing time for systems that are slow enough to build up mouse move messages, and they are the ones that really need it.
Comment 2 Christoph Feck 2017-03-08 16:22:23 UTC
Plasma 4 is no longer maintained. If you are still seeing this issue with Plasma 5, please add a comment with exact Plasma and Qt versions. You can start 'kinfocenter' to find them.