[maemo-developers] Qt Autorotation

From: Kimmo Hämäläinen kimmo.hamalainen at Nokia.com
Date: Thu Jun 3 16:06:04 EEST 2010
On Thu, 2010-06-03 at 14:47 +0200, ext Stefanos Harhalakis wrote:
> Hello,
> 
> On Thursday 03 of June 2010, Kimmo Hämäläinen wrote:
> > Yes, the WM makes sure that transient dialogs "inherit" portrait
> > properties from the parent (meaning the window they are transient for).
> > Of course, you could also put the window properties to the dialog window
> > itself to have the same effect with a system-modal (non-transient)
> > dialog.
> 
> I believe you misunderstood the problem:
> 
> The original problem was that new windows would not respect the current state. 
> If you create a new dialog and set it to auto-rotate, the new dialog will show 

Do you set the rotation property before showing the dialog or after?  If
you set it before showing it, it sounds like hildon-desktop bug then...

> up in landscape mode even if the display was in portrait mode. It is a common 
> problem that affects pop-up dialogs.
> 
> It can be bypassed by setting a parent window and Felipe explained why.

There should not be a difference. If there is, it's a bug...

-Kimmo


More information about the maemo-developers mailing list