|
2026-10-09
| ||
| 03:55 | • Ticket [f16cdb6d] Aqua: widgets not mapped immediately status still Open with 4 other changes artifact: 0ccb2cdd user: marc_culler | |
| 01:07 | • Ticket [f16cdb6d]: 3 changes artifact: 7f13a749 user: chrstphrchvz | |
|
2026-10-08
| ||
| 20:59 | Fix [40dc19ee9e]: Canvas does not immediately display and [f16cdb6d04]: Aqua widgets not mapped immediately check-in: 1269dd2b user: culler tags: bug-40dc19ee9e | |
| 17:08 | • Ticket [f16cdb6d] Aqua: widgets not mapped immediately status still Open with 3 other changes artifact: defe8dff user: chrstphrchvz | |
| 15:39 | • Ticket [40dc19ee] Regression: Canvas does not immediately display in Tk 9.1 on macOS status still Open with 3 other changes artifact: 290322b5 user: serhiy.storchaka | |
| 15:38 | • Ticket [f16cdb6d] Aqua: widgets not mapped immediately status still Open with 3 other changes artifact: 5ce1d73c user: serhiy.storchaka | |
|
2022-10-08
| ||
| 14:34 | • Ticket [bfea11a9] Aqua: update idletasks handles timer events status still Pending with 3 other changes artifact: 56eb2bcd user: chrstphrchvz | |
|
2022-09-20
| ||
| 17:32 | • Ticket [a64a4b33] Scale does not appear until window clicked in status still Open with 3 other changes artifact: ef4fd35e user: chrstphrchvz | |
|
2022-08-15
| ||
| 15:38 | • Ticket [3e9e82bc] Aqua: draw to alternative backing store status still Open with 3 other changes artifact: 105f36ee user: chrstphrchvz | |
|
2022-08-09
| ||
| 22:02 | • Ticket [3e9e82bc]: 3 changes artifact: ecd12a46 user: chrstphrchvz | |
|
2022-04-29
| ||
| 09:58 | • Ticket [f16cdb6d] Aqua: widgets not mapped immediately status still Open with 4 other changes artifact: d4952346 user: chrstphrchvz | |
| 09:51 | • Ticket [f16cdb6d]: 3 changes artifact: c31faf57 user: chrstphrchvz | |
|
2022-04-25
| ||
| 06:07 | • Ticket [f16cdb6d]: 3 changes artifact: 46b27056 user: fvogel | |
|
2022-04-09
| ||
| 14:04 | • Ticket [f16cdb6d]: 3 changes artifact: 41c4b15b user: chrstphrchvz | |
| 14:03 | • New ticket [f16cdb6d]. artifact: 4ae793bd user: chrstphrchvz | |
| Ticket UUID: | f16cdb6d04e4d1f4b53c221f2915016157cc3a1c | |||
| Title: | Aqua: widgets not mapped immediately | |||
| Type: | Bug | Version: | 8.6.12 | |
| Submitter: | chrstphrchvz | Created on: | 2022-04-09 14:03:48 | |
| Subsystem: | 66. Aqua Window Operations | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Open | Last Modified: | 2026-10-09 03:55:16 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
Tcl::pTk has a bgerror test similar to the following: pack [listbox .l -yscrollcommand bogus] .l insert 0 foo It expects an error regarding the invalid `-yscrollcommand` to be generated immediately (at least before a timeout). But currently on Tk Aqua the listbox and the error never appear automatically; I do not observe a similar issue on X11. The listbox and the error appear if an event is sent to it, e.g. update; event generate .l <Expose>; update idletasks. | |||
| User Comments: |
marc_culler (claiming to be Marc Culler) added on 2026-10-09 03:55:16:
Here is another argument. As far as I can tell both your original script and the amended version work fine in the bug-40dc19ee9e branch. The fix in that branch changes nothing except for the updateLayer method in 9.1. Since 8.6 does not even have an updateLayer method at all, the 8.6 issue could hardly be the same as the 9.1 issue. When I run the scripts in bug-40dc19ee9e the toplevel never turns red but the listbox containing foo appears in the window and the error dialog also appears. If I add a call to update idletasks before the pack command then I do see a flash of red before the listbox covers it up. I think that is the expected behavior. chrstphrchvz added on 2026-10-09 01:07:38: To further argue that the issue seen under 8.6 is distinct from the one seen in recent 9.0/9.1, consider an amended example: . configure -background red pack [listbox .l -yscrollcommand bogus] .l insert 0 foo With recent 8.6, the red toplevel background is visible before forcing the listbox to appear (e.g. by clicking or resizing); whereas with recent 9.0/9.1, neither the listbox nor the red toplevel background are visible at first. chrstphrchvz added on 2026-10-08 17:08:33: While this ticket and [a64a4b331e] (and maybe others) do have similar symptoms and workarounds as [40dc19ee9e], they were observed before Tk Aqua moved away from drawRect:. If the issues in the older tickets still seem present, the exact cause is probably now different. For the example in this particular ticket, what I notice with recent Tk 9.1 is that, even though the listbox is not visible right away, the error is now generated immediately as expected. So maybe whatever issue which was specific to this ticket, but not others (e.g. [40dc19ee9e]), is fixed in 9.1 (and possibly 9.0), and won’t-fix for 8.6. serhiy.storchaka added on 2026-10-08 15:38:45: This looks like the same problem as [40dc19ee9e]: on macOS the widgets created by a script are not displayed, and their display procedures (which call -yscrollcommand) are not run, until an event or update idletasks arrives. Since this was reported for 8.6.12, it is older than the change bisected there. A fix for that ticket should be checked with this script too. chrstphrchvz added on 2022-04-29 09:51:17: I have not investigated this deeply, but it seems to be caused by widget windows not being mapped right away, and other widgets are affected (not just listbox). fvogel added on 2022-04-25 06:07:45: On Windows, the error triggers:
invalid command name "bogus"
invalid command name "bogus"
while executing
"bogus 0.0 1.0"
(vertical scrolling command executed by listbox)
I have no clue why it's not the case on macOS. | |||
