[Wayland] provide gdk-screenshot.cpp for Wayland desktops
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
When running on Wayland enabled backend gdk-screenshot.cpp fails to get a screenshot. We need to implement similar utility for Wayland.
Assignee | ||
Comment 1•5 years ago
|
||
The most effective way would be to use gnome-screenshot - https://gitlab.gnome.org/GNOME/gnome-screenshot/tree/master/
Assignee | ||
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
I think using the desktop portal (https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.Screenshot.xml) should be enough. That should in line with the screencast support, no?
Assignee | ||
Comment 4•5 years ago
|
||
(In reply to robert.mader from comment #3)
I think using the desktop portal (https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.Screenshot.xml) should be enough. That should in line with the screencast support, no?
Sure, but we can use an existing utility that write a new one, can't we?
Comment 5•5 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #4)
(In reply to robert.mader from comment #3)
I think using the desktop portal (https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.Screenshot.xml) should be enough. That should in line with the screencast support, no?
Sure, but we can use an existing utility that write a new one, can't we?
Sure, didn't want to argue against that, we should just make sure to not have unwanted dependencies. I had https://gitlab.gnome.org/GNOME/gnome-screenshot/issues/80 / https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/3 in mind
Assignee | ||
Comment 6•5 years ago
|
||
I mean we may import some minimal and modified version into mozilla source repository and build it from it. It's used for internal tests anyway.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Major blocker is Bug 1578640 - Wayland backend needs to be regularly tested when it's shipped by default.
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
bugherder |
Description
•