Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: artix-qt-presets 20250720-1 affects Brave browser (Read 610 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

artix-qt-presets 20250720-1 affects Brave browser

Hello,

I just updated the system, but with the artix-qt-presets 20250720-1 package, Brave refuses to start. The error is

Code: [Select]
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.

 

Re: artix-qt-presets 20250720-1 affects Brave browser

Reply #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?

Re: artix-qt-presets 20250720-1 affects Brave browser

Reply #2
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:

Code: [Select]
[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

Re: artix-qt-presets 20250720-1 affects Brave browser

Reply #3
Very weird, /etc/xdg/lxqt/panel.conf was the only changed file in the package.

Re: artix-qt-presets 20250720-1 affects Brave browser

Reply #4
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.

Re: artix-qt-presets 20250720-1 affects Brave browser

Reply #5
NoExtract   = etc/xdg/lxqt/session.conf in pacman.conf.