Albrecht Schlosser wrote: > > If the problem is this _repeated_ calling of XOpenIM() - well, then I > have a vague recollection that this has been introduced (IIRC by Manolo) > to solve a problem if the IM is not started (yet) when the program > starts, or when the IM is restarted while the program runs. You should > try an older FLTK version to see if this is not (such a big) problem > in one of the older versions. > > Looking at the commit logs ... and svn blame ... okay, found it. If you > have svn access, please try FLTK 1.3 before svn rev. 8097 (from Dec. 22, > 2011). Is this any better?
I was busy the last days, but today I have tested this issue again with r8096 from SVN: This version show the same behaviour (unusable slow, 100% CPU load for over 1 second per menubar entry). To verify that it really is XOpenIM() that creates the delays, I have removed the two calls in Fl_x.cxx (and assigned NULL as dummy result instead). Now it feels good, the menubar is refreshed instantly (two orders of magnitude faster). Micha _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

