Bug 458083 - Custom Canvas Input Profile is not remembered upon program restart
Summary: Custom Canvas Input Profile is not remembered upon program restart
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-20 04:58 UTC by Jennifer Reuter
Modified: 2022-09-07 14:00 UTC (History)
1 user (show)

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


Attachments
'My Defaults' Input Profile (1.42 KB, text/plain)
2022-08-20 04:58 UTC, Jennifer Reuter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jennifer Reuter 2022-08-20 04:58:04 UTC
Created attachment 151439 [details]
'My Defaults' Input Profile

SUMMARY
***
When creating a new Input Profile for Canvas Input, Krita doesn't save the Input Profile (or any edits made to "Krita Default") upon closing and restarting the program.

***

STEPS TO REPRODUCE
1. Navigate to Settings > Configure Krita > Edit Profiles.
2. Click 'Reset All' for a fresh start. In the krita/input folder, all default '.profile' files exist.
3. Duplicate "Krita Default", rename it to "My Defaults". Close the dialogue.
4. The setting entries get reversed in order. E.g. Activate Line Tool is at the top of the list instead of the bottom in 'Tool Invocation'.
5. Make a change to the input settings while 'My Defaults' is active, e.g. set Activate Line Tool to "` + Left Button".
6. Click Ok in the Configure Input dialogue box.
7. mydefaults.profile appears in the krita/input folder.
8. Use the program with the new invocation: it works.
9. Close the program.
10. Re-open the program and re-navigate to Configure Krita > Canvas Input.

OBSERVED RESULT
The Input Profile dropdown does not show the 'My Defaults' profile, despite still being visible in the krita/input folder.

EXPECTED RESULT
Krita loads the mydefaults.profile in the dropdown for selection, or automatic detection.

SOFTWARE/OS VERSIONS
Build ABI: x86_64-little_endian-llp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19044
Pretty Productname: Windows 10 (10.0)
Product Type: windows
Product Version: 10

Qt Version:
Version (compiled): 5.12.12
Version (loaded): 5.12.12

ADDITIONAL INFORMATION

I've attached the 'mydefaults.profile' file, because I noticed that the custom shortcuts reverse the order of entries within a category, but I do not know if this is expected behaviour.

This is not an issue new to 5.1.0, I've had it for quite a while now and don't know where in the program there might be a hiccup preventing me from saving inputs. In a similar way, the Shortcut Scheme, when I import one, shows it as 'Default' when selected in the drop-down at the bottom of the Shortcuts settings, but at least they are remembered between sessions.

Here's the Krita Usage Log from the above test session:

SESSION: 20 Aug 2022 14:39:56 +1000. Executing C:\Program Files\Krita (x64)\bin\krita.exe

Krita Version: 5.1.0, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 3856
-- -- -- -- -- -- -- --
20 Aug 2022 14:39:56 +1000: Style: fusion. Available styles: windowsvista, Windows, Fusion
20 Aug 2022 14:40:08 +1000: Database is up to date. Version: 0.0.17, created by Krita 5.1.0, at Fri Aug 19 13:30:01 2022
20 Aug 2022 14:40:12 +1000: Could not load resource patterns/krita_EK4500.pat
20 Aug 2022 14:40:12 +1000: Could not load resource patterns/krita_Xj4500.pat
20 Aug 2022 14:40:12 +1000: Could not load resource patterns/krita_Xm4500.pat
20 Aug 2022 14:40:12 +1000: Non-store package - creating updater
20 Aug 2022 14:43:43 +1000: Created image "Unnamed", 3840 * 2160 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1
20 Aug 2022 14:44:53 +1000: CLOSING SESSION
Comment 1 Jennifer Reuter 2022-08-20 06:07:16 UTC
UPDATE:

I reset the settings via Settings > Reset All Settings. Whatever conflict was happening was cleared up. It now loads the files in the /input (and /shortcuts) folder just fine!
Comment 2 Halla Rempt 2022-09-07 14:00:29 UTC
Okay, thanks for checking back. I'll close this report then.