Rotation lock for specific apps
-
@doniks As very quick aside what version if Ubports are you on the nexus 7. Mine defaults to portrait oonce the unlock code us entered and does not go back.Mine us 16.04 rc. Think oughts the tablet not Ubports side want ti check. Thanks
-
@mihael said in Rotation lock for specific apps:
@doniks In /usr/share/dialer-app/dialer-app.qml there is a
automaticOrientation: false
setting - so it is set to false...What does that mean? I don't get it.
-
@doniks It means that is the only thing I found in dialer-app files about orientation but it is already set to false...
-
@mihael I'm still not following. Did the
X-Ubuntu-Supported-Orientations
not work? Are you looking for another workaround? Is it rotating now withautomaticOrientation: false
? Or not? Which values in the desktop file?I'm lost where we are right now and what we're talking about ...
-
@lakotaubp said in Rotation lock for specific apps:
@doniks As very quick aside what version if Ubports are you on the nexus 7. Mine defaults to portrait oonce the unlock code us entered and does not go back.Mine us 16.04 rc. Think oughts the tablet not Ubports side want ti check. Thanks
Well, I have the images from ubports server for Nexus 7 gsm (deb!). 16.04, not sure now which channel (devel? rc?), haven't updated for a few weeks and I'm "between laptops" so I can't easily check and it's ... a ... bit ... uhm ... an adventurous installation because: https://github.com/ubports/ubuntu-touch/issues/643 However, it rotates every which way I want it to. (Except the login screen, but I think that rotates for no one). Happy to discuss further, but then let's jump into a separate thread shall we.
-
@doniks Yes sounds great. Working most of the day so will start one later in the support section when free.
-
@doniks Sorry for not being more specific and thank you for your patience.
I didn't modify anything. The setting that I described is as I found it and I thought that if it is already set to false, there is no point in me setting it to true since what I want is that the app would not change orientation automatically.
-
@mihael ah, ok. understood. But, well, I don't know whether or what that variable does. I'm not really familiar with the dialer source code
-
As dialer-app already has automaticOrientation set to false, and specifies only portrait as supported orientation in the .desktop file, it should not be rotating at all.
This is a bug. An extremely complex new feature, such as locking rotation configurations at app level granularity, is not the right fix.
Is there an open issue about this problem? If not, please report the issue in github.
-
-
@dobey said in Rotation lock for specific apps:
As dialer-app already [...] specifies only portrait as supported orientation in the .desktop file
It doesn't specify that as far as I can tell ....
It rotates for me and I consider that a feature