Yep, as of now, you can fetch the shell mode by using the
QPlatformNativeInterface::windowProperty api to fetch a "formFactor"
property which will return an enum (look in mir for the enum
interpretation) indicating what mode the shell is in. Connect to
windowPropertyChanged for signal on change.
This is an intermediary means of accessing this info, and it is clunky.
The UITK needs to grow a proper API for this. Lemme know if you need a
hand.
** Changed in: qtubuntu (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1534682
Title:
Not requesting desktop content when connected to monitor
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534682/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs