On Thu, Jan 22, 2009 at 1:14 PM, Edward K. Ream <[email protected]> wrote:
>
>
> On Wed, Jan 21, 2009 at 1:09 PM, Edward K. Ream <[email protected]> wrote:
>>
>>>
>>> With Tk, it takes a _long_ time to start up, the 'reading @auto ...'
>>> process takes forever, the headlines in the outline pane flash.
>>>
>>> Ubuntu 8.10
>>
>> Thanks for this report.  I don't see this at present, but I don't use
>> @auto.
>>
>> I wonder if redraw_after_icons_changed (for tk) is the culprit.  Or maybe
>> there are just too many calls to redraw somewhere
>
> Please do the following:
>
> in guiPlugins.leo, in the node
>
> Other guis-->@thin tkGui.py-->frame classes-->class
> leoTkinterTree-->Drawing... (tkTree)-->Entry points
> (tkTree)-->tree.redraw_now & helper
>
> set trace = True.
>
> The reload your problem file.  Are there more than the expected number of
> redraws?

last redraw_now trace:
redraw_now: 453
appendStringToBody,setBodyString,redraw_after_icons_changed,redraw_after_icons_changed

also many traces like:
redraw_now: 429
createHeadline,setBodyString,redraw_after_icons_changed,redraw_after_icons_changed

I don't know the code, but 453 redraws sounds wrong.

>
> Edward
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to