Bug 408638

Summary: The selected template in 'Create new document' is set to Texture Templates after switching the application language
Product: [Applications] krita Reporter: acc4commissions
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: 4.2.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description acc4commissions 2019-06-13 10:04:55 UTC
SUMMARY
The selected templete in 'Create new document' is always set to 'Texture Templetes' every time after switching the application language. 

I'm sorry if that's intentional.


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

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2019-06-13 10:05:32 UTC
No, it's not, that's definitely a bug.
Comment 2 Halla Rempt 2019-06-14 10:21:24 UTC
Git commit e09e18e550065e1504d0e91514288e8cc0fe6c17 by Boudewijn Rempt.
Committed on 14/06/2019 at 10:21.
Pushed by rempt into branch 'master'.

Use untranslated strings to store the last used open pane

Now switching languages will not automatically select the last
template type because the strings we use to compare the last
used pane in the open dialog isn't the same in, e.g., French
and English...

M  +3    -3    libs/ui/KisMainWindow.cpp
M  +24   -18   libs/ui/KisOpenPane.cpp
M  +3    -3    libs/ui/KisOpenPane.h

https://invent.kde.org/kde/krita/commit/e09e18e550065e1504d0e91514288e8cc0fe6c17
Comment 3 Halla Rempt 2019-06-17 08:18:06 UTC
Git commit 930a4d76b27c8d6ea1e2794cb7441b11eb2c827e by Boudewijn Rempt.
Committed on 17/06/2019 at 08:16.
Pushed by rempt into branch 'krita/4.2'.

Use untranslated strings to store the last used open pane

Now switching languages will not automatically select the last
template type because the strings we use to compare the last
used pane in the open dialog isn't the same in, e.g., French
and English...

M  +3    -3    libs/ui/KisMainWindow.cpp
M  +24   -18   libs/ui/KisOpenPane.cpp
M  +3    -3    libs/ui/KisOpenPane.h

https://invent.kde.org/kde/krita/commit/930a4d76b27c8d6ea1e2794cb7441b11eb2c827e