I agree that it makes more sense to do it in the unity8 server. However, the screencast plumbing cannot be used as is as qtmir implements Compositor not DisplayBufferCompositor. The screenshots obtained would be recomposed using our default compositor which wouldn't match qtmir compositor output.
Since the screenshotting will be done in unity8 shell on the server side, I think its easier to just implement the required functionality in qtmir (i.e. dumping it's display buffer) directly instead of trying to adapt the screencast plumbing. Adapting it would require qtmir to at least implement DisplayBufferCompositor and DisplayBufferCompositorFactory. ** Also affects: qtmir Importance: Undecided Status: New ** Changed in: qtmir Assignee: (unassigned) => Alberto Aguirre (albaguirre) ** Changed in: unity8 (Ubuntu) Assignee: (unassigned) => Alberto Aguirre (albaguirre) ** Changed in: qtmir Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1369644 Title: [enhancement] Should be possible to take a screen shot on the phone from the phone itself Status in Mir: Opinion Status in Qt integration with the Mir display server: In Progress Status in “mir” package in Ubuntu: Opinion Status in “unity8” package in Ubuntu: New Bug description: Currently, the only way to take a screenshot is to attach the phone to a computer via USB and use phablet-screenshot. There should be a way to take a screenshot from the phone. Otherwise, it will be hard for people to share how great their phone is on social media, as well as other functions. To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1369644/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp