Bug 405269 - Impossible to remove a wallpaper without changing the current wallpaper
Summary: Impossible to remove a wallpaper without changing the current wallpaper
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-09 15:46 UTC by Patrick Silva
Modified: 2020-01-16 21:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-03-09 15:46:46 UTC
STEPS TO REPRODUCE
1. right click on dekstop, select "Configure desktop"
2. hover over on any wallpaper but your current one
3. click on trash button to remove the hovered wallpaper
4. click on "Ok" or "Apply" buttons

OBSERVED RESULT
wallaper removed in the step 3 is applied

EXPECTED RESULT
After wallpaper removing, "Apply" button should remain greyed out and "Ok" button should close the window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.1
Comment 1 David Edmundson 2019-06-16 15:32:09 UTC
It's deliberate to allow an undo action.
Comment 2 Patrick Silva 2019-06-18 19:28:08 UTC
We already can undo the wallpaper removing by clicking "Restore wallpaper" button. I do not understand as the behavior described in this report is related
to "allow an undo action".
Comment 3 David Edmundson 2019-06-18 19:39:58 UTC
>We already can undo the wallpaper removing by clicking "Restore wallpaper" button.

If we deleted the wallpaper immediately, then you don't have the file there to restore.
Comment 4 Patrick Silva 2019-06-30 22:05:21 UTC
Currently it's impossible to delete a wallpaper without change the current wallpaper.
If you click "Remove wallpaper" button and close the window by clicking
the X button in the upper right corner or "Cancel" button on bottom, desktop
settings window is closed and the wallpaper is NOT removed.
If you click "Ok" or "Apply" buttons after click "Remove wallapper" button, the wallpaper is removed but the current wallapaper is changed.
Comment 5 Nate Graham 2019-06-30 23:04:52 UTC
Thanks, that's helpful.
Comment 6 Patrick Silva 2020-01-16 21:41:03 UTC
fixed on Plasma 5.18 beta!

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0