You are not logged in.

#1 2023-06-15 09:55:17

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(srain:105883): Gtk-CRITICAL **: 11:33:16.925: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

I get this error in pretty many apps. I use sway.
How do I fix this or is there a way to suppress this?
-jl2

Last edited by jl2 (2023-06-15 09:58:23)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#2 2023-06-15 10:55:22

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Do they all use/provide systray icons?

Offline

#3 2023-06-15 14:03:18

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 171

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Yes, I have this bug since yesterday.

I compiled my own application based on gtk/gtkmm and tried it with older commits which worked fine.
They also have this error now. Probably to be reported upstream?

I also checked stackoverflow, there is nothing reported up to now.

Last edited by sandstorm (2023-06-15 15:29:20)

Offline

#4 2023-06-15 15:24:19

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

seth wrote:

Do they all use/provide systray icons?

think so - wine does, srain apparently. steam's icon is the only one that actually shows up.
I use swaybar: https://www.reddit.com/r/swaywm/comment … n_swaybar/
How can I suppress these messages?

Last edited by jl2 (2023-06-15 15:30:57)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#5 2023-06-15 17:27:55

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Steam gives me a (simular looking) error:

(steam:1379): GLib-GObject-CRITICAL **: 19:23:28.873: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#6 2023-06-15 17:38:15

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

This is slightly different from "gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed" but both most likely happen because the object/widget is actually a nullptr.
The original message showed up when gnome removed the legacy tray, which would suggest that no https://freedesktop.org/wiki/Specificat … ifierItem/ is available.

dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'

@sandstorm, what's supposed to provide your systray? swaybar as well?
Also check your pacman log on what got updated.

Edit:
Also try to run "dbus-monitor --session" and then start a client yelling the assertion to hopefully see what they're trying to access before…

Last edited by seth (2023-06-15 17:40:00)

Offline

#7 2023-06-15 22:24:29

prayii
Member
From: USA
Registered: 2010-11-18
Posts: 8
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

jl2 wrote:
(srain:105883): Gtk-CRITICAL **: 11:33:16.925: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

I get this error in pretty many apps. I use sway.
How do I fix this or is there a way to suppress this?
-jl2

I had this error reported by nm-applet. I set the nm-applet to auto start with sway when I was using waybar with the tray to manage the network. I started managing network via terminal and didn't need the tray so I disabled the tray from waybar, but forgot to remove nm-applet from auto starting in my sway config. Once I stopped nm-applet from auto starting the messages stopped. I would bet that these errors are coming from apps trying to launch tray icons and you have no tray for them to go to. Which bar are you using in sway?

Offline

#8 2023-06-16 08:01:37

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g':

"org.freedesktop.DBus"
":1.7"
"org.freedesktop.Notifications"
"org.freedesktop.StatusNotifierHost-610"
"org.freedesktop.ReserveDevice1.Audio0"
":1.8"
"org.mozilla.firefox.ZGVmYXVsdC1yZWxlYXNl"
"org.freedesktop.ReserveDevice1.Audio1"
"org.freedesktop.ReserveDevice1.Audio2"
"org.a11y.Bus"
"org.freedesktop.systemd1"
"org.kde.StatusNotifierHost-610"
":1.10"
":1.11"
"org.gnome.keyring"
":1.12"
"org.kde.StatusNotifierWatcher"
":1.13"
":1.0"
":1.14"
":1.15"
":1.2"
"org.freedesktop.secrets"
":1.3"
"org.freedesktop.StatusNotifierWatcher"
":1.4"
prayii wrote:
jl2 wrote:
(srain:105883): Gtk-CRITICAL **: 11:33:16.925: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

I get this error in pretty many apps. I use sway.
How do I fix this or is there a way to suppress this?
-jl2

I had this error reported by nm-applet. I set the nm-applet to auto start with sway when I was using waybar with the tray to manage the network. I started managing network via terminal and didn't need the tray so I disabled the tray from waybar, but forgot to remove nm-applet from auto starting in my sway config. Once I stopped nm-applet from auto starting the messages stopped. I would bet that these errors are coming from apps trying to launch tray icons and you have no tray for them to go to. Which bar are you using in sway?

