Bug 455823 - Wallpaper FillStyle could not save corretly
Summary: Wallpaper FillStyle could not save corretly
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-23 02:23 UTC by LiuBodong
Modified: 2022-06-24 09:57 UTC (History)
0 users

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 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?