[Bug 1674477] Re: gnome screenshot gtk-mir crashes on taking the shot under Mir

2017-03-23 Thread William Hua
> On the other hand, persisting with an architecture where apps don't work unless processes other than the shell happen to be running is a bit nasty in my opinion. And similarly anything that depends on a bus is ugly IMHO. I've lost count of the number of times in recent months where GTK apps

[Bug 1674477] Re: gnome screenshot gtk-mir crashes on taking the shot under Mir

2017-03-21 Thread Daniel van Vugt
That all said... why don't we just declare gnome-screenshot unsupported if it's really just a client of gnome-shell. Doesn't Unity8 have other adequate screenshotting mechanisms? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1674477] Re: gnome screenshot gtk-mir crashes on taking the shot under Mir

2017-03-21 Thread Daniel van Vugt
"Is there some mir client api for scraping the screen?" Yes, but it's also not nice. See src/utils/screencast.cpp. That's why I suggest we need to fix Mir in bug 1660269. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1674477] Re: gnome screenshot gtk-mir crashes on taking the shot under Mir

2017-03-21 Thread Daniel van Vugt
On one hand asking the shell to own screenshotting is nice and secure. On the other hand, persisting with an architecture where apps don't work unless processes other than the shell happen to be running is a bit nasty in my opinion. And similarly anything that depends on a bus is ugly IMHO. I've

[Bug 1674477] Re: gnome screenshot gtk-mir crashes on taking the shot under Mir

2017-03-21 Thread William Hua
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