Same case here - just I never started it from within sway, I uninstalled it with plasma.
i use swaybar.
paru -Qs applet:

local/system-config-printer 1.5.18-2
 A CUPS printer configuration tool and status applet

I don't think it gets autostarted - just graphical settings.
but this is more interesting: paru -Qs tray:

local/lib32-libappindicator-gtk2 12.10.0-13
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or
    Systray (32-bit) (GTK+ 2 library)
local/libappindicator-gtk3 12.10.0.r298-2
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or
    Systray (GTK+ 3 library)

I uninstalled 64-bit, but i haven't had time to test; I'll edit later.
EDIT: didn't help.
the application that had it as a dep also didn't show any error(with libappindicator installed).

Edit:
Also try to run "dbus-monitor --session" and then start a client yelling the assertion to hopefully see what they're trying to access before…

method call time=1686905273.981099 sender=:1.16 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1686905273.981151 sender=org.freedesktop.DBus -> destination=:1.16 serial=1 reply_serial=1
   string ":1.16"
signal time=1686905273.981172 sender=org.freedesktop.DBus -> destination=(null destination) serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.16"
   string ""
   string ":1.16"
signal time=1686905273.981203 sender=org.freedesktop.DBus -> destination=:1.16 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.16"
method call time=1686905273.981950 sender=:1.16 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
   string "im.srain.Srain"
   uint32 4
signal time=1686905273.981997 sender=org.freedesktop.DBus -> destination=(null destination) serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "im.srain.Srain"
   string ""
   string ":1.16"
signal time=1686905273.982037 sender=org.freedesktop.DBus -> destination=:1.16 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string "im.srain.Srain"
method return time=1686905273.982056 sender=org.freedesktop.DBus -> destination=:1.16 serial=4 reply_serial=2
   uint32 1
method call time=1686905273.985317 sender=:1.16 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/interface/'"
method return time=1686905273.985359 sender=org.freedesktop.DBus -> destination=:1.16 serial=5 reply_serial=3
method call time=1686905273.985373 sender=:1.16 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/peripherals/mouse/'"
method return time=1686905273.985394 sender=org.freedesktop.DBus -> destination=:1.16 serial=6 reply_serial=4
method call time=1686905273.985619 sender=:1.16 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/sound/'"
method return time=1686905273.985647 sender=org.freedesktop.DBus -> destination=:1.16 serial=7 reply_serial=5
method call time=1686905273.985660 sender=:1.16 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/privacy/'"
method return time=1686905273.985680 sender=org.freedesktop.DBus -> destination=:1.16 serial=8 reply_serial=6
method call time=1686905273.985690 sender=:1.16 -> destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/wm/preferences/'"
method return time=1686905273.985703 sender=org.freedesktop.DBus -> destination=:1.16 serial=9 reply_serial=7
method call time=1686905273.985712 sender=:1.16 -> destination=org.freedesktop.DBus serial=8 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/a11y/'"
method return time=1686905273.985731 sender=org.freedesktop.DBus -> destination=:1.16 serial=10 reply_serial=8
method call time=1686905273.985743 sender=:1.16 -> destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/a11y/interface/'"
method return time=1686905273.985765 sender=org.freedesktop.DBus -> destination=:1.16 serial=11 reply_serial=9
method call time=1686905274.008178 sender=:1.17 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1686905274.008199 sender=org.freedesktop.DBus -> destination=:1.17 serial=1 reply_serial=1
   string ":1.17"
signal time=1686905274.008211 sender=org.freedesktop.DBus -> destination=(null destination) serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.17"
   string ""
   string ":1.17"
signal time=1686905274.008228 sender=org.freedesktop.DBus -> destination=:1.17 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.17"
method call time=1686905274.008356 sender=:1.17 -> destination=org.a11y.Bus serial=2 path=/org/a11y/bus; interface=org.a11y.Bus; member=GetAddress
method return time=1686905274.008942 sender=:1.12 -> destination=:1.17 serial=10 reply_serial=2
   string "unix:path=/run/user/1000/at-spi/bus_0,guid=508554e6f0e0c584b4e4c43c648c219b"
method call time=1686905274.056251 sender=:1.16 -> destination=org.freedesktop.DBus serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gnome.SessionManager'"
method return time=1686905274.056286 sender=org.freedesktop.DBus -> destination=:1.16 serial=12 reply_serial=10
method call time=1686905274.056293 sender=:1.16 -> destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gnome.SessionManager"
error time=1686905274.056304 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=11
   string "Could not get owner of name 'org.gnome.SessionManager': no such name"
method call time=1686905274.056975 sender=:1.16 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gnome.SessionManager'"
method return time=1686905274.057006 sender=org.freedesktop.DBus -> destination=:1.16 serial=14 reply_serial=12
method call time=1686905274.057013 sender=:1.16 -> destination=org.freedesktop.DBus serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.xfce.SessionManager'"
method return time=1686905274.057023 sender=org.freedesktop.DBus -> destination=:1.16 serial=15 reply_serial=13
method call time=1686905274.057029 sender=:1.16 -> destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.xfce.SessionManager"
error time=1686905274.057038 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=14
   string "Could not get owner of name 'org.xfce.SessionManager': no such name"
method call time=1686905274.057823 sender=:1.16 -> destination=org.freedesktop.DBus serial=15 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.xfce.SessionManager'"
method return time=1686905274.057856 sender=org.freedesktop.DBus -> destination=:1.16 serial=17 reply_serial=15
method call time=1686905274.057863 sender=:1.16 -> destination=org.freedesktop.DBus serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop',arg0='org.freedesktop.portal.Inhibit'"
method return time=1686905274.057875 sender=org.freedesktop.DBus -> destination=:1.16 serial=18 reply_serial=16
method call time=1686905274.057881 sender=:1.16 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.Inhibit',path='/org/freedesktop/portal/desktop'"
method return time=1686905274.057890 sender=org.freedesktop.DBus -> destination=:1.16 serial=19 reply_serial=17
method call time=1686905274.057904 sender=:1.16 -> destination=org.freedesktop.DBus serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Desktop'"
method return time=1686905274.057927 sender=org.freedesktop.DBus -> destination=:1.16 serial=20 reply_serial=18
method call time=1686905274.058067 sender=:1.16 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.portal.Desktop"
   uint32 0
error time=1686905274.058096 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=19
   string "The name org.freedesktop.portal.Desktop was not provided by any .service files"
method call time=1686905274.059521 sender=:1.16 -> destination=org.freedesktop.DBus serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
error time=1686905274.059550 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=20
   string "Could not get owner of name 'org.freedesktop.portal.Desktop': no such name"
method call time=1686905274.060470 sender=:1.16 -> destination=org.freedesktop.DBus serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Desktop'"
method return time=1686905274.060506 sender=org.freedesktop.DBus -> destination=:1.16 serial=23 reply_serial=21
method call time=1686905274.060513 sender=:1.16 -> destination=org.freedesktop.DBus serial=22 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop',arg0='org.freedesktop.portal.Inhibit'"
method return time=1686905274.060525 sender=org.freedesktop.DBus -> destination=:1.16 serial=24 reply_serial=22
method call time=1686905274.060531 sender=:1.16 -> destination=org.freedesktop.DBus serial=23 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.Inhibit',path='/org/freedesktop/portal/desktop'"
method return time=1686905274.060549 sender=org.freedesktop.DBus -> destination=:1.16 serial=25 reply_serial=23
method call time=1686905274.121425 sender=:1.16 -> destination=org.freedesktop.DBus serial=24 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Documents'"
method return time=1686905274.121471 sender=org.freedesktop.DBus -> destination=:1.16 serial=26 reply_serial=24
method call time=1686905274.121481 sender=:1.16 -> destination=org.freedesktop.DBus serial=25 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Documents"
error time=1686905274.121494 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=25
   string "Could not get owner of name 'org.freedesktop.portal.Documents': no such name"
