From: Kevin W. <kw...@co...> - 2014-12-18 15:54:45
|
On 12/17/14, 6:43 PM, Linus Nyberg wrote: > I don’t know if it’s the same root cause, but with the latest Tk code our application suffers badly from similar flickering problems. We have it going on in multiple places. Could be multiple separate causes, or it could be the same cause as Russel’s script. But they’re all new since the removing of the internal Cocoa API calls. > One problem is that we often create windows (tk frames) with scrollbars in them, and after destroying those windows the scrollbars inside them linger, flickering, whenever you config some other tk widget. > To replicate, run the script below and then move the mouse inside the window. Then the flicking appears. The (destroyed) scrollbar keeps appearing and disappearing. It seems that the configuring of the button triggers it somehow. Re-sizing the whole window also causes the destroyed scrollbars to appear. I had seen an error like this in some other contexts, and had committed a fix to the scrollbar code which I had thought fixed the issue. I'm dismayed these are still cropping up, and am not sure where to look. It is very frustrating that repeated, ad-hoc fixes are necessary to the drawing code. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |