Bug 455823

Summary: Wallpaper FillStyle could not save corretly
Product: [Applications] konsole Reporter: LiuBodong <liubodong2010>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 22.04.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description LiuBodong 2022-06-23 02:23:02 UTC
SUMMARY
***
When set konsole wallpaper and choose a FillStyle, then click apply. The chosen FillStyle not work.
But when I open the color scheme file, I saw the FillStyle option is always Tile.
And then I manual set the FileStyle to "Stretch" and restart the application, It WORKS!

Some problem may occur during "setWallpaper" method or select FillStyle in frontend 
*** 


STEPS TO REPRODUCE
1. Set konsole wallpaper and choose a FillStyle
2. Click apply button

OBSERVED RESULT
The FillStyle always be Tile

EXPECTED RESULT
FillStyle works corretly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Archlinux 5.18.5-arch1-1
KDE Plasma Version:  5.25.1
KDE Frameworks Version:  5.95.0
Qt Version:  5.15.5

ADDITIONAL INFORMATION
Comment 1 LiuBodong 2022-06-24 09:57:52 UTC
After I debug the source code, I found in ColorSchemeEditor.cpp
```
void ColorSchemeEditor::scalingTypeChanged(QString style)
{
    _colors->setWallpaper(_colors->wallpaper()->path(), style, _colors->wallpaper()->anchor(), _colors->wallpaper()->opacity());
}
```
this method did not transform style from i18n.

Any one who can fix this bug?