FLTK logo

Re: [fltk/fltk] test/tree: hitting 'select all' hangs the application (Issue #300)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] test/tree: hitting 'select all' hangs the application (Issue #300) Albrecht Schlosser Aug 22, 2022  
 

@wcout Thanks, Chris, this is a smart idea. However, although it would likely solve the issue at hand, i.e. in Fl_Tree and others using Fl_Simple_Terminal, it wouldn't fix the root cause which is in Fl_Text_Display. Recently I used a test program that loads a text file with about four million lines or even more into an Fl_Text_Display widget and I could observe its slowness if wrap mode is on which is the main cause of the slowness. I'm going to test this with either Greg's patch or my mods (WIP, see below) to see how much it can be improved.

FTR: I'm also working on a patch based on Greg's (@erco77's) latest version of your (@wcout's) patch. I'm thinking about the option Greg mentioned to switch the deferred calculation on (and off) in the user program because I'm concerned about backwards compatibility of unmodified programs - which means that the default would be off (non-deferred, or "direct"). I'll post more in a follow-up, but please don't hold your breath, I need some more time for testing.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/300/1222452039@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.