Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d4ab5b9bb4533e792cf44a53357213cbdfe7b2a5893cbb3ff5fa5fac6c1e90f8
Ticket: 3461049fffffffffffffffffffffffffffffffff
Tk stops to draw entries (200*50)
User & Date: serhiy.storchaka on 2026-10-12 17:31:50
Changes

  1. icomment:
    Duplicate of Tk ticket [https://core.tcl-lang.org/tk/tktview/742773ffff|742773],
    see also [https://core.tcl-lang.org/tk/tktview/31085d2747|31085d2747]. Every
    mapped Tk widget uses one window handle on Windows, and a process is limited to
    10000 USER handles by default (<tt>USERProcessHandleQuota</tt> in the registry);
    192 toplevels with 50 entries each is about that many.
    
    Tk does not check whether <code>CreateWindowEx()</code> succeeded, so after the
    quota is exhausted it continues with NULL window handles. Nothing is drawn and no
    error is reported, and drawing on a NULL handle can go to the whole screen,
    which explains the entry drawn outside the toplevel.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"
  4. resolution changed to: "Duplicate"
  5. status changed to: "Closed"