Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font changes not saved in configuration file #25

Open
PeterBBBBB opened this issue Feb 15, 2023 · 9 comments · May be fixed by #55
Open

Font changes not saved in configuration file #25

PeterBBBBB opened this issue Feb 15, 2023 · 9 comments · May be fixed by #55

Comments

@PeterBBBBB
Copy link

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
Copy link
Author

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

@PeterBBBBB
Copy link
Author

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.

@trialuser02
Copy link
Owner

trialuser02 commented Mar 5, 2023

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

@PeterBBBBB
Copy link
Author

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

@trialuser02
Copy link
Owner

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

@PeterBBBBB
Copy link
Author

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)

@trialuser02
Copy link
Owner

For test purposes try to disable all style sheets.

@PeterBBBBB
Copy link
Author

Well done!
Disabling 'Sytle Sheets' fixes the problem

@PeterBBBBB
Copy link
Author

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

@trialuser02 trialuser02 reopened this Mar 13, 2023
ilya-fedin added a commit to ilya-fedin/qt6ct that referenced this issue Oct 3, 2024
@ilya-fedin ilya-fedin linked a pull request Oct 3, 2024 that will close this issue
detiam pushed a commit to detiam/qt6ct that referenced this issue Oct 17, 2024
ilya-fedin added a commit to ilya-fedin/qt6ct that referenced this issue Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants