[konsole] [Bug 455823] New: Wallpaper FillStyle could not save corretly

2022-06-22 Thread LiuBodong
https://bugs.kde.org/show_bug.cgi?id=455823

Bug ID: 455823
   Summary: Wallpaper FillStyle could not save corretly
   Product: konsole
   Version: 22.04.2
  Platform: Archlinux Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: emulation
  Assignee: konsole-de...@kde.org
  Reporter: liubodong2...@126.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 455823] Wallpaper FillStyle could not save corretly

2022-06-22 Thread LiuBodong
https://bugs.kde.org/show_bug.cgi?id=455823

LiuBodong  changed:

   What|Removed |Added

  Component|emulation   |general

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 455823] Wallpaper FillStyle could not save corretly

2022-06-24 Thread LiuBodong
https://bugs.kde.org/show_bug.cgi?id=455823

--- Comment #1 from LiuBodong  ---
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?

-- 
You are receiving this mail because:
You are watching all bug changes.