Bug 503702 - Krusader doesn't remember "Show Previews" even if it is set as default
Summary: Krusader doesn't remember "Show Previews" even if it is set as default
Status: RESOLVED WORKSFORME
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.9.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-03 09:28 UTC by Aquamagister
Modified: 2025-06-17 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aquamagister 2025-05-03 09:28:39 UTC
SUMMARY
Krusader doesn't remember "Show Previews" even if it is set as default. Whenever I restart the app I have to check the box again.

STEPS TO REPRODUCE
1. Open Krusader.
2. Go to Settings > Configure Krusader... > Panel > View > Detailed View/Brief View > Show previews by default.
3. Check the box Show previews by default.

OBSERVED RESULT
Settings for showing previews is not remembered after closing and opening Krusader.

EXPECTED RESULT
Krusader should remember settings like Show previews.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 32 ร— AMD Ryzen 9 9950X3D 16-Core Processor
Memory: 67.0 GB of RAM
Graphics Processor: AMD Radeon Graphics (AMD RX 9070/9070 XT)

ADDITIONAL INFORMATION
N/A
Comment 1 Toni Asensi Esteve 2025-05-04 21:11:33 UTC
That setting should be saved in `~/.config/krusaderrc`. If you close Krusader and you execute `grep ShowPreviews ~/.config/krusaderrc `, do you see something like:
    ShowPreviews=false
    ShowPreviews=true
?
Comment 2 Aquamagister 2025-05-05 07:44:22 UTC
(In reply to Toni Asensi Esteve from comment #1)
> That setting should be saved in `~/.config/krusaderrc`. If you close
> Krusader and you execute `grep ShowPreviews ~/.config/krusaderrc `, do you
> see something like:
>     ShowPreviews=false
>     ShowPreviews=true
> ?

I noticed that it works properly if I use Startup profile: <Last session>, but it doesn't work if I create a new profile and then I have to edit the config file for Krusader manually in Kate and set everywhere ShowPreviews=true.
Comment 3 Toni Asensi Esteve 2025-05-11 22:15:39 UTC
With that new information, would you write a (more or less detailed) list of steps to reproduce the bug?

Note: This was the previous version:
    STEPS TO REPRODUCE
    1. Open Krusader.
    2. Go to Settings > Configure Krusader... > Panel > View > Detailed View/Brief View > Show previews by default.
    3. Check the box Show previews by default.
Comment 4 Aquamagister 2025-05-12 12:26:47 UTC
I clicked on icon Profiles and then Add new entry. I created a new profile and set it as a default profile. When I closed Krusader with my personal settings like Show Previews, it was reset. So I guess the issue is in new profiles. If I use the default profile, everything works fine.
Comment 5 Toni Asensi Esteve 2025-05-18 21:41:48 UTC
OK. I'm thinking about adding a text to the Krusader manual. Does that text help you in your case?:
    If you want to make changes to a profile: you can load that profile, change some settings, go to Window > Profiles and overwrite that profile.

Notes: 
- Other kinds of profiles in Krusader (when synchronizing, when searching...) work that way.

- If it can be helpful, on <https://docs.kde.org/trunk5/en/krusader/krusader/profiles.html> we can read "The default startup profile will be used when starting Krusader, but you can override it with a command-line option" and we can also read more information.
Comment 6 Bug Janitor Service 2025-06-02 03:47:29 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2025-06-17 03:47:47 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.