Skip to content
Tcl Source Code History Of Ticket 1812048
Login

History Of Ticket 1812048

Artifacts Associated With Ticket 1812048

  1. Ticket change [b6d01878a1] (rid 125482) by stevenaaus on 2007-10-12 06:47:07:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hope i've submitted this bug to the right place/category.
      
      Hmmm... Seems to me there's definately a bug in tk with the canvas Enter and Leave bindings. I've tested this on wish 8.4.1, 8.4.16 and 8.5b1.
      
      TkHearts-0.86 runs fine, but when i entered these two bindings (patch backs them out) - bound only against players face up cards, tcl just freezes quite unpredictably. Occasionally on startup and in a game, but often after returning from a change of focus between apps, or even from the "about" widget.
      
      I added two lines of debugging code that trace control into doCardUp and doCardDown.  They work fine, but when the game freezes, it became apparent tcl was stuck in a Enter/Leave loop, continuously calling doCardUp and doCardDown (which are bound to Enter and Leave). This behaviour is the same in 8.4.1 8.4.16 and 8.5b1. I run fedora4, xorg-x11-6.8.2-31.
      
      Another data point - I also totally removed the ".c bind player0 <Leave>" command hoping to get around the bug...
      leaving just the Enter binding, but i ~still~ managed to get a loop race condition :<
      
      Thanks, Steven Atkinson, [email protected]
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "stevenaaus"
    10. subsystem initialized to: "02. Event Loops"
    11. title initialized to: "loop race in canvas Enter / Leave bindings"
    12. type initialized to: "Bug"
  2. Add attachment "canvas_bindings_bug.tgz" [8cbde344bb] (rid 127789) by stevenaaus on 2007-10-12 13:47:07.

  3. Ticket change [e45235463d] (rid 87933) by stevenaaus on 2007-10-12 13:47:09:

    1. icomment:
      
      
      File Added - 249322: canvas_bindings_bug.tgz
      
      
      
    2. login: "stevenaaus"
    3. mimetype: "text/plain"
    4. username: "stevenaaus"
  4. Ticket change [95817905f5] (rid 106166) by stevenaaus on 2007-10-15 13:22:40:

    1. icomment:
      Logged In: YES 
      user_id=1043388
      Originator: YES
      
      Ooops, i just found the Tk bug page and have re-submitted it to them.
      Sorry. S.A.
      
      
    2. login: "stevenaaus"
    3. mimetype: "text/plain"
    4. username: "stevenaaus"
  5. Ticket change [afb040d19a] (rid 136989) by jan.nijtmans on 2014-02-21 19:05:51:

    1. assignee changed to: "jan.nijtmans"
  6. Ticket change [f13a7c3a60] (rid 137027) by dkf on 2014-02-23 16:54:37:

    1. closer changed to: "nobody"
    2. comment changed to:
      Hope i've submitted this bug to the right place/category.
      
      Hmmm... Seems to me there's definately a bug in tk with the canvas Enter and Leave bindings. I've tested this on wish 8.4.1, 8.4.16 and 8.5b1.
      
      TkHearts-0.86 runs fine, but when i entered these two bindings (patch backs them out) - bound only against players face up cards, tcl just freezes quite unpredictably. Occasionally on startup and in a game, but often after returning from a change of focus between apps, or even from the "about" widget.
      
      I added two lines of debugging code that trace control into doCardUp and doCardDown.  They work fine, but when the game freezes, it became apparent tcl was stuck in a Enter/Leave loop, continuously calling doCardUp and doCardDown (which are bound to Enter and Leave). This behaviour is the same in 8.4.1 8.4.16 and 8.5b1. I run fedora4, xorg-x11-6.8.2-31.
      
      Another data point - I also totally removed the ".c bind player0 <Leave>" command hoping to get around the bug...
      leaving just the Enter binding, but i ~still~ managed to get a loop race condition :<
      
      Thanks, Steven Atkinson, [email protected]
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. resolution changed to: "Invalid"
    6. severity changed to: "Minor"
    7. status changed to: "Pending"
  7. Ticket change [7e5dfc9bd9] (rid 258119) by serhiy.storchaka on 2026-10-15 11:29:04:

    1. icomment: "Closing: this belongs to the Tk tracker."
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. status changed to: "Closed"
  8. Ticket change [8fc93ae04d] (rid 259923) by serhiy.storchaka on 2026-10-22 17:19:26:

    1. closedate changed to: "2461328.978528889"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"