Tk Source Code

View Ticket
Login
Ticket UUID: 521466
Title: panedwindow-frame-text sizing trouble
Type: Bug Version: obsolete: 8.4a4
Submitter: dkf Created on: 2002-02-22 14:18:17
Subsystem: 21. [panedwindow] Assigned To: dkf
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-05-21 22:35:01
Resolution: Duplicate Closed By: dkf
    Closed on: 2003-05-21 15:35:01
Description:
When I run the vertical panedwindow demo (which I've
checked into CVS and intend to have distributed with
the rest of Tk) the widgets inside the pane do not show
up until after the window as a whole is resized.  No
problem is present in the horizontal panedwindow demo.
User Comments: dkf added on 2003-05-21 22:35:00:
Logged In: YES 
user_id=79902

See bug 738143 for the fix.

dkf added on 2002-08-06 21:47:10:
Logged In: YES 
user_id=79902

Behaviour is *slightly* better (width is right, even if
height is still bogus.)
Dropping priority.

ericm added on 2002-02-23 13:58:47:
Logged In: YES 
user_id=86324

The panedwindow is incorrectly grabbing geometry from 
slaves immediately after they are added, rather than in an
idle event handler.  This is required because slaves may 
have put their own geometry computations into idle handlers 
(for example, frames into which other widgets are packed).  
A workaround is to include [update idletasks] before adding
slaves to the panedwindow.

Eric Melski
ericm at interwoven dot com