Sun, 28 Nov 2021 10:31:36 +0900 időpontban Masaru Nomiya írta:
Hello,
In the Message;
Subject : Re: gtk2 application start delays 25 seconds Message-ID :
Date & Time: Fri, 26 Nov 2021 18:36:00 +0100 [IG] == Istvan Gabor
has written: [...] IG> OK, finally I solved this, but I think it should not require such IG> solution.
IG> The cause of the delay, indeed was a 25 seconds timeout, which I IG> knew before from the bug report I linked in my original post.
IG> Then what made me stuck was that I could not find gsd-xsettings IG> in openSUSE.
IG> Finally by using export GTK_MODULES=appmenu-gtk-module fixed the IG> problem. IG> I added it to my .bashrc file.
Sorry, but I can't agree your conclusion.
As you alredy know, appmenu-gtl-module watches for the old types menu (ie., GtkMenuShells and GtkMenuItems) and exports the GMenuModel implementation.
I don't know. I found this solution in the bug report linked above, and it worked for me.
Why does this function serve to speed up of app's start, I wonder?
I have no idea why it is working.
With what app did you get the above conclusion?
The applicatioin I use is Pale Moon (palemoon) web browser, 29.4.2.1 gtk2 version. Available here: http://linux.palemoon.org/download/mainline/ I would try other gtk2 applications as well, but I could not find any in the repos.
libxmlb does serve to speed up of app's start, I confirmed again. This requires caching, though.
I have these two libxmlb pacakages installed: rpm -qa | grep -i libxmlb libxmlb2-0.2.1-1.34.x86_64 libxmlb1-0.1.11-3.2.1.x86_64 Still without setting $GTK_MODULES=appmenu-gtk-module the application starts only after a 25 seconds timeout passed. (More accurately, the gtk2 window appears after 25 seconds.) There is no such problem with gtk3 applications, their window appears immediately. Any explanation? Thanks, Istvan