qt6ct icon indicating copy to clipboard operation
qt6ct copied to clipboard

Font changes not saved in configuration file

Open PeterBBBBB opened this issue 3 years ago • 9 comments

On both Debian & Arch, font changes made in qt6ct gui are not saved on exit. Restarting qt6ct, the original font definition is still there. This relates to .config/qt6ct/qt6ct.conf not fonts.conf

Maybe a recent regression (0.7?) as I'm sure this used to work fine

PeterBBBBB avatar Feb 15 '23 14:02 PeterBBBBB

Not a recent regression, same issue with 0.6. Can't build 0.5 with current Qt6 libraries.

PeterBBBBB avatar Feb 15 '23 16:02 PeterBBBBB

Problem seems intermittent. If [OK] is pressed after the font change, it is usually saved. However, if [Apply] is pressed first, it is usually lost.

PeterBBBBB avatar Feb 18 '23 15:02 PeterBBBBB

I'm unable to reproduce (manjaro + gnome + wayland). Please, provide your qt6ct.conf and "export" output.

trialuser02 avatar Mar 05 '23 07:03 trialuser02

I guess you meant unable to reproduce... ;-) I'm using Xfce with Xorg. I've noticed that font settings are saved after hitting [Apply], but the changes are then overwritten on hitting [OK] after waiting a few seconds (for the change to appear on screen). If qt6ct is closed, after hitting [Apply], or if [OK] hit immediately, the new settings are preserved.

output.txt

qt6ct.conf.txt

PeterBBBBB avatar Mar 05 '23 20:03 PeterBBBBB

Try latest version from git. Looks like it works fine with your config.

trialuser02 avatar Mar 06 '23 17:03 trialuser02

I'm still seeing the problem with latest git. Around 3 seconds after hitting [Apply], the font settings in the dialog are reverted (and that is what is saved on exit)

PeterBBBBB avatar Mar 08 '23 16:03 PeterBBBBB

For test purposes try to disable all style sheets.

trialuser02 avatar Mar 08 '23 18:03 trialuser02

Well done! Disabling 'Sytle Sheets' fixes the problem

PeterBBBBB avatar Mar 09 '23 12:03 PeterBBBBB

I have tested version 0.8 on Debian and Arch, and with a style sheet enabled, the bug is still there.

PeterBBBBB avatar Mar 13 '23 15:03 PeterBBBBB