FLTK logo

Re: [fltk.general] Slow response when calling Fl_Text_Editor::buffer()

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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Slow response when calling Fl_Text_Editor::buffer() Manolo 04:56 Apr 20  
 

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.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/0c87ef04-84d7-4982-ae35-94d664b8f3ebn%40googlegroups.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'.