-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Selection button inactive (was: Shutter does not work in Wayland) #187
Comments
Confirmed, though I'm not sure whether it's the Shutter logo I'm seeing. This is related to the security in Wayland, which prevents applications from seeing other application's viewports. Gnome-screenshot manages, so it must be possible in some way. I'm just not sure what API is being used. https://bugzilla.redhat.com/show_bug.cgi?id=1299293 Launchpad Details: #LPC Roel Brook - 2016-04-11 16:16:24 +0000 |
Same problem here with ubuntu GNOME 16.10. It's possible to take screenshots, but they just show some strange pixel-pictures... Launchpad Details: #LPC Jakob Schäuble - 2016-10-21 14:44:44 +0000 |
Another +1 from me. I see this on Arch with xf86-video-nouveau driver running Gnome 3.22. Launchpad Details: #LPC pd5rm - 2016-10-21 18:05:43 +0000 |
+1. I'm seeing this issue on fedora 25, with Wayland Launchpad Details: #LPC tristan su - 2016-10-26 12:01:09 +0000 |
Same here, Gnome on Arch. Launchpad Details: #LPC Richard - 2016-10-31 15:58:12 +0000 |
..on wayland, by the way... Launchpad Details: #LPC Richard - 2016-10-31 16:50:52 +0000 |
wayland...Gnome 3.22 Fedora 25 ... shutter doesn't work Launchpad Details: #LPC solideo - 2016-11-23 15:13:49 +0000 |
Same here Launchpad Details: #LPC jack_spratt - 2016-11-28 18:41:45 +0000 |
+1. Fedora 24 and Fedora 25 with Wayland and Shutter. Only re-login with Xorg makes it work again. Launchpad Details: #LPC Jorge - 2016-11-30 10:28:58 +0000 |
See https://bugzilla.gnome.org/761737 Launchpad Details: #LPC Jeremy Bicha - 2016-12-17 18:22:02 +0000 |
Status changed to 'Confirmed' because the bug affects multiple users. Launchpad Details: #LPC Launchpad Janitor - 2016-12-17 21:05:37 +0000 |
mario-kemper, do you plan to port Shutter to support the native DBUS/Wayland APIs in the future? Launchpad Details: #LPC Robert Buchholz - 2017-01-25 12:50:43 +0000 |
Given the recent news of Unity, made the switch to GNOME/Wayland. I use Shutter all the time, but it only shows a black screen when I try to take a screenshot under Wayland. Is support planned? Launchpad Details: #LPC Matthew Gregg - 2017-04-06 14:51:31 +0000 |
Development looks dead, I don't think, anything will happen unless somebody jumps in and resumes the development... Launchpad Details: #LPC Michael Kogan - 2017-04-07 07:13:48 +0000 |
Ok, now in Ubuntu 17.10 using Wayland. Shutter tries to take a screenshot but only got the Shutter icon distorted. I found some shortcuts useful in gnome-screenshot, not a workaround but still useful. PrtSc = Capture screen Launchpad Details: #LPC Julian Alarcon - 2017-07-17 13:57:14 +0000 |
I hope that someone fix this bug. BTW KDE guys fixed (partially) this problem in Spectacle Launchpad Details: #LPC Julian Alarcon - 2017-07-17 14:41:49 +0000 |
same in Ubuntu 17.10 Wayland: corrado@corrado-HP-aa-p5: for a (may be) similar problem see also: Launchpad Details: #LPC corrado venturini - 2017-07-22 10:55:17 +0000 |
How does mir take a screenshot then? Launchpad Details: #LPC Khurshid Alam - 2017-08-14 15:59:09 +0000 |
May be related: MaartenBaert/ssr#431 Launchpad Details: #LPC Michael Kogan - 2017-08-17 18:20:53 +0000 |
In Ubuntu 17.10, shutter is unusable. Until this is fixed, is there an alternative that does work in wayland? Launchpad Details: #LPC Lonnie Lee Best - 2017-10-13 10:57:04 +0000 |
gnome-screenshot works Launchpad Details: #LPC André - 2017-10-13 11:28:06 +0000 |
Can it edit and upload screenshots? On Fri, Oct 13, 2017 at 1:39 PM André wrote:
Launchpad Details: #LPC Vadim Peretokin - 2017-10-13 11:52:36 +0000 |
Not fully featured as shutter. It can just take screenshots, it's an alternative to the most basic feature of shutter, screenshot and saving to file (desktop, window, area,...) ps. Sorry for my simplistic ressponse Launchpad Details: #LPC André - 2017-10-13 12:08:53 +0000 |
Maybe you need to run first the 'xhost' script: https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/1712089/comments/8 Launchpad Details: #LPC 9d9'suspended user' - 2017-10-13 12:12:33 +0000 |
The easiest way in gnome-shell is pressing the print screen button for a full screen shot, or SHIFT+Print Screen button to select a region. Launchpad Details: #LPC Wolf Vollprecht - 2017-10-13 13:20:29 +0000 |
Shutter is a lot more than a simple screenshot-application. It allows you to immediately ftp your screenshot to a websever and then it copies the url of that screenshot into your clipboard (automatically) so you can can quickly share screenshots with other people via chat/email/etc with simple ctrl-v paste. Additionally, it allow you to edit a screenshot; you can draw arrow to potions of the image you want to emphasize before collaboration. I use it so frequently, and it is such a time saver to alternative methods of accomplishing these needs, that must downgrade to Ubuntu 16.04.3 until it works in Ubuntu 17.10, or until there is an alternative that truly compares. Ubuntu 17.10 is looking great, but I have to have sophisticated applications like shutter, autokey-gtk, or I simply can't upgrade. Ubuntu is not a toy for me. I use it for work and productivity. Launchpad Details: #LPC Lonnie Lee Best - 2017-10-13 20:40:45 +0000 |
I take the screenshot with the gnome utility, copy the image then paste it On Oct 13, 2017 16:54, "Lonnie Lee Best" wrote:
Launchpad Details: #LPC Jerther - 2017-10-13 20:57:55 +0000 |
Lonnie, you can still use Ubuntu 17.10. On the login screen, after selecting your name, click the gear button to log in to 'Ubuntu on Xorg'. That will also work in Ubuntu 18.04 LTS. Launchpad Details: #LPC Jeremy Bicha - 2017-10-13 21:08:37 +0000 |
I don't see a clear solution that's not a workaround in that bug topic On Sat, Oct 28, 2017 at 8:12 AM dino99 wrote:
Launchpad Details: #LPC Vadim Peretokin - 2017-10-28 06:45:42 +0000 |
@DarthGandalf I get a segmentation fault on launch when trying to use Shutter in a Manjaro KDE Wayland session. It just says
and then immediately segfaults. Is this a known issue? I launched with edit: Here is the relevant gdb output:
edit 2: Should be fixed by #611. |
We might use Slurp on Wayland once this issue is fixed: emersion/slurp#136 I don't know which magic they use, but it looks like they managed to grab the cursor position and make selections on Wayland screens, even multiple monitors seem to be supported. We could then use Shutter::Screenshot::Wayland which is already implemented and then crop the full screen screenshot according to the dimensions and position of Slurp's selection. The selection is also configurable regarding color and frame thickness, so we might be even able to make it look like our own selection tool for X11. |
We can't combine Slurp with the current implementation of Shutter::Screenshot::Wayland which uses XDG portal. Portal doesn't "just" give us the image, it may or may not provide its own UI to select a window/region/timeout/whatever. In that case user would need to select the rectangle twice? |
@Photon89 from your posts I can assume you only test wayland on DE where the DE-specific implementation of the XDG portal doesn't provide its own UI, but just takes screenshot of the whole screen. Is it gnome's one? Can you try kde? or vice versa. https://packages.ubuntu.com/search?keywords=xdg-desktop-portal currently shows the following:
|
I tried Manjaro KDE. There the full screen mode worked the same way as in X11, just the filename was "unknown_NNN.png". |
Then try the gnome one :) I don't remember which of them had its own UI |
If I had to guess, most probably Gnome. ;) Sure, will set up a VM and try! But even if there is some Gnome specific dialog, isn't it possible to use it the same way as in fullscreen mode after Slurp has been used to select a screen region? Or do you mean that Slurp won't work in Gnome as expected? |
With XDG portal API it's not possible to pass the "region" obtained from Slurp. There's just no such parameter in the method: https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Screenshot We can't even specify whether we want the full screen, or only 1 window, everything is up to the implementation of the portal to decide, probably by asking the user using some kind of GUI which we cannot control. I just put it in the "fullscreen" button randomly, because there's no better place for it now. Maybe it should be a separate button. |
I'm installing Manjaro Gnome in a VM right now and will test! |
@DarthGandalf So, I can report now: In Manjaro Gnome, when making a fullscreen shot, I get a dialog asking for permission where I can click "Allow" or "Deny". If I click "Allow", the screenshot is taken as expected. Also, on the second try there is no more such dialog. Even after closing Shutter and relaunching it. |
Slurp doesn't work on Gnome and fails with
though. But maybe if apps like Shutter support all DEs besides of Gnome it motivates Gnome devs to work on better compatibility? |
@DarthGandalf I made a quick and dirty proof of concept implementation of a Shutter::Screenshot::WaylandSelector which is heavily based on Shutter::Screenshot::Wayland and uses Slurp to get the selection size and position. It works on a KDE Wayland session but I kicked out stuff like delay and include/exclude cursor for the moment. The bigger problem is that by restoring the Selection mode for Wayland in the main Shutter file I broke something and now Shutter crashes on startup on X11... I spent a lot of time trying to figure out what is going on but couldn't figure it out... Shall I make a draft PR for it? |
Thanks! 😃 Please see #612.
I assume, this is Gnome (made to look like Unity)? Slurp doesn't work in Gnome anyway... So Gnome is so far not supported. I guess... |
But what stops KDE devs from adding a similar dialog to KDE portal implementation in future? |
I don't know, looks like Wayland related stuff is in very much flow recently, so implementations differ in various DEs and distros, and also might change frequently. But if we can support at least some DE for some time, it's already a start, we can see where we get from there, if things change! |
Running Gnome 3.18 and Gnome Shell as the new Wayland Compositor, shutter doesn't work. I.e. it's only creating a screenshot of the shutter logo in a distorted way.
I don't if that's something that can be fixed easily, but it seems Wayland (security) related.
Otherwise thanks for this outstanding screenshot tool!
Wolf
Main upstream discussion & fixes example to deal with wayland:
https://bugzilla.gnome.org/show_bug.cgi?id=776437
Workaround
Log out. Click your name on the login screen, then click the gear button and select 'Ubuntu on Xorg'. Enter your password and log in.
Launchpad Details: #LP1502263 Wolf Vollprecht - 2015-10-02 17:53:46 +0000
The text was updated successfully, but these errors were encountered: