Bug: Changed mouse shortcuts don't get saved (Linux)
In the Linux version of Substance Painter, mouse shortcuts can be changed, and they work until the session ends, but do not work in the next session.
After exiting the second session, all 19 mouse shortcuts in "~/.config/Allegorithmic/Substance Painter" are set to the value "@Invalid()" even if only one shortcut had been changed.
I suspect the routine that reads them in from the config file isn't parsing them properly. (This issue does not exist in the Windows version of Substance Painter, which keeps the settings in REG_BINARY registry values instead of parsing a text file.)
Recipe for reproduction:
Run Substance Painter (Linux version). Enter Settings. Set all shortcuts to their default values (to make sure it's starting from a known-good state), then modify a mouse shortcut (e.g. set Camera Translate to the Middle mouse button alone).
Verify that the new shortcut assignment works as intended.
Exit Substance Painter and look at the Shortcuts section of the config file. It will resemble:
Run Substance Painter again. Attempt to use the remapped shortcut key; it doesn't work as intended.
Exit Substance Painter, and again look at the [Shortcuts] section of the config file. It now resembles:
All 19 "@Variant([...])" values have been replaced by "@Invalid()".
Uservoice is made for feature request (not for bug report).
Could you please use the Substance Painter bug reporter, or create a thread on our forum, please?
Additional: when run from a shell prompt, it spits out this line 19 times when it starts up:
QVariant::load: unknown user type with name MouseShortcut.