Created attachment 172594 [details] Spectable have enable automatic clipboard copy when take a screenshot SUMMARY I am using spectacle 24.05.2-1 in wayland When I take a screenshot it not keeps in my clipboard for more of 10 seconds STEPS TO REPRODUCE 1. Take photo 2. keeps the photo in clipboard for a few seconds (maybe 7 or 10) and then it and then it disappears 3. This is stressful, frustrating, it doesn't even save the image and sometimes I lose them, even when I have edited them and want to hit copy. OBSERVED RESULT Problems with the clipboard EXPECTED RESULT Keep the image in the clipboard until I copy something else and change it. Versión de KDE Plasma: 6.0.5 Versión de KDE Frameworks: 6.1.0 Versión de Qt: 6.7.2 Versión del kernel: 6.6.44-1-MANJARO (64 bits) Plataforma gráfica: Wayland thank u very much !
What do you see if you click your clipboard widget? Fwiw I cannot reproduce -- the screenshot persists in the clipboard.
(In reply to fanzhuyifan from comment #1) > What do you see if you click your clipboard widget? Fwiw I cannot reproduce > -- the screenshot persists in the clipboard. When it happened it is show as empty when not it show a thumbnail like image
Did you change the format to jpeg? Possibly duplicate of bug 485096
(In reply to fanzhuyifan from comment #3) > Did you change the format to jpeg? Possibly duplicate of bug 485096 Nope, PNG 97% bro
Do you have the system clipboard service/applet enabled (aka Klipper)? It is enabled in the system tray by default. If you don't, then the clipboard contents will be gone when the Spectacle program terminates. There is nothing that can be done about that. It's just how clipboards work on Linux/Unix operating systems when you don't have a system clipboard service enabled. If you are copying from a screenshot initiated via global shortcut or the -b/--background CLI option, then there should be a system notification for the screenshot that lasts for about the amount of time you mentioned. If you are taking screenshots from global shortcuts or with --background with no system clipboard service, that could explain why the clipboard lasts for that amount of time. This is because the spectacle program lives for as long as that notification is floating on the screen.
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
Created attachment 173138 [details] Photo of KDE clipboard service Do you refer to this? I supossed that it keep always active, it is on my bar
Yes, that's what I was referring to. Currently, I have no idea what the problem could be and am unable to reproduce it. You never have a similar problem with other apps, including other screenshot apps?
(In reply to Noah Davis from comment #8) > Yes, that's what I was referring to. Currently, I have no idea what the > problem could be and am unable to reproduce it. You never have a similar > problem with other apps, including other screenshot apps? Now that we are talking about this and you have been so kind as to mention it, I want to apologize for the delay in replying. I also want to add something, something that has me intrigued among the many bugs that I have found in KDE, and of which I am not sure the correct way to proceed to report them. It turns out that my CLIPBOARD, there are times that in certain applications does not work and now I'll explain this very rare behavior I am the host and I share clipboard with everyone right? we are in wayland. Theoretically everything should work fine, but there are times or days when I open STEAM or another application such as firefox, and the following happens the clipboard of my machine as host seems to be isolated from firefox (i.e. all applications can access my clipboard in manjaro except firefox, the browser can't, or it also happens with steam and some others). However as a curious detail, if I can access the clipboard of firefox or the application with which it is failing, but she can not access mine, ie, I can not paste things from that application in my other applications (However if I can paste it into itself) Example Manjaro -Firefox (I am bugged today, I only can use clipboard for myself) -Chrome (I cant get clipboard data from firefox and cant paste my data to firefox) -KDE Desktop (The same of chrome) -Other (The same of chrome) This behavior is sometimes desperate, I try to kill the application and restart the KDE desktop with a shortcut that I have linked to the keys, and sometimes it works but others as much as I try it seems as if the clipboard has been stucketed. It is very frustrating At first I thought it was a wayland problem with some applications with X11 but then I realized that it was not, just since KDE 6 these strange behaviors occur. I have formatted from 0 at the beginning of this year. Approx. one month before manjaro with KDE 6 arrived, i.e. I started my device from KDE 5 and waited stably for the update. I also took care of my machine to minimize the packages I install from AUR in order not to break anything. How can I help you with something for when I get this strange behavior in the clipboard with the text? Note: this happend with text and images too
> Now that we are talking about this and you have been so kind as to mention it, I want to apologize for the delay in replying. You don't need to apologize, I also take a while sometimes. Besides, we have a bot to remind people and do cleanup if people don't respond. Regarding the other clipboard issues, If any of those apps with issues are Flatpaks or Snaps, maybe that could be a factor in the reason why things behave that way, but I have no clue. I don't use Snaps, but my Flatpaks don't seem to have trouble accessing the clipboard. I am also using Wayland most of the time. It's especially surprising that an issue would happen with copy/pasting text since it's the most basic thing you can copy/paste.
Thanks bro. I dont use flatpak nor snaps, my apps are native, and should work well, it have enabled the wayland option inside.
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.