method call time=1686905274.122396 sender=:1.16 -> destination=org.freedesktop.DBus serial=26 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Documents'"
method return time=1686905274.122438 sender=org.freedesktop.DBus -> destination=:1.16 serial=28 reply_serial=26
method call time=1686905274.211742 sender=:1.16 -> destination=org.freedesktop.DBus serial=27 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gtk/settings/file-chooser/'"
method return time=1686905274.211789 sender=org.freedesktop.DBus -> destination=:1.16 serial=29 reply_serial=27
method call time=1686905274.309114 sender=:1.16 -> destination=org.freedesktop.DBus serial=28 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.secrets',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/secrets',arg0='org.freedesktop.Secret.Service'"
method return time=1686905274.309178 sender=org.freedesktop.DBus -> destination=:1.16 serial=30 reply_serial=28
method call time=1686905274.309186 sender=:1.16 -> destination=org.freedesktop.DBus serial=29 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.secrets',interface='org.freedesktop.Secret.Service',path='/org/freedesktop/secrets'"
method return time=1686905274.309204 sender=org.freedesktop.DBus -> destination=:1.16 serial=31 reply_serial=29
method call time=1686905274.309212 sender=:1.16 -> destination=org.freedesktop.DBus serial=30 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.secrets'"
method return time=1686905274.309226 sender=org.freedesktop.DBus -> destination=:1.16 serial=32 reply_serial=30
method call time=1686905274.309233 sender=:1.16 -> destination=org.freedesktop.DBus serial=31 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.secrets"
   uint32 0
method return time=1686905274.309250 sender=org.freedesktop.DBus -> destination=:1.16 serial=33 reply_serial=31
   uint32 2
method call time=1686905274.309876 sender=:1.16 -> destination=org.freedesktop.DBus serial=32 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.secrets"
method return time=1686905274.309916 sender=org.freedesktop.DBus -> destination=:1.16 serial=34 reply_serial=32
   string ":1.3"
method call time=1686905274.310698 sender=:1.16 -> destination=:1.3 serial=33 path=/org/freedesktop/secrets; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.freedesktop.Secret.Service"
method return time=1686905274.312278 sender=:1.3 -> destination=:1.16 serial=6 reply_serial=33
   array [
      dict entry(
         string "Collections"
         variant             array [
               object path "/org/freedesktop/secrets/collection/session"
               object path "/org/freedesktop/secrets/collection/login"
            ]
      )
   ]
method call time=1686905274.320334 sender=:1.16 -> destination=:1.3 serial=34 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=OpenSession
   string "dh-ietf1024-sha256-aes128-cbc-pkcs7"
   variant       array of bytes [
         d1 27 6b 22 dc a1 00 75 6c 5b c2 72 89 bb 11 fa 80 00 e5 fb cc 78 80
         9a 21 2f b6 8b 50 ec f7 81 8a f1 34 1e bb c9 b9 81 e8 a8 84 7b b7 17
         24 bd f9 11 5c 96 75 a8 d8 61 1c 81 eb 83 5b dc d3 9c a2 45 4c 35 e6
         d6 4e 4a 11 c1 0b 50 b4 2b 16 13 cd fd b3 bb 87 46 99 5f a1 2e e4 db
         63 f2 a3 ae 5f 8a 46 70 06 4d fd 46 69 81 11 60 05 f4 6d 51 b1 1e 40
         a2 cb 19 e6 c9 93 eb 8a 28 7d 7a 70 b8
      ]
method return time=1686905274.336467 sender=:1.3 -> destination=:1.16 serial=7 reply_serial=34
   variant       array of bytes [
         ec 82 ee da ca 3d 81 6f f9 03 9d 26 ed 73 ff 4a e3 b8 f6 83 41 89 5b
         34 4b f2 3f 6b 6b fc 12 75 90 ca 59 b8 32 9c 42 ec 2b 8f a7 32 80 7b
         7e 22 02 86 7d 79 7e 80 e2 4b ca bf b9 38 3f a4 48 b6 f6 93 5a a1 0b
         e1 b2 3b df 6b f9 05 a6 03 c9 62 2d 62 09 83 bd b9 e6 b4 d2 33 e0 c9
         00 cc c5 91 e8 2a 7a 48 20 af 9c 52 79 ba ab 63 99 1c 65 00 a3 83 79
         c9 3e 50 10 58 29 68 66 8a 36 0d b7 75
      ]
   object path "/org/freedesktop/secrets/session/s1"
