Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-11-11
08:11 • Closed ticket [798329ffff]: Tk completely unusable in XP after depth change ... artifact: 8e342d50c1 user: hobbs
2003-09-06
18:48 • Ticket [798329ffff]: 4 changes artifact: 865193e3f2 user: davygrvy
2003-09-01
15:35 • Ticket [798329ffff]: 5 changes artifact: b109c6762a user: dkf
00:43 • New ticket [798329ffff]. artifact: cf3a640a10 user: nobody

Tk completely unusable in XP after depth change

Closed / Fixed798329ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 22 years ago
Descriptionplain2003-09-01 00:43:58
After changing the display depth from 32 to 16 or 16 to
32 all Tk apps become unusable.  The native scrollbar
redraws properly after that, but every other widget
fails.  Only Tk apps seem to be affected.

I've tested this with 8.3.4, 8.4.1, and 8.5a0 (marked
July 31 from the CVS HEAD) and they all fail.

This shows 3 different versions of Tcl/Tk failing:
http://www.xmission.com/~georgeps/bugs/Tk_DisplayDepth_Bug.png

I moved windows over them to give you an idea of what
happens.
dkfplain2003-09-01 15:35:34
Logged In: YES 
user_id=79902

Looks to me like events are going AWOL.  I wonder if non-Tk
events keep going in this situation or if the entire event
loop has crashed?  Perhaps it is the notifier thread that is
dead?

Ranking for seriousness: its serious because it is a crash,
but should be something that is rare in practice as I don't
think many people alter their resolutions that often.
davygrvyplain2003-09-06 18:48:25
Logged In: YES 
user_id=7549

Tk might be missing a broadcast message handler about the 
need to redraw everything.
hobbsplain2004-11-11 08:11:21
Logged In: YES 
user_id=72656

Fixed in 8.4.8 and 8.5a2
Log in (anonymous is fine) to add a comment.