Bug 447628 - The .profile and .shortcut files aren't being read when there's an alternative Resource Folder location
Summary: The .profile and .shortcut files aren't being read when there's an alternativ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (show other bugs)
Version: 5.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-29 04:22 UTC by Jennifer Reuter
Modified: 2022-08-09 10:59 UTC (History)
1 user (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 Jennifer Reuter 2021-12-29 04:22:38 UTC
SUMMARY
The .profile and .shortcut files in the custom allocated Resource folder aren't being read by Canvas Input Settings or Keyboard Shortcuts, despite newly created files being saved there correctly.


STEPS TO REPRODUCE
1. Allocate a different Resource Folder in General -> Resources configure options. (In my example, instead of on C:/ drive, it's: D:/UserFiles/AppData/Roaming/Krita.)
2. Duplicate "Krita Default" Canvas Input Settings in the 'Edit Profiles' popup. Rename to something else (e.g. "My Default").
3. In 'D:/UserFiles/AppData/Roaming/Krita/input', a 'mydefault.profile' gets created. (Can confirm the settings are different to Krita Default when opened in a text editor)
4. During the current session, settings are remembered.
5. Upon closing Krita, and re-opening it, the profile isn't visible within settings as an option; Krita Default gets picked again.
6. The file 'mydefault.profile' is still visible in the file explorer at the D:/ location.

The above process is equally applicable to .shortcuts files.

OBSERVED RESULT
The program does not remember, or read, the .profile or .shortcuts files in the 'input' and 'shortcuts' folders of my custom allocated Resource folder location.

EXPECTED RESULT
Upon creating my custom Input and Shortcut settings, they should save in the right resource folder AND be read from it.

SOFTWARE/OS VERSIONS
- Windows:  10, Build 19042
- C:/ is located on an SSD, D:/ is located on an HDD.

ADDITIONAL INFORMATION

I've currently gone around the problem by copying my preferred .profile and .shortcuts files into the original C: Resource location. It seems to read them fine there.
Comment 1 Bug Janitor Service 2022-01-04 09:41:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1273
Comment 2 Halla Rempt 2022-08-09 10:59:24 UTC
Fixed with https://invent.kde.org/graphics/krita/-/merge_requests/1499