method call time=1686905274.345914 sender=:1.16 -> destination=:1.3 serial=35 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=SearchItems
   array [
      dict entry(
         string "server"
         string "Libera Chat"
      )
      dict entry(
         string "xdg:schema"
         string "im.srain.Srain.ServerPassword"
      )
   ]
method return time=1686905274.347754 sender=:1.3 -> destination=:1.16 serial=8 reply_serial=35
   array [
   ]
   array [
   ]
method call time=1686905274.349342 sender=:1.16 -> destination=:1.3 serial=36 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=SearchItems
   array [
      dict entry(
         string "user"
         string "jl2"
      )
      dict entry(
         string "server"
         string "Libera Chat"
      )
      dict entry(
         string "xdg:schema"
         string "im.srain.Srain.UserPassword"
      )
   ]
method return time=1686905274.351288 sender=:1.3 -> destination=:1.16 serial=9 reply_serial=36
   array [
   ]
   array [
      object path "/org/freedesktop/secrets/collection/login/1"
   ]
method call time=1686905274.352607 sender=:1.16 -> destination=:1.3 serial=37 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=Unlock
   array [
      object path "/org/freedesktop/secrets/collection/login/1"
   ]
method return time=1686905274.355908 sender=:1.3 -> destination=:1.16 serial=10 reply_serial=37
   array [
      object path "/org/freedesktop/secrets/collection/login/1"
   ]
   object path "/"
method call time=1686905274.358282 sender=:1.16 -> destination=:1.3 serial=38 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=GetSecrets
   array [
      object path "/org/freedesktop/secrets/collection/login/1"
   ]
   object path "/org/freedesktop/secrets/session/s1"
method return time=1686905274.360982 sender=:1.3 -> destination=:1.16 serial=11 reply_serial=38
   array [
      dict entry(
         object path "/org/freedesktop/secrets/collection/login/1"
         struct {
            object path "/org/freedesktop/secrets/session/s1"
            array of bytes [
               74 52 4b 9d d2 15 36 34 40 1c 1d aa ad 1a c7 7f
            ]
            array of bytes [
               c0 fc 39 d0 2c 73 86 53 ff 95 34 40 a6 58 09 be
            ]
            string "text/plain"
         }
      )
   ]
method call time=1686905274.371626 sender=:1.16 -> destination=:1.3 serial=39 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=SearchItems
   array [
      dict entry(
         string "channel"
         string "Libera Chat"
      )
      dict entry(
         string "server"
         string "Libera Chat"
      )
      dict entry(
         string "xdg:schema"
         string "im.srain.Srain.ChannelPassword"
      )
   ]
method return time=1686905274.375326 sender=:1.3 -> destination=:1.16 serial=12 reply_serial=39
   array [
   ]
   array [
   ]
method call time=1686905274.419416 sender=:1.16 -> destination=:1.3 serial=40 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=SearchItems
   array [
      dict entry(
         string "channel"
         string "#archlinux-offtopic"
      )
      dict entry(
         string "server"
         string "Libera Chat"
      )
      dict entry(
         string "xdg:schema"
         string "im.srain.Srain.ChannelPassword"
      )
   ]
method return time=1686905274.420461 sender=:1.3 -> destination=:1.16 serial=13 reply_serial=40
   array [
   ]
   array [
   ]
method call time=1686905274.433924 sender=:1.16 -> destination=:1.3 serial=41 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=SearchItems
   array [
      dict entry(
         string "channel"
         string "#archlinux"
      )
      dict entry(
         string "server"
         string "Libera Chat"
      )
      dict entry(
         string "xdg:schema"
         string "im.srain.Srain.ChannelPassword"
      )
   ]
