Sujet : Re: are canvas coordinates limited to 32k
De : wortkarg3 (at) *nospam* yahoo.com (Harald Oehlmann)
Groupes : comp.lang.tclDate : 14. Apr 2025, 07:33:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtia6u$mkt5$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
Am 14.04.2025 um 05:44 schrieb et99:
I've been experimenting with placing widgets inside a canvas. When I tried to test it's performance on lots of widgets (in a column) I am seeing the last few widgets not being displayed when the code does
[winfo reqheight $content]
where content is a frame and the value returned is over 32768 (actually starts failing just shy of that value).
This naturally leads me to suspect there's a 16 bit issue here.
I'm testing on windows 10, with 8.6 and 9.0 and get the same results.
Unfortunately yes.
This is very annoying, specially in a virtual canvas, where scrolling is used to display only a part.
And the biggest point is, that if you exceed the size, there is no error, but display disruption, as widgets will be placed at negative coordinates etc.
The last experience is on Windows...
You have hit another swamp to clean-up...
Sorry,
Harald