Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: maestro on 26 July 2025, 13:36:00

Title: artix-qt-presets 20250720-1 affects Brave browser
Post by: maestro on 26 July 2025, 13:36:00
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.
Title: Re: artix-qt-presets 20250720-1 affects Brave browser
Post by: nous on 26 July 2025, 14:35:52
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?
Title: Re: artix-qt-presets 20250720-1 affects Brave browser
Post by: maestro on 26 July 2025, 16:23:15
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
Title: Re: artix-qt-presets 20250720-1 affects Brave browser
Post by: nous on 26 July 2025, 22:18:58
Very weird, /etc/xdg/lxqt/panel.conf was the only changed file in the package.
Title: Re: artix-qt-presets 20250720-1 affects Brave browser
Post by: maestro on 27 July 2025, 03:16:50
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.
Title: Re: artix-qt-presets 20250720-1 affects Brave browser
Post by: nous on 27 July 2025, 11:20:15
NoExtract   = etc/xdg/lxqt/session.conf in pacman.conf.