Artifacts Associated With Ticket 0d1a98ce9d8f8eb7
Ticket change [97c81d7887] (rid 253804) by emiliano on 2026-05-22 17:31:43:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- 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. - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "emiliano"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "emiliano"
- subsystem initialized to: "05. XT Notifier"
- title initialized to: "Xt notifier broken on 9"
- type initialized to: "Bug"
Add attachment "xtnofity.diff" [e39942f356] (rid 253806) by emiliano on 2026-05-22 17:32:17.
Ticket change [d2e5d5dbe5] (rid 253807) by emiliano on 2026-05-22 17:32:52:
- icomment: "Attached a fix for building xttest"
- login: "emiliano"
- mimetype: "text/plain"
Add attachment "xttests.diff" [e5b4799d34] (rid 253809) by emiliano on 2026-05-22 17:33:25.
Ticket change [2206e70fce] (rid 253810) by emiliano on 2026-05-22 17:36:40:
- icomment:
Attached the adapted Windows tests. Currently the only way to run them is by hand ``` $ ./xttest ../tests/unixNotify.test ```
- login: "emiliano"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [70e37acd08] (rid 257974) by serhiy.storchaka on 2026-10-14 08:54:58:
- 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.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- title changed to:
Custom notifiers (Xt) broken on 9.1: timers never fire
- icomment:
Ticket change [1a1334e73c] (rid 257989) by jan.nijtmans on 2026-10-14 10:37:04:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2461327.9424133566"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in [de395db403|trunk]. Build problem also backported to 9.0 Many thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [f446c72d80] (rid 257990) by serhiy.storchaka on 2026-10-14 10:39:11:
- foundin changed to: "9.1.0"
- login: "serhiy.storchaka"