Gtk-CRITICAL **: 16:07:07.797: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
XDM is currently being re-written to be more user friendly and performant, please refer to (https://github.com/subhra74/xdm/discussions/768) for more information
PLEASE DO NOT JUST SAY "It does not work, or something not working etc." Provide enough relevent details so that the issue can be analyzed and reproduced easily
Describe the bug After turning on system tray on the setting the app no longer runs and just closes Running it using the terminal:
❯ xdman-beta
[xdm-15:24:29] Loading config...
[xdm-15:24:29] Application_Startup
[xdm-15:24:30] Loading languages...
[xdm-15:24:30] Language loading ...
[xdm-15:24:30] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-15:24:30] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-15:24:30] Language loaded.
(xdm-app:79554): Gtk-CRITICAL **: 15:24:30.426: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
/usr/bin/xdman-beta: line 3: 79554 Segmentation fault (core dumped) /opt/xdman/xdm-app $@
To Reproduce Steps to reproduce the behavior:
- Go to Settings
- Click on Show on system tray
- See error
Expected behavior The application to launch
Screenshots If applicable, add screenshots to help explain your problem.
please complete the following information:
- OS: Archkinux
- Browser Firefox Dev
- XDM addon Version 2.2
- XDM Version 8
Generated log using below method
- https://github.com/subhra74/xdm/wiki/Generate-log-for-troubleshooting
Additional context Add any other context about the problem here.
The issue seems to persist regardless of if the system-tray is enabled or not
I am having the same issue as well it just appeared randomly. It still downloads files it catches from the browser but wont open the main window
+1, Currently my problem. Running it as a superuser seems to work but a dangerous way to do.
I resolve this issue by installing libappindicator OS : Ubuntu 24.04
sudo apt install libappindicator3-1
and then modify file /usr/share/applications/xdm-app.desktop, add GDK_BACKEND=x11
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Exec=env GTK_USE_PORTAL=1 GDK_BACKEND=x11 /opt/xdman/xdm-app %U
Type=Application
Terminal=false
Name=Xtreme Download Manager
Comment=Xtreme Download Manager
Categories=Network;
Icon=/opt/xdman/xdm-logo.svg
MimeType=application/xdm-app;x-scheme-handler/xdm-app;
StartupNotify=true
after that, kill xdm process using following command :
ps aux | grep xdm
kill {proccess id}
i remove XDM and added back startup application from Gnome Tweak Tools to prevent issue in next reboot
reference : #1056 (comment)
I resolve this issue by installing libappindicator OS : Ubuntu 24.04
sudo apt install libappindicator3-1and then modify file /usr/share/applications/xdm-app.desktop, add
GDK_BACKEND=x11[Desktop Entry] Version=1.0 Encoding=UTF-8 Exec=env GTK_USE_PORTAL=1 GDK_BACKEND=x11 /opt/xdman/xdm-app %U Type=Application Terminal=false Name=Xtreme Download Manager Comment=Xtreme Download Manager Categories=Network; Icon=/opt/xdman/xdm-logo.svg MimeType=application/xdm-app;x-scheme-handler/xdm-app; StartupNotify=trueafter that, kill xdm process using following command :
ps aux | grep xdm kill {proccess id}i remove XDM and added back startup application from Gnome Tweak Tools to prevent issue in next reboot
reference : #1056 (comment)
This solution also works for RedHat 9.4 but GDK_BACKEND=wayland. Thanks!