-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remaining portrait mode issues #283
Comments
I've testing with portrait mode on pinephone, and behaves in a very similar manner. If i run When the screen goes black I see this warning on the serial console
and it only seems to go black when it must be completelly redraw. The top menu by pressing the power button or the one from the battery applet are displayed without any problem. |
I've made an image with changes from #337, and although everything is configured on portrait mode, the display starts in landscape mode, but pointer/touchscreen responds in portrait mode as expected. In this situation, I restore the display into the expected state with hildon-desktop is 1:2.2.167+1m, although I'm not sure whether that's the relevant package for this issue |
yes, h-d will always start in landscape mode. see https://wiki.maemo.org/Using_Fremantle_widgets#Testing_Screen_Orientation_Changes_In_Scratchbox |
Great. I've tested it on the recent beowulf image and that avoids black screen, but that signal does not rotates pointer/touchscreen. |
I think if you do that on boot, after mce has started, you can probably have it that way on start. Not sure if there is a gconf key for it. |
This might help: https://github.com/maemo-leste/status-area-orientationlock-applet I haven't yet built it for beowulf I think. |
Hm, I think it might only lock for landscape... |
No, it locks in both orientations. |
Yes, this is something we still not decided how to deal with.
use orientation lock applet :) |
I don't know what heppened but booting now gives me rotated (portrait) screen, and no Hildon desktop. I can run xrandr --output 'DSI-1' --rotate right to get to landscape mode. I can run /etc/X11/Xsession.post/20hildon-desktop and osso-xterm gets window decorations but don't get the little applets and clock. I also lost the 'enter' key and need to use ctrl-enter again. very confusing. |
So to be clear, on the Pinephone I did the following:
And then installed the orientation lock applet (which actually installs into the wrong lib path, will fix), and then it mostly just works for me, on the pinephone, in portrait mode. |
But it looks like most 'desktop' applications (firefox, VLC, anki) still force h-d to rotate back to 'landscape' mode. |
"But it looks like most 'desktop' applications (firefox, VLC, anki) still force h-d to rotate back to 'landscape' mode." also the remaining bugs regarding rotation where solved, we can close this |
For anyone reading: This is transitions.ini in There is both a blacklist and a whitelist. Normally, a blacklist is used when default is to enable and a whitelist is used when default is to disable. What is the intended default rotation policy for apps not on either list? On my current device, Clock application is neither blacklisted nor whitelisted. Opening Clock application and turning device to portrait orientation rotates Clock. Rotation / portrait can be disabled globally without adding every app to the blacklist with: |
default policy is to not rotate apps that are not in the lists and do not use the h-d custom "portraitable" x11 atom unless forcerotation is set in transitions.ini. in reality this policy is silly as standard x apps already have a "portraitable" flag in the "supported aspect ratios" wm hint. |
From IRC:
The text was updated successfully, but these errors were encountered: