Bug 481493 - Configuration cannot be saved on Win11. When I change the configuration, then click apply and OK, then close Okular. The next time I open Okular, all configurations remains
Summary: Configuration cannot be saved on Win11. When I change the configuration, then...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-18 02:25 UTC by sutong.jin
Modified: 2024-02-18 17:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sutong.jin 2024-02-18 02:25:10 UTC
SUMMARY
When I change the configuration, then click apply and OK, then close Okular. The next time I open Okular, all configurations remains to be default.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 sutong.jin 2024-02-18 02:53:48 UTC
When I try to edit the config file using task manager, I can find the file and code for all configuration, but I do not have access to the file.
Comment 2 Albert Astals Cid 2024-02-18 17:02:20 UTC
Did you install Okular from the Microsoft Store?

Which configuration in particular you can't save?

Do you have more than one okular opened while trying to change the configuration?
Comment 3 sutong.jin 2024-02-18 17:13:00 UTC
(In reply to Albert Astals Cid from comment #2)
> Did you install Okular from the Microsoft Store?
> 
> Which configuration in particular you can't save?
> 
> Do you have more than one okular opened while trying to change the
> configuration?

1. Yes, from Microsoft Store
2. Yesterday, all configurations can not be remembered including the size/position of the window, just like I first use it.
Then I tried to change the access of windowsapps directory to be 'NT Service/Trustedinstaller', it seems that configurations are remembered now.
3. No, only one window.

However, there is still a bug. When I turn on 'open file in a new tab', it does not function well when I double click the file in the file browser(it still opens a new window). But it can function when I open a file in 'File-open' in Okular.
Comment 4 Albert Astals Cid 2024-02-18 17:22:33 UTC
Opening in a new tab not working on Windows is a known bug, it's been reported several times, needs someone with time to fix it.

The rest i understand it was a local issue on your computer and is now fixed, so closing the bug.