From: <aku...@sh...> - 2014-12-21 20:48:19
|
Automated mail by fx, on behalf of aku...@sh... Ticket Change [24672bc088cf9331c4066a9564cf10384d2372da] [New ticket [61bfd35c57a90372b3025d7f2915674c89ffee45|61bfd35c57] Scrollbars keep flickering indefinitely after being destroyed.] By linusnyberg For Tk Source Code On 2014-12-21T20:41:49.195 Details http://core.tcl.tk/tk/tinfo?name=24672bc088cf9331c4066a9564cf10384d2372da Ticket http://core.tcl.tk/tk/tktview/61bfd35c57a90372b3025d7f2915674c89ffee45 Changed Fields assignee: nobody closer: nobody comment: The problem is Mac-only. It has been introduced some time AFTER Tcl/Tk 8.6.1. The below replication steps do not cause flickering there. Replicated with latest source (8.6.3) as of 2014-12-21: Do: - Run the below script in Wish. - Move the mouse around in the window. - Also try resizing the window. Happens: Each time the mouse motion even triggers, the since-long destroyed scrollbar keeps appearing (flickering) on the screen. Expected: That the scrollbar is simply gone, since it was destroyed. Here's the script: ########################### proc main {} { console show wm geometry . 800x600 frame .f -width 750 -height 550 -bg grey75 place .f -x 50 -y 50 -anchor nw button .f.b -text hello place .f.b -x 100 -y 100 -anchor nw set w [create_window .f 10 10 300 300] update destroy $w bind all <Motion> { .f.b configure -text [clock seconds] } } proc create_window {parent_w x y width height} { set w $parent_w.c_container frame $w -bg grey75 -bd 0 -width $width -height $width scrollbar $w.vscroll -command "$w.c yview" canvas $w.c -highlightthickness 0 -width [expr {$width - 15}] -height [expr {$width}] -relief sunken -bg grey85 -bd 0 -yscrollcommand "$w.vscroll set" grid $w.c -padx 1 -pady 1 -row 0 -column 0 -rowspan 1 -columnspan 1 -sticky news grid $w.vscroll -padx 1 -pady 1 -row 0 -column 1 -rowspan 1 -columnspan 1 -sticky news place $w -x $x -y $y -anchor nw return $w } after 10 main foundin: 8.6.3 is_private: 0 login: linusnyberg priority: 5 Medium private_contact: 14b3a2938e33673267beada540e11569b4c12b7b resolution: None severity: Severe status: Open submitter: linusnyberg subsystem: 66. Aqua Window Operations title: Scrollbars keep flickering indefinitely after being destroyed type: Bug ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl.tk/ ------------------------------------------------------------ |