linuxmint / linuxmint/warpinator
gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
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
- Open the application.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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