Bug 398021 - qtcurve dosn't save settings
Summary: qtcurve dosn't save settings
Status: RESOLVED WORKSFORME
Alias: None
Product: QtCurve
Classification: Frameworks and Libraries
Component: qt5 (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Yichao Yu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-29 14:47 UTC by apache
Modified: 2023-01-11 05:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Manjaro.qtcurve (3.81 KB, text/plain)
2018-08-29 14:47 UTC, apache
Details
config_qtcurve_stylerc (3.64 KB, text/plain)
2018-08-29 14:48 UTC, apache
Details

Note You need to log in before you can comment on or make changes to this bug.
Description apache 2018-08-29 14:47:22 UTC
Created attachment 114684 [details]
Manjaro.qtcurve

qtcurve settings are not remembered. After each reboot thay get back to previous state. 

Here is an example. This is incorrect state after reboot:
https://imgur.com/7GxEpIf
This is gtk application cherrytree with breeze for gtk2 theme. 

Here is how it should look like. Dark background and white text.
https://i.imgur.com/N60rJw9.png
Here are settings responsible for this (I think so). But Plasma doesn't save them.
https://i.imgur.com/kCmGD9a.png

I suspect that Plasma 5 has general problem with saving some settings, because there other bugs reports for different elements of Plasma not saving settings:

https://bugs.kde.org/show_bug.cgi?id=398008

I report them separately. 

Manjaro, Plasma 5.13.4 qt 5.11.1
Framework 5.48.0
4.14.65-1-MANJARO #1 SMP PREEMPT Sat Aug 18 13:29:56 UTC 2018 x86_64 GNU/Linux
Comment 1 apache 2018-08-29 14:48:51 UTC
Created attachment 114685 [details]
config_qtcurve_stylerc

If Plasma could save settings this would work just fine.
Comment 2 Yichao Yu 2018-08-29 16:26:21 UTC
QtCurve uses KConfig for saving the setting. I'll keep this open since that's what was requested in the other issue but in the mean time I'm not sure what we could do differently to fix/workaround it........................
Comment 3 Yichao Yu 2018-08-29 16:28:55 UTC
And if it's a generic issue rather than something that each users has to fix, the component is likely framework-kconfig. Of course even in that case it could still be caused by your local configuration (like if the config directly doesn't have the right write permission etc.).
Comment 4 apache 2018-08-30 07:32:06 UTC
Both files have write permissions

-rw-rw-rw- 1 stylerc

/home/user/.local/share/QtCurve/
-rw-rw-rw- 1 Manjaro.qtcurve
Comment 5 apache 2018-09-13 07:47:40 UTC
I noticed that qtcurve settings always get back to (Current) Preset. That is the real cause of the problem. 

I expected that when I set it to Manjaro.qtcurve it should keep this setting. But it keeps it only until reboot. 

I don't know how to localise this (Current) preset. I would replace it with my own so that system regard it as Current.
Comment 6 apache 2018-10-03 07:28:35 UTC
I change style to breeze, deleted folders:
.config/qtcurve
.local/share/QtCurve
with its files and logout.

Then I chose qtcurve in settings (so at this point files in home should be default and have default permissions) and imported this Manjaro.qtcurve and there was no change. Qtcurve always gets back to current. 

So I think it has nothing to do with my settings. I think it is a bug, but I don't know if this is qtcurve bug or something distribution specific. Can you recreate this behaviour?

Can you tell me it is possible how to edit current preset as a workaround?
Comment 7 apache 2018-10-19 15:57:49 UTC
Any workarounds, anyone?

Here it how it looks in other applications, for example Pinta. See text inside the frame:

https://i.imgur.com/9I2H4QE.png
Comment 8 Justin Zobel 2022-12-01 04:34:43 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 apache 2022-12-12 09:02:06 UTC
I forgot about the issue. Seems to be ok now. You can close it.
Comment 10 Bug Janitor Service 2022-12-27 05:21:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2023-01-11 05:19:47 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!