linuxmint / linuxmint/warpinator

gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Open
#226 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.6k
Forks
115
PR merge metrics
No merged PRs in 30d

Description

Distribution

Cachy OS - 6.14.3-2-cachyos

Package version

1.8.8

Frequency

Always

Bug description

Hi! I use Cosmic DE and the systray icon does not appear. The log show the error gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed, which seems to be related to the problem.

Steps to reproduce
  1. Open the application.
  2. Realize that the systray icon does not appear.
Expected behavior

The systray icon should appear.

Additional information

Here is a log from the application being initialized from the terminal:

❯ warpinator
Using landlock for incoming file isolation
2025-04-21 20:55:17,037::warpinator: Initializing Warpinator

(warpinator-launch.py:64864): Gtk-CRITICAL **: 20:55:17.090: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
2025-04-21 20:55:18,162::warpinator: Using grpc version 1.71.0
2025-04-21 20:55:18,162::warpinator: Using protobuf version 6.30.1
2025-04-21 20:55:18,162::warpinator: Using api version 2
2025-04-21 20:55:18,162::warpinator: Our uuid: PC-QI-1A60701ED635D7214104
2025-04-21 20:55:18,169::warpinator: Using zeroconf version 0.146.1
2025-04-21 20:55:25,777::warpinator: Server: ACTIVE

(warpinator-launch.py:64864): Gtk-CRITICAL **: 20:55:25.777: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(warpinator-launch.py:64864): Gtk-CRITICAL **: 20:55:25.777: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the missing systray icon on CachyOS with the Cosmic desktop, then trace Warpinator's startup and systray initialization while monitoring the reported GTK assertion. The issue provides no source file or test location; done means the icon appears and the GTK-CRITICAL messages no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.