Comment 5 for bug 1357429

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

@vanvugt

That works when the compositor does all the rotation work, so all the client window does is respond to changes in its size to accommodate its contents accordingly. (Compositor-based rotation)

But currently it's the applications that rotate their own contents. So shell does have to tell the app in what orientation it should place its contents. (Client-based rotation)

Our target is to have compositor-based rotation for the vast majority of apps. But we should not do it for all of them. The camera application should do its own rotation because of the viewfinder. When you rotate the device the viewfinder stays put and only the buttons rotate. Doing compositor-based rotation for the camera app looks pretty bad compared to client-based.

Bottom line: we need both compositor-based and client-based rotation methods.