Overview
| Artifact ID: | 7f54ef69aa8e094cc33a248406afe2795503b8b5cbcc3d5104ad5ded2f2e8c32 |
|---|---|
| Ticket: | 1e2c6ce4c8a883c962b77df1d572383fce73ad1c
MS-Windows: after is not continuous, if Wall clock changes |
| User & Date: | oehhar on 2025-05-13 19:49:11 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
For me, it is a big improvement, if the after events would be independent on the wall-clock. I use devices not connected to the internet and the wall-clock is set manualy. This causes, that after events are delayed by the wall-clock offset, if set back, and fire sonner by the offset, if set foreward. In practice, the gui freezes, as its update depends on continuous after events. For me, this is the top anoying bug of Tcl/Tk and work-arounds are very difficult. When I allow the user to change the wall-clock by an Administrator dialog, I fire 70 after events in a one minuite raster in the future, to hope, that at least, one fires after one minuite after the wall clock change. There were huge objections to change this. Ticket [3328635fffffffff] handles this for the Unix case, but has a MS-Windows solution in its bugfix-branch tkt3328635-posix-monotonic-clock [https://core.tcl-lang.org/tcl/timeline?r=tkt3328635-posix-monotonic-clock&c=2025-05-13+05%3A42%3A00]. Thanks, Christian, for this work. The purpose of this ticket is to extract the MS-Windows part of this ticket. An issue of this ticket is TIP 233 [https://core.tcl-lang.org/tips/doc/trunk/tip/233.md]: Christian has deactivated this TIP in his patch and calls it not functional and not documented. Andreas, the TIP author, is willing to look into this. To his words, the use-case of this TIP is not compatible to a monotonic clock. If this TIP should only influence the wall clock (e.g. the clock command), and not the after command, then this could be done. I am not sure how to proceed. I only fear, that this may be lost. Due to that risk, all other great proposals and platforms are not included here. Implementation branch is []. Thanks for all, Harald
- foundin changed to: "main"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "03. Timer Events"
- title changed to:
MS-Windows: after is not continuous, if Wall clock changes
- type changed to: "Bug"