Hello,
I just updated the system, but with the artix-qt-presets 20250720-1 package, Brave refuses to start. The error is
GLib-GObject: g_type_register_static: assertion 'parent_type > 0' failed
With artix-qt-presets 20250327-1, even after updating the system and putting this package on hold, everything works just fine. So, something is wrong with artix-qt-presets 20250720-1.
Are you on LXQt? We attempted to fix the LXQt systray not displaying some tray icons.
https://gitea.artixlinux.org/artix/desktop-presets/commit/8aefde06fabda27214005c0efcf04640cb4cfb8b
If possible, can you edit your "good" /etc/xdg/lxqt/panel.conf adding statusnotifier before tray and test?
Yes, it's LXQt. I just tried to update the package and put my old panel.conf and apply this patch, but it's not working. Also, if I put my old conf without this patch, it's the same, brave can't start. With the old package, everything is ok. Also, with artix-qt-presets 20250720-1 the calendar in tray looks weird, somehow shrunk. This is the full error for Brave:
[1628:1628:0726/160822.377051:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib-GObject: cannot register existing type 'GtkWidget'
[1628:1628:0726/160822.377069:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[1628:1628:0726/160822.377071:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib-GObject: cannot register existing type 'GtkBuildable'
[1628:1628:0726/160822.377073:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib-GObject: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
[1628:1628:0726/160822.377075:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib: g_once_init_leave_pointer: assertion 'result != 0' failed
[1628:1628:0726/160822.377077:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[1628:1628:0726/160822.377080:ERROR:../src/content/browser/browser_main_loop.cc:278] GLib-GObject: g_type_register_static: assertion 'parent_type > 0' failed
Very weird, /etc/xdg/lxqt/panel.conf was the only changed file in the package.
Ok, I found it. I remember having a similar problem with the Lubuntu theme, so I had to comment out QT_QPA_PLATFORMTHEME=gtk2 in /etc/xdg/lxqt/session.conf. When the package is updated, the config is reset. Now I just disabled it and everything works just fine again.
NoExtract = etc/xdg/lxqt/session.conf in pacman.conf.