Skip to content
Tcl Source Code History Of Ticket 0d1a98ce9d8f8eb7
Login

History Of Ticket 0d1a98ce9d8f8eb7

Artifacts Associated With Ticket 0d1a98ce9d8f8eb7

  1. Ticket change [97c81d7887] (rid 253804) by emiliano on 2026-05-22 17:31:43:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      The Xt notifier (unix/tclXtNotify.c) doesn't build on trunk due to a small typo [here](https://core.tcl-lang.org/tcl/info?name=74ec68c271f99494149854179935eb746586fff73aae1fa6c6c754f2cda0f2f0&ln=184-190).
      
      However, after fixing this bug and a few warnings and building xttest, trying to run the following script (derived from the ones in tests/winNotify.test) hangs
      
      
      ```
        set x 0
        after 1000 {
          incr x
          testeventloop done
        }
        testeventloop wait
        set x
      ```
      
      On 8.6 this works as expected but on trunk it never returns from [testeventloop wait].
      
      OS: linux x86_64.
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "emiliano"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "emiliano"
    13. subsystem initialized to: "05. XT Notifier"
    14. title initialized to: "Xt notifier broken on 9"
    15. type initialized to: "Bug"
  2. Add attachment "xtnofity.diff" [e39942f356] (rid 253806) by emiliano on 2026-05-22 17:32:17.

  3. Ticket change [d2e5d5dbe5] (rid 253807) by emiliano on 2026-05-22 17:32:52:

    1. icomment: "Attached a fix for building xttest"
    2. login: "emiliano"
    3. mimetype: "text/plain"
  4. Add attachment "xttests.diff" [e5b4799d34] (rid 253809) by emiliano on 2026-05-22 17:33:25.

  5. Ticket change [2206e70fce] (rid 253810) by emiliano on 2026-05-22 17:36:40:

    1. icomment:
      Attached the adapted Windows tests. Currently the only way to run them is by hand
      
      ```
      $ ./xttest ../tests/unixNotify.test
      ```
      
    2. login: "emiliano"
    3. mimetype: "text/x-markdown"
  6. Ticket change [70e37acd08] (rid 257974) by serhiy.storchaka on 2026-10-14 08:54:58:

    1. icomment:
      The hang is a 9.1 regression from [/info/def988e9cd|def988e9cd]: Tcl_SetMaxBlockTime() and Tcl_ServiceAll() now call the internal TclpSetTimer() instead of Tcl_SetTimer(), bypassing the setTimerProc hook installed by Tcl_SetNotifier(). The timer of a custom notifier is never set, so this affects any custom notifier, not only Xt. 8.6 and 9.0 are not affected.
      
      Proposed fix in branch [/timeline?r=xt-notifier|xt-notifier]: call Tcl_SetTimer2() there, plus your tclXtNotify.c, tclXtTest.c and unixNotfy.test patches. With it your script returns 1 and <tt>xttest unixNotfy.test</tt> passes.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. title changed to:
      Custom notifiers (Xt) broken on 9.1: timers never fire
      
  7. Ticket change [1a1334e73c] (rid 257989) by jan.nijtmans on 2026-10-14 10:37:04:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461327.9424133566"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed in [de395db403|trunk]. Build problem also backported to 9.0
      
      Many thanks!
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  8. Ticket change [f446c72d80] (rid 257990) by serhiy.storchaka on 2026-10-14 10:39:11:

    1. foundin changed to: "9.1.0"
    2. login: "serhiy.storchaka"