Bug 534951 - [Wayland] Screenshots not working
Summary: [Wayland] Screenshots not working
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks: 535260
  Show dependency tree
 
Reported: 2018-05-22 10:57 EDT by Eric Williams CLA
Modified: 2020-08-25 19:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Williams CLA 2018-05-22 10:57:02 EDT
As a follow up to bug 534817, screenshots in SWTBot are non-functional with Wayland. 

This is a Wayland specific issue which affects many clients that rely on screenshot functionality, see: https://bugzilla.redhat.com/show_bug.cgi?id=1299293
Comment 1 Alexander Kurtakov CLA 2018-05-22 11:17:42 EDT
SWTBot does screenshots here http://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/tree/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/utils/SWTUtils.java#n456 . 
The way to easily do screenshots under wayland is by using org.gnome.Shell.Screenshot dbus methods but I don't see an easy way to make it fit in Image.
Comment 2 Alexander Kurtakov CLA 2018-05-22 11:36:48 EDT
org.kde.kwin.Screenshot is the kde dbus api providing more or less same capabilities. Or even going directly to use the portal https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.Screenshot.xml
Comment 3 Eclipse Genie CLA 2020-08-25 19:23:16 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.