I don't know if that would be the easiest approach. It sounds to me like
having U8 implement that dbus interface would be the easiest and least
invasive solution, but then again, I'm not the one volunteering for that
:)

Is there some mir client api for scraping the screen? I'm worried about
whether or not that kind of change would be accepted upstream (there's
no wayland-specific code in gnome-screenshot). Also, how does it look
from a security perspective? The nice thing about that interface is that
the screenshot app never has direct access to the pixel data in the
first place (it's just file names that U8 would save the image data
directly to), and access to the interface could be restricted via
apparmor dbus rules.

** Changed in: gtk+3.0 (Ubuntu)
       Status: New => Invalid

** Tags removed: gtk-mir

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-screenshot in Ubuntu.
https://bugs.launchpad.net/bugs/1674477

Title:
  gnome screenshot gtk-mir crashes on taking the shot under Mir

Status in Canonical System Image:
  New
Status in gnome-screenshot package in Ubuntu:
  New
Status in gtk+3.0 package in Ubuntu:
  Invalid
Status in unity8 package in Ubuntu:
  New

Bug description:
  Tried this with (updated) Zesty plus ppa:attente/gtk-mir-staging
  then export GDK_BACKEND=mir
  launch from command line: gnome-screenshot -- 
--desktop_file_hint=org.gnome.Screenshot.desktop

  Attempt to take a screen shot in any form and it will crash (see
  attached log)

  
  according to attente: 
  gnome-screenshot crashes is because it delegates the screenshotting to 
org.gnome.Shell, and falls back to using x11 if that fails
  so i think the solution is to have u8 implement that interface...
  
https://git.gnome.org/browse/gnome-shell/tree/data/org.gnome.Shell.Screenshot.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1674477/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to