#1953 Notebook missing update event

closed-fixed
4
2006-07-28
2005-08-31
Anonymous
No

There seems to be a missing update event for nonmapped
pages when a notebook is resized, at least on Aqua. Win XP
seems ok. The script below reproduces the problem on my
MacOSX 10.2.8 box. Do: Click Tab2, increase the windows
size, click Tab1 => canvas not redrawn.

This is just moved here from tile [ 1276374 ] Notebook
missing update event
http://sourceforge.net/tracker/
index.php?func=detail&aid=1276374&group_id=11464&atid=1
11464
since it only appears on Macs

Mats

package require tile
ttk::notebook .nb
.nb add [canvas .nb.c1 -width 100 -height 100] -text Tab1 -
sticky news
.nb add [canvas .nb.c2 -width 100 -height 100] -text Tab2 -
sticky news
.nb.c1 create oval 10 10 200 200 -fill blue
pack .nb -fill both -expand 1
bind .nb.c1 <Configure> {puts "Configure Tab1: [winfo width
%W]"}
bind .nb.c1 <Map> {puts "Map Tab1: [winfo width %W]"}

# Click Tab2, increase the windows size, click Tab1 =>
canvas not redrawn

Discussion

  • Nobody/Anonymous

    Logged In: NO

    On second thought it seems that it is is the windows clip region
    that is not updated. TkMacOSXInvalClipRgns() or something.
    Info patchlevel is 8.4.9 but built from core-8-4-branch some time
    ago. I think there were a discussion about something like this on
    tcl-mac list, where the port was not set at all (?). Perhaps this was
    fixed then?

    Mats

     
  • Joe English

    Joe English - 2005-10-15

    Logged In: YES
    user_id=68433

    See also #1292219, which is probably related in some way.

     
  • Daniel A. Steffen

    • priority: 5 --> 4
     
  • Daniel A. Steffen

    Logged In: YES
    user_id=90580

    cannot reproduce this any longer, so this was either fixed by Joe's change to
    ttk::notebook per #1292219 or to my changes for #940117 & #1480105

     
  • Daniel A. Steffen

    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks