I appreciate the feedback. With Palemoon I have to call it with gtk2-portal-wrapper directly too, but I'll see if I can make the script check libxul.so if the exe is palemoon(-bin).
I don't know what can be causing the hangup in your case, it looks like it happens right after the first dlsym call (with debugging enabled GIMP spams stdout with all kinds of calls during startup).
I'll push a commit later tonight as I've been doing some work toward fixing Gtk+3 and fixed some things in Gtk+2.
On Wednesday 02 October 2024 12:30:43 pm Philippe Mavridis via tde-users wrote:
Hi,
First of all, thank you for the fork. While Gtk+3 apps can be forced to use xdg desktop portals with the help of an environment variable, AFAICT there is just no way for Gtk+2 apps. It would be a nice complement for xdg-desktop-portal-tde.
I've tried to get it working, but unfortunately I have had no success so far: starting any Gtk2 process fails, with that process just taking up 100% of a CPU core without a visible window (didn't test with Gtk3). Maybe I'm missing something, who knows.
Stdout (from GIMP 2.10.34 startup):
GTK Portal::dlsym : (0xffffffffffffffff) g_type_register_static_simple GTK Portal::real_dlsym : g_type_register_static_simple GTK Portal::dlsym found? 1
Also the wrapper does not detect the toolkit used by PaleMoon as it checks the executable itself for linking data. In PaleMoon the gtk2 linking can be seen in libxul.so. Directly calling gtk2-portal-wrapper also results in the bug I mentioned above.
I'll be taking a closer look later in case I find a solution. I'd like to get this working.
-- Philippe ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org
------------------------------------------------- This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!