Re: Slow response when calling Fl_Text_Editor::buffer()
Manolo
Apr 20, 2024
Le samedi 20 avril 2024 à 13:40:28 UTC+2, eso...@gmail.com a écrit :
I use the application remotely using X11 network protocol to display on my local Macbook Pro. Upon further experimentation, I discovered that if I use a local VNC session instead, it starts much faster. So it does appear that the X11 communication is what is slowing down the app. I am still confused as to why that particular call causes the delay but it's probably not worth worrying about.
I also tried it using FLTK 1.3.9 (both remotely and with VNC) with similar results, which is what I expected.
If you use X11 remotely on your mac, a possibility is that the first time an X11 app runs under XQuartz all fonts
are loaded, and this takes time. If that is the cause of your problems, further X11 app runs should start quick,
until XQuartz is stopped.
Notice that with version 1.4 of FLTK expected shortly, it will be possible to build FLTK on the mac as an X11
client. This allows in turn to build and run most FLTK client apps on macOS without source code change.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.