method return time=1686905274.435000 sender=:1.3 -> destination=:1.16 serial=14 reply_serial=41
   array [
   ]
   array [
   ]
method call time=1686905274.446223 sender=:1.16 -> destination=:1.3 serial=42 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=SearchItems
   array [
      dict entry(
         string "channel"
         string "phrik"
      )
      dict entry(
         string "server"
         string "Libera Chat"
      )
      dict entry(
         string "xdg:schema"
         string "im.srain.Srain.ChannelPassword"
      )
   ]
method return time=1686905274.447231 sender=:1.3 -> destination=:1.16 serial=15 reply_serial=42
   array [
   ]
   array [
   ]
method call time=1686905274.461597 sender=:1.16 -> destination=org.freedesktop.DBus serial=43 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/'"
method return time=1686905274.461637 sender=org.freedesktop.DBus -> destination=:1.16 serial=35 reply_serial=43
method call time=1686905274.461659 sender=:1.16 -> destination=org.freedesktop.DBus serial=44 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/http/'"
method return time=1686905274.461681 sender=org.freedesktop.DBus -> destination=:1.16 serial=36 reply_serial=44
method call time=1686905274.461691 sender=:1.16 -> destination=org.freedesktop.DBus serial=45 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/https/'"
method return time=1686905274.461709 sender=org.freedesktop.DBus -> destination=:1.16 serial=37 reply_serial=45
method call time=1686905274.461840 sender=:1.16 -> destination=org.freedesktop.DBus serial=46 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/ftp/'"
method return time=1686905274.461860 sender=org.freedesktop.DBus -> destination=:1.16 serial=38 reply_serial=46
method call time=1686905274.461866 sender=:1.16 -> destination=org.freedesktop.DBus serial=47 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/socks/'"
method return time=1686905274.461886 sender=org.freedesktop.DBus -> destination=:1.16 serial=39 reply_serial=47
method call time=1686905274.461899 sender=:1.16 -> destination=org.freedesktop.DBus serial=48 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/'"
method return time=1686905274.461918 sender=org.freedesktop.DBus -> destination=:1.16 serial=40 reply_serial=48
method call time=1686905274.462020 sender=:1.16 -> destination=org.freedesktop.DBus serial=49 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/http/'"
method return time=1686905274.462033 sender=org.freedesktop.DBus -> destination=:1.16 serial=41 reply_serial=49
method call time=1686905274.462039 sender=:1.16 -> destination=org.freedesktop.DBus serial=50 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/https/'"
method return time=1686905274.462048 sender=org.freedesktop.DBus -> destination=:1.16 serial=42 reply_serial=50
method call time=1686905274.462053 sender=:1.16 -> destination=org.freedesktop.DBus serial=51 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/ftp/'"
method return time=1686905274.462063 sender=org.freedesktop.DBus -> destination=:1.16 serial=43 reply_serial=51
method call time=1686905274.462106 sender=:1.16 -> destination=org.freedesktop.DBus serial=52 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/system/proxy/socks/'"
method return time=1686905274.462126 sender=org.freedesktop.DBus -> destination=:1.16 serial=44 reply_serial=52
method call time=1686905274.475637 sender=:1.16 -> destination=org.freedesktop.DBus serial=53 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.gtk.Settings',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/gtk/Settings',arg0='org.gtk.Settings'"
method return time=1686905274.475670 sender=org.freedesktop.DBus -> destination=:1.16 serial=45 reply_serial=53
method call time=1686905274.475692 sender=:1.16 -> destination=org.freedesktop.DBus serial=54 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.gtk.Settings',interface='org.gtk.Settings',path='/org/gtk/Settings'"
method return time=1686905274.475716 sender=org.freedesktop.DBus -> destination=:1.16 serial=46 reply_serial=54
method call time=1686905274.475730 sender=:1.16 -> destination=org.freedesktop.DBus serial=55 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gtk.Settings'"
method return time=1686905274.475753 sender=org.freedesktop.DBus -> destination=:1.16 serial=47 reply_serial=55
method call time=1686905274.476099 sender=:1.16 -> destination=org.freedesktop.DBus serial=56 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.gtk.Settings"
   uint32 0
