screenshot icon indicating copy to clipboard operation
screenshot copied to clipboard

Implement Screenshot portal

Open cassidyjames opened this issue 4 years ago • 6 comments

Looks like it's implemented in xdg-desktop-portal but it's super GNOME-y. We'll want the UI to be effectively the same as the main mode of the app.

cassidyjames avatar Aug 23 '19 09:08 cassidyjames

@danrabbit should we drop the screenshot app when implementing the portal? it's already broken in GNOME as reported in #238, since org.gnome.Shell.Screenshot is now an private interface (i don't know about others desktops that use the shell interface besides us and GNOME).

Marukesu avatar Jun 03 '22 20:06 Marukesu

@Marukesu Yeah we should probably implement our own private interface instead of using the org.gnome.Shell.Screenshot namespace, but I'm not sure what you mean about dropping the screenshot app? I think we'd want to implement the portal here in the screenshot app since we have no screenshot UI in gala

danirabbit avatar Jun 04 '22 01:06 danirabbit

i mean, the portal in interactive mode will be the same of the screenshot app. So instead of having two binaries doing the same thing, have only the portal.

Marukesu avatar Jun 06 '22 00:06 Marukesu

@Marukesu ah as in you want to move this interface to https://GitHub.com/elementary/portals?

danirabbit avatar Jun 06 '22 15:06 danirabbit

We can keep it in this repo, if desired, but what i don't want is having both io.elementary.screenshot and io.elementay.screenshot.xdg-desktop-portal applications when the diference is one exposing an CLI interface and the other an DBus one.

Marukesu avatar Jun 06 '22 16:06 Marukesu

As the developer of Annotator (which includes a feature for taking a screenshot to be edited within the application), it would be nice if the priority of this feature could be bumped up. Looks like it has been opened for a long time now. I have heard in the May release notes that the background portal was going to get some support, but I haven't heard anything about the screenshot portal.

phase1geo avatar Jun 04 '23 00:06 phase1geo