To clarify, the desired behaviour /can/ be implemented client-side with the existing Mir API. This would require implementation code in each toolkit (or client). The limitation of this approach being that the shell isn't required to respect set_state() requests issued by the client.
We /can/ also implement the same client-side logic in Mir which would need a new API. This would make it independent of toolkit (but the toolkits would need to invoke the new API). We can also implement the logic on the server side which would also need a new API. It would also allow the shell to make a better decisions about how to respect the client request. The best trade-off between these implementations isn't clear to me. (Yet!) What to call the requested "fullscreen or restored" behaviour is unclear to me, but "automatic" seems both misleading and unclear. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to camera-app in Ubuntu. https://bugs.launchpad.net/bugs/1535397 Title: [enhancement] Implement support for QWindow::visibility set to Automatic Status in The Avila project: New Status in Canonical System Image: Triaged Status in canonical-pocket-desktop: New Status in Mir: New Status in QtMir: In Progress Status in camera-app package in Ubuntu: New Status in gallery-app package in Ubuntu: New Status in mediaplayer-app package in Ubuntu: New Status in mir package in Ubuntu: New Status in qtubuntu package in Ubuntu: Triaged Status in unity8 package in Ubuntu: In Progress Bug description: We need to support windows setting their visibility to "Automatic", when in Staged mode the window should be fullscreen, whereas in windowed, it should be a normal window. Qt API: http://doc.qt.io/qt-5/qwindow.html#Visibility-enum To manage notifications about this bug go to: https://bugs.launchpad.net/avila/+bug/1535397/+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