Comment 2 for bug 1852016

Revision history for this message
Chris Rorden (rorden7) wrote :

This bug seems to impact many GTK2 applications including KeepassXC, Filezilla and OnlyOffice Desktop-Editor, HexChat, Lazarus and any application built using Lazarus that targets the GTK2 platform. Descriptions include

https://askubuntu.com/questions/1182155/filezilla-start-after-25-seconds-delay
https://forum.lazarus.freepascal.org/index.php?topic=47240.0
https://askubuntu.com/questions/1187246/ubuntu-19-10-crash-when-lazarus-runs
https://askubuntu.com/questions/1184774/some-applications-on-ubuntu-19-10-very-slow-to-start

Solutions include:
 1. (temporary). Run as super user, e.g.: sudo ./project1
 2. (temporary). Run using: dbus-launch --exit-with-session ./project1
 3. (Permanent). Install "sudo apt-get install appmenu-gtk2-module" and restart.
I am not sure what the root cause is, but one solution would be to have appmenu-gtk2-module installed whenever someone installs "libgtk2.0-0". It is obvious to the user that that these applications require libgtk-x11-2.0.so.0 as the programs will not launch without it. The problem with the current situation is that the programs do not list appmenu-dtk2-module as a dependency but do not launch appropriately without it.