error time=1686905274.476144 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=56
   string "The name org.gtk.Settings was not provided by any .service files"
method call time=1686905274.507855 sender=:1.16 -> destination=org.freedesktop.DBus serial=57 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gtk.Settings"
error time=1686905274.507918 sender=org.freedesktop.DBus -> destination=:1.16 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=57
   string "Could not get owner of name 'org.gtk.Settings': no such name"
method call time=1686905279.231645 sender=:1.16 -> destination=org.freedesktop.DBus serial=58 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=ReleaseName
   string "im.srain.Srain"
signal time=1686905279.231724 sender=org.freedesktop.DBus -> destination=:1.16 serial=50 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string "im.srain.Srain"
signal time=1686905279.231757 sender=org.freedesktop.DBus -> destination=(null destination) serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "im.srain.Srain"
   string ":1.16"
   string ""
method return time=1686905279.231796 sender=org.freedesktop.DBus -> destination=:1.16 serial=51 reply_serial=58
   uint32 1
signal time=1686905279.265279 sender=org.freedesktop.DBus -> destination=:1.17 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.17"
signal time=1686905279.265334 sender=org.freedesktop.DBus -> destination=(null destination) serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.17"
   string ":1.17"
   string ""
signal time=1686905279.265524 sender=org.freedesktop.DBus -> destination=:1.16 serial=52 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.16"
signal time=1686905279.265579 sender=org.freedesktop.DBus -> destination=(null destination) serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.16"
   string ":1.16"
   string ""

Last edited by jl2 (2023-06-16 08:52:35)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#9 2023-06-16 12:36:01

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

"org.freedesktop.secrets"
"org.freedesktop.StatusNotifierWatcher"

But the client doesn't seem to talk to any SNI at all.
If it's supposed to (because systray icon) there may be a bug where the code immediately tries the legacy systray code and fails.
Can you disable the systray thing in srain?

Offline

#10 2023-06-16 12:42:45

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 171

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

On my laptop I could resolve the issue by reinstalling the gtk3 and gtkmm3 packages. I have to confirm this for my workstation, I will check on Monday.

pacman -S gtkmm3 gtk3 --overwrite='*'

Last edited by sandstorm (2023-06-16 12:43:09)

Offline

#11 2023-06-16 15:13:58

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

seth wrote:

"org.freedesktop.secrets"
"org.freedesktop.StatusNotifierWatcher"

But the client doesn't seem to talk to any SNI at all.
If it's supposed to (because systray icon) there may be a bug where the code immediately tries the legacy systray code and fails.
Can you disable the systray thing in srain?

No, in that case I'll just ignore it:
https://github.com/swaywm/sway/issues/3 … 1212705724
I don't like waybar/polybar, before you ask.
and no - reinstalling didn't help. I guess the problem is the lack of a systray.

Last edited by jl2 (2023-06-16 15:42:38)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#12 2023-06-16 18:54:23

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

It would be good to test an application where you can toggle the systray element to see whether it's the crucial part.

"org.freedesktop.StatusNotifierHost-610"
"org.kde.StatusNotifierHost-610"

You do seem to have /some/ systray prvider, though?

Offline

#13 2023-06-17 09:46:57

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

do you know an example?
well swaybar does have one, steam, jamesdst and another can display it.
see the link in #11


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#14 2023-06-17 12:39:23

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

claws mail has that thing optionial (you might have to activate the notification plugin) and is gtk3…

Offline

#15 2023-06-17 14:32:01

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

I just saw that vlc has it optional. I can toggle it without any problem
https://github.com/swaywm/sway/issues/3799 - says that some x notfications won't show up.
note that srain isn't an x application - tested with xorg-xeyes smile

Last edited by jl2 (2023-06-17 14:36:58)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#16 2023-06-17 20:41:06

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

vlc defaults to the Qt GUI, the message is from gtk - so you'll have to test some GTK client.

Offline

#17 2023-06-19 10:12:22

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

here's with the plugin enabled (I didn't configure the mail recieving correctly but it's irrelevant):

