So far I've only seen this problem on a Mac. Do you recall if it was intermittent in your case, with the same code sometimes causing the behavior and other times not?
On May 2, 2012, at 12:48 AM, Michael O'Donnell wrote: > Hi Lynn, > > I do remember seeing this somewhere before, but years ago, > and I think it was on a linux box (and the same code behaved well > under Windows). > > What OS are you on? > > Is it possible to create a short bit of code that replicates > the problem and that you can send? > (this step by itslef often reveals the problem to > yourself) > > Does your code do any catching of window resizing, > and on this basis of this, reformat any widgets? > (I once had a problem that in catching a window resize, > I re-arranged my panes to the new size, which in itself > caused the window resize event to be called). > > Mick > > > On Wed, May 2, 2012 at 5:06 PM, Lynn Oliver <rayco...@gmail.com> wrote: > I'm not sure whether to describe this as a flicker or rapid flashing; > probably what is happening is that the window is being redrawn continuously > as fast as possible. The visual effect is like a fast strobe. > > I don't explicitly use any pack() methods at all, but I'll take a look and > see if that's a possibility. > > Lynn > > On May 1, 2012, at 7:42 PM, Emiliano Gavilan wrote: > > > 2012/5/1 Lynn Oliver <rayco...@gmail.com>: > >> I'm using python 2.7.2 with Tcl/Tk 8.5.11, and I'm using a lot of ttk > >> themed widgets in the UI. The layout is a ttk.notebook with a number of > >> frames per tab; some tabs have frames that are created/destroyed based on > >> user selections. > >> > >> Occasionally when I execute the program, either within the debugger or by > >> itself, the entire window flashes rapidly and continues until I terminate > >> the script. I had noticed that certain dimensions in the frames that are > >> dynamically replaced caused the flashing whenever I caused the frames to > >> change, and by making small adjustments it seemed that I had eliminated > >> the problem. > >> > >> However it still happens occasionally--but not repeatably on my > >> system--and now I've gotten a report from a tester that it flashes on his > >> system when he hasn't done anything that causes frames to be created. As > >> soon as he clicks on a certain button widget the entire UI starts > >> flashing. The same scenario doesn't cause it to flash on my system. > >> > >> Does anyone know what causes this? Any suggestions for tracking down and > >> eliminating the problem? > > > > I don't know what you mean by "flashing". If you mean that the main > > window geometry adjusts continouosly > > then probably you are mixing pack() and grid() methods on the same > > master widget. > > > > Regards > > Emiliano > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss > > > > -- > > Not sent from my iPhone
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss