On 11/18/21 9:12 AM, Istvan Gabor wrote:
Hello:
This occurs in openSUSE Leap 15.3 (64 bit).
Gtk2 applications start with a 25 seconds delay. That is, it takes exactly 25 seconds the application window to appear.
This behavior has been reported previously in other distros, eg:
In 20.04.1 all gtk2 apps starts 25 seconds https://bugs.launchpad.net/ubuntu/+bug/1891245
I installed appmenu-gtk2-module and libcanberra-gtk-module but it did not solve the problem.
How can I fix this in Leap 15.3?
Thanks,
Istvan
Likely related to parts of Gtk+2 being removed from distros. This is a horrible thing as there is nothing wrong with Gtk+2, Gtk+3 never matured to the point the theme model quick breaking with every version update and now Gtk+3 has been tossed (kde4 anyone?) for Gtk+4 which is something so bastardized compared to Gtk+2 it is unrecognizable and unfit for writing anything but Gnome desktop itself. Not to mention continued CSS theme model breaks will continue to occur at least through 4.14 (oh joy) But I digress. There is no reason a Gtk+2 app shouldn't present a main window almost immediately. Even where the program builds the entire interface before the show-window call that should never take more than 2 secs, even populating complicated list-boxes like the documents window in kate. If there is a 20 sec slowdown, then there is likely a gtk+2 library that belongs to a gtk+2_somelib that has been removed and your app attempts to load it with a 20/25 second timeout. What app? You can run ldd against the executable to check the library dependency and see if anything was missing. -- David C. Rankin, J.D.,P.E.