#1396 Double-Button-1 not detected

obsolete: 8.4.1
open-works-for-me
5
2003-07-31
2003-01-31
No

I discovered a situation where Double-Button events are
not detected.
Basically, if the widget hierachy is sufficiently deep
enough, physical events get lost before a Double,
Triple, etc., events can be detected.

Making the event ring larger solves the problem, but I
think this just postpones the issue and might have the
side effect of slowing down event processing on slower
machines.

The problem can be demonstrated with the attached code.
Double clicking on the window should produce a
Button-1, ButtonRelease-1, and Double-Button-1 message,
which it does as long as the hierarchy depth is small
(~12).

Before you argue that this kind of widget depth is
ludicrous, it's quite possible when using something
like incrTk, building up megawidgets from other
megawidgets.

-Brian

Discussion

  • Brian Griffin

    Brian Griffin - 2003-01-31

    test case

     
  • Brian Griffin

    Brian Griffin - 2003-01-31

    Logged In: YES
    user_id=22949

    I don't know what happened to the attachment???

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2003-07-17
    • status: open --> pending-works-for-me
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2003-07-17

    Logged In: YES
    user_id=72656

    I see the double button 1 register correctly using 8.4.3 on
    Win2K and Linux/WindowMaker.

     
  • Brian Griffin

    Brian Griffin - 2003-07-31

    Logged In: YES
    user_id=22949

    Improved example script that makes the problem clearer.

     
  • Brian Griffin

    Brian Griffin - 2003-07-31
    • status: pending-works-for-me --> open-works-for-me
     
  • Brian Griffin

    Brian Griffin - 2003-07-31

    working and non-working instances of bug

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks