Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gtk-CRITICAL **: 16:07:07.797: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed #1214

Open
AA1999 opened this issue Mar 14, 2024 · 4 comments

Comments

@AA1999
Copy link

AA1999 commented Mar 14, 2024

XDM is currently being re-written to be more user friendly and performant, please refer to (#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:

  1. Go to Settings
  2. Click on Show on system tray
  3. 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

Additional context
Add any other context about the problem here.

@AA1999
Copy link
Author

AA1999 commented Mar 23, 2024

The issue seems to persist regardless of if the system-tray is enabled or not

@yehoshu1
Copy link

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

@llTheBlankll
Copy link

+1, Currently my problem. Running it as a superuser seems to work but a dangerous way to do.

@yogi-satya
Copy link

yogi-satya commented May 24, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants