Bug 70564 - Add timer to mouse up event to prevent accidental clicks
Summary: Add timer to mouse up event to prevent accidental clicks
Status: RESOLVED DUPLICATE of bug 76324
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 06:35 UTC by Sean Lynch
Modified: 2008-03-04 18:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Lynch 2003-12-16 06:35:31 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

It would be nice if there was say a 1/2 second (or second maybe) timer before the mouse button release was accepted as input.  For instance, in konq, if you select Bookmarks at the top, then release the button on one of your bookmarks, it will load it up.  This is nice, except for when you have a problem like bug 63155.  When you have a menu like this, many of time the mouse button release input will select whatever what under the mouse at the time.  

A good example of this is look at this attachment I put on another bug (http://bugs.kde.org/attachment.cgi?id=2300&action=view).  If you look, you can see the word Bookmarks behind the the bookmark's menu.  What happens is if you just click on bookmarks (not click and hold) it will flash that menu very quickly and select Free Software UI, since that was what is there directly above the Bookmark menu on konq (btw, I'm referring to the second one, if you look at the screenshot closely).

Anyways, in closing, if you added a reasonable timer to accepting the mouse release input, it could help fix the problem with these big menus (till there is a good QT patch) by not allowing the user to select something they had no time to read.
Comment 1 Dik Takken 2004-11-03 00:23:57 UTC
I was also just about to submit this bug. It's even worse than described above. Context menu's don't have an edge that is insensitive to right mouse button releases. When the user accidentally moves the mouse 1 pixel when calling a RMB menu, it often triggers a 'mouse clicked' event for the RMB menu.

Luckily, the RMB item appearing right next to the mouse pointer isn't destructive most of the time. This bug is annoying though, it leads to unexpected behavior.

It might be solved by a small edge that is insensitive to RMB releases, or a small delay.
Comment 2 Wilco Greven 2005-02-24 19:27:29 UTC
There's a patch (0060) for this in qt-copy which fixes the problem you described.
Comment 3 M 2005-02-26 18:49:01 UTC
I have also had this problem for ages. Sometimes you right-click an icon in the system tray and it just quits because somehow the mouse was near enough 'Quit' for it to be selected. Sometimes the menu randomly appears right underneath the cursor which makes the problem even worse.
Comment 4 Maksim Orlovich 2005-04-12 18:00:20 UTC
I really should add my patch for that to qt-copy

*** This bug has been marked as a duplicate of 76324 ***