(claws-mail:27369): Gdk-CRITICAL **: 12:07:38.307: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:27369): Gdk-CRITICAL **: 12:07:38.307: gdk_monitor_get_width_mm: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:27369): Gdk-CRITICAL **: 12:07:38.307: gdk_monitor_get_height_mm: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:27369): Gtk-CRITICAL **: 12:07:38.388: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(claws-mail:27369): Gtk-CRITICAL **: 12:07:38.440: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(claws-mail:27369): Gtk-WARNING **: 12:07:38.441: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:38.441: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:38.483: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:38.484: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:41.641: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:41.641: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:41.715: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:41.715: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gdk-CRITICAL **: 12:07:59.597: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:27369): Gtk-WARNING **: 12:07:59.679: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:07:59.679: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:14.468: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:14.468: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:14.799: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:14.799: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:20.206: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:20.206: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:20.299: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:20.299: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:22.141: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:22.141: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:22.503: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:22.503: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:22.876: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:22.876: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:23.143: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:23.143: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:23.468: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:23.468: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:23.820: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:23.820: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:25.914: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:27369): Gtk-WARNING **: 12:08:25.914: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

without:

(claws-mail:29171): Gdk-CRITICAL **: 12:08:28.707: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:29171): Gdk-CRITICAL **: 12:08:28.707: gdk_monitor_get_width_mm: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:29171): Gdk-CRITICAL **: 12:08:28.707: gdk_monitor_get_height_mm: assertion 'GDK_IS_MONITOR (monitor)' failed

(claws-mail:29171): Gtk-CRITICAL **: 12:08:28.844: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(claws-mail:29171): Gtk-WARNING **: 12:08:28.845: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:28.845: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:28.876: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:28.876: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:30.015: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:30.015: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:30.269: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:30.269: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:30.556: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:30.556: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:31.248: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:31.248: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:33.109: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:33.109: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:34.751: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

(claws-mail:29171): Gtk-WARNING **: 12:08:34.751: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)

4th line in first output:

(claws-mail:27369): Gtk-CRITICAL **: 12:07:38.388: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

GTK seems to have pretty much errors on both.
Is GDK a part of GTK?


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#18 2023-06-19 12:18:49

seth
Member
Registered: 2012-09-03
Posts: 58,370

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

So it's the systray icon which seems to default to xembed?
It seems to be a gtk bug rather than a sway one because you /have/ a StatusNotifierHost (though looks like some KDE thing??)

---
"Gimp Drawing Kit" (before gtk was "primarily intended to be used on the GNOME desktop" it was the GIMP Tool Kit…)

Offline

#19 2023-06-19 13:06:46

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 442
Website

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Well I uninstalled every rest I found that poped up under -Qs kde (I DID know what i was uninstalling)
I found a package called 'libappindicator-gtk3'. uninstalling it and rebooting didn't help, so I reinstalled it.
Xembeded isn't supported by swaybar: https://github.com/swaywm/sway/issues/3799
It says to move to Status Notifier Items Instead.
I found the package xembed-sni-proxy-git, sounds like what I need!
EDIT: it doesn't seem to work.
EDIT: should I open a bug report/feature request (for GTK)?

Last edited by jl2 (2023-06-19 15:24:34)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#20 2023-10-19 15:10:05

AqLEpyFrgUqqKB
Member
Registered: 2023-09-23
Posts: 2

Re: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

jl2 wrote:

Well I uninstalled every rest I found that poped up under -Qs kde (I DID know what i was uninstalling)
I found a package called 'libappindicator-gtk3'. uninstalling it and rebooting didn't help, so I reinstalled it.
Xembeded isn't supported by swaybar: https://github.com/swaywm/sway/issues/3799
It says to move to Status Notifier Items Instead.
I found the package xembed-sni-proxy-git, sounds like what I need!
EDIT: it doesn't seem to work.
EDIT: should I open a bug report/feature request (for GTK)?

Installing libappindicator-gtk3 solved my problem with missing tray icon with solaar.

Thanks.

Offline

Board footer

Powered by FluxBB