Bug 487863

Summary: Ability to right-click paste clipboard contents as wallpaper
Product: [Plasma] plasmashell Reporter: Kotori Itsuka <cmdrkotori2>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: nate, notmart, qydwhotmail
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kotori Itsuka 2024-06-01 04:10:34 UTC
SUMMARY
There is no way to paste clipboard contents to the wallpaper other than saving the clipboard contents to disk via an image editing application and setting the resulting image as a wallpaper.

STEPS TO REPRODUCE
1. Open https://wallhaven.cc/w/yxl66g in firefox
2. Right-click, copy image
3. Right-click desktop

OBSERVED RESULT
No option to paste clipboard image to the desktop

EXPECTED RESULT
Option to paste clipboard image on the desktop

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.1-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6500 XT

ADDITIONAL INFORMATION
I can't right-click-paste in the wallpaper config dialog either.
Comment 1 Nate Graham 2024-06-11 23:26:28 UTC
This isn't a bug, but rather the lack of a feature you apparently expected to exist. :)

Seems pretty niche, I'm not sure about this. To do it, it would have to secretly create a file for the wallpaper and stash it somewhere--what place should it use? If it was a visible location, you might be confused by why a random file appeared somewhere, and move it elsewhere or delete it--and this would break its ability to be the wallpaper. If we saved the file to a secret location to prevent this, then you would have random images in hidden locations that you couldn't find.

Can you outline how exactly you envision this feature to work technically? What do you see as the right way to overcome that challenge?
Comment 2 Kotori Itsuka 2024-06-12 00:04:18 UTC
>This isn't a bug, but rather the lack of a feature you apparently expected to exist. :)
:^)

>Can you outline how exactly you envision this feature to work technically? What do you see as the right way to overcome that challenge?
Stash a file at `~/.cache/plasmashell/wallpaper/clipboard wallpaper.jpg` with lossy 95% jpeg compression. Pasting a new clipboard wallpaper overwrites the old one.
Comment 3 Nate Graham 2024-06-12 16:11:17 UTC
That wouldn't be appropriate, because logically the wallpaper isn't cache data that it's safe to delete at will; it's user data that should be saved when the cache gets cleared for any reason.
Comment 4 Bug Janitor Service 2024-06-27 03:47:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2024-07-12 03:47:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!