Strange qt5ct issue solved in Manjaro Unstable

After several qt related updates I restarted and tried copyq and it said:

copyq: using qt5ct plugin
Segmentation fault (core dumped)

I thought it was copyq to blame so I installed xfce4-clipman to use (it works but it doesn't use qt5ct).
I found another app using qt5ct with the same error, then tried just qt5ct and got this:

qt5ct: using qt5ct plugin
Segmentation fault (core dumped)

After a while I checked ~/.config/qt5ct/qt5ct.conf and I just deleted it.

[Appearance]
color_scheme_path=/usr/share/qt5ct/colors/darker.conf
custom_palette=true
icon_theme=Oomox-k
standard_dialogs=gtk2
style=gtk2

[Fonts]
fixed=@Variant(\0\0\0@\0\0\0\b\0H\0\x61\0\x63\0k@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)

[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=/usr/share/qt5ct/qss/fusion-fixes.qss, /usr/share/qt5ct/qss/scrollbar-simple.qss, /usr/share/qt5ct/qss/sliders-simple.qss, /usr/share/qt5ct/qss/tooltip-simple.qss, /usr/share/qt5ct/qss/traynotification-simple.qss
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3

[QSSEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x1d\0\0\0\x9a\0\0\x4\xa1\0\0\x2\xa5\0\0\x2\x1e\0\0\0\xb2\0\0\x4\xa0\0\0\x2\xa4\0\0\0\0\0\0\0\0\x5V\0\0\x2\x1e\0\0\0\xb2\0\0\x4\xa0\0\0\x2\xa4)

[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x41\0\0\0p\0\0\x4\x7f\0\0\x2\xf6\0\0\x2\x42\0\0\0\x8c\0\0\x4~\0\0\x2\xf5\0\0\0\0\0\0\0\0\x5V\0\0\x2\x42\0\0\0\x8c\0\0\x4~\0\0\x2\xf5)

I tried to use qt5ct like always and change everything at once but it crashed and I had to delete the .conf file again, and finally change one section at a time and hit OK, then reload qt5ct until all changes were made:

[Appearance]
color_scheme_path=/home/k/.config/qt5ct/colors/oomox-k3.conf
custom_palette=true
icon_theme=oomox-k
standard_dialogs=default
style=Fusion

[Fonts]
fixed=@Variant(\0\0\0@\0\0\0$\0N\0i\0m\0\x62\0u\0s\0 \0S\0\x61\0n\0s\0 \0N\0\x61\0r\0r\0o\0w@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
general=@Variant(\0\0\0@\0\0\0$\0N\0i\0m\0\x62\0u\0s\0 \0S\0\x61\0n\0s\0 \0N\0\x61\0r\0r\0o\0w@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)

[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=/usr/share/qt5ct/qss/fusion-fixes.qss, /usr/share/qt5ct/qss/scrollbar-simple.qss, /usr/share/qt5ct/qss/sliders-simple.qss, /usr/share/qt5ct/qss/tooltip-simple.qss, /usr/share/qt5ct/qss/traynotification-simple.qss
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3

[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\b\0\0\0L\0\0\x3\xe8\0\0\x2\xcb\0\0\x1\t\0\0\0h\0\0\x3\xe7\0\0\x2\xca\0\0\0\0\0\0\0\0\x5V\0\0\x1\t\0\0\0h\0\0\x3\xe7\0\0\x2\xca)

Now all my qt apps are set like I want them to be, here's obconf-qt:
ksnip_20200606-061155

Maybe because I didn't use gtk in these?

Yes, at least on Arch this was the problem. The gtk2 style is provided by the qt5-styleplugins package. This package probably needs a rebuild. On Manjaro it is in the community repository.

You might want to ask for a rebuild in this thread.

1 Like

Thank you, I did.

After a system update a while ago I noticed qt5-styleplugins was updated, I switched to gtk2 and it is working fine, thanks again @xabbu.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by