-
-
Notifications
You must be signed in to change notification settings - Fork 198
Unable to take screenshot on Wayland session of KDE Plasma >5.80 #424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, has this worked before? I'll have a look into it this week. |
I do not know if this issue is a regression or not. I had never tried to take screenshot on Wayland before. |
I'll have a look into this soon hopefully. Meanwhile you could checkout latest continuous build that supports Generic Wayland Screenshots. Under KDE Plasma you will need to enabled the |
Generic mode does not work on my system too. |
That's strange. You using Plasma (Wayland) or Plasma (Full Wayland)? |
My login manager has "Plasma" and "Plasma (Wayland)" options. I use "Plasma (Wayland)". |
Tested now ksnip latest AppImage with KDE neon 5.19.5, both the KDE Specific and Generic Wayland, both work. Can you tell me the exact version you're using? |
Tested now appimage version 1.7.3 and got the same result. |
With latest I mean 1.8.0, but I wasn’t expecting any change, I haven’t changed anything in code yet. What KDE Neon version do you use?
…________________________________
From: Strangiato <[email protected]>
Sent: Sunday, October 11, 2020 9:44:43 PM
To: ksnip/ksnip <[email protected]>
Cc: Damir Porobic <[email protected]>; Assign <[email protected]>
Subject: Re: [ksnip/ksnip] Unable to take screenshot on Wayland session of KDE Plasma (#424)
Tested now appimage version 1.7.3 and got the same result.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub<#424 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADBUCTDH3O3SV5O4IELV6P3SKIDKXANCNFSM4RUOKU7A>.
|
I use neon unstable edition. I have another computer runnng Arch Linux + KDE Plasma 5.20 beta, I have just tested the same appimage there and got the same result. |
I was able to reproduce the issue with KDE Neon Unstable. It looks like a change in KDE Plasma (>5.80) that requires now processes to be authorized to take screenshots. I'm checking with the KDE developers what's this all about an how to get authorized. |
While I'm still checking with the KDE folks for a solution, there seems to be a workaround for the generic screenshots using XDG Portal. Adding |
I have added an entry to the readme file on how to implement this workaround. In future Plasma releases the portal screenshots should be working again. Nothing to do here for us as the issue is on KDE side. |
I recently switched back to wayland on KDE with the 5.24 KDE release and Wayland is WAY more stable. thank goodness. However ksnip is still not working? I've looked at the above file to implement the work around and that file already has that information in there. I get the same error message as the OP when trying to take a screenshot. Is there any other workaround for this? Ksnip Version: 1.9.2 Operating System: Manjaro Linux |
@seth-seikosoft you have enabled the Generic Wayland screenshots in settings? |
@DamirPorobic awesome thank you! I didn't see those settings before when I was looking through things. Thank you for the update. I'm now able to take a full screenshot. Just looking through the readme this morning I see that matrix that lists the available features. Thank you for that information. When do you think those options will be available under Plasma Wayland? |
Glad that it's working for you!
No idea, it's up to the Plasma, Gnome and Wlroots developer. Wayland has cut us of from taking screenshots, not only ksnip but all external applications (application that don't come directly from Gnome or KDE). There is a request to extend the Portal Interface which is used for taking the generic screenshots with more option that we can use to request a screenshots flatpak/xdg-desktop-portal#649 but no idea when it will be developed yet released. |
ok That's a real bummer! Thank you very much for your quick replies to my questions. Thank you also for all the hard work that you and the rest of the contributers do on this project! Have a great rest of your week and a great weekend :D |
ik this issue is like 2 years old and closed but i appear to be having this exact same issue on ubuntu 22.04.1 with KDE plasma 5.24.6 on wayland, it appears i already have the workaround of |
Hi @sniff122, can you describe what issue you are facing? The workaround mentioned was probably just temporarily as KDE and Gnome are moving in direction portal screenshots and this loop hole that KDE left for using the old approach might have been closed meanwhile. One hope for usability improvement is that flatpak extended the interface for portal screenshots so we might be able to only one give screenshot permission and then as in the past, tell the interface what kind of screenshot we want, directly from code, without bothering the user. But this has just landed in flatpak upstream and might take some time before it reaches downstreams. Anyways, with the generic wayland screenshots you should get some kind of dialog box after triggering a screenshot where you can select what kind of screenshot you want, do get that? |
I don't, all I get is the notification from ksnip that was stated in the initial post of this thread ( |
What ksnip version do you have? How did you install ksnip? |
So far I have tried the version from apt (can't remember what version it is) and also the latest deb package from releases |
Can you try the AppImage from here? https://github.com/ksnip/ksnip/releases/tag/v1.10.0 |
Ahhh alright, I'll let you know how the appimage goes |
One mor ething, the 1.10.0 version should have some additional debug options that you can enable via |
looks like the appimage has just worked straight out of the box |
AppImage ftw! |
haha yup, i absolutely hate snaps too, why canonical is pushing those so hard on the desktop i have no clue |
aaaaaaaand... also the appimage is not working now. .deb (from releases here) as well as the flatpak also not work. Also not the prerelease (I hoped) |
Hi
I use ksnip 1.7.3 on neon unstable based on ubuntu 20.04.
ksnip is unable to take screenshot on Wayland session, I get a notification saying:
"The image could not be displayed. No image provided, but one was expected;"
Tested .deb and appimage packages.
The text was updated successfully, but these errors were encountered: