Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Contributor
Posts: 9
Registered: ‎03-01-2014
My Device: Z10
My Carrier: Telenor

Landscape on BB10 simulator

I've tried to develop an application in landscape, by setting the option in bar-descriptor.xml



 When i run this application in later versions of the simulator, i.e.. 10_2_1.1055 the application is started in portrait. If I run it in the 10_0_10-822 is will switch to landscape at startup. Have something changes in the platform or is this a bug in later version of the simulator?


I am running on Linux with the Simulator in safe mode, since my graphics driver isn't supported.



BlackBerry Development Advisor
Posts: 15,407
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Landscape on BB10 simulator

I tried this using BlackBerry Simulator, which is the 10.2.1 gold release and it did work correctly.  Can you try to download the latest simulator and try again?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Contributor
Posts: 9
Registered: ‎03-01-2014
My Device: Z10
My Carrier: Telenor

Re: Landscape on BB10 simulator

It's the same problem I'm afraid. Normally develop using QtCreator, but have tried from momentics and just using the "Hello World" project and then change the orientation to landscape.


The log print

Qml debugging is enabled. Only use this in a safe environment!
OrientationSupportPrivate::getSupportedDisplayOrientation:  landscape 
   isCardOrViewer:  false 
   manifestDisplayOrientation: DisplayLandscape 
   displayOrientation: DisplayLandscape 
   uiOrientation: Portrait 
   displayDirection: North 
   nativeDisplayOrientation: Portrait 
CS Debugging enabled: false 
Cascades server initialized - waited for 175 milliseconds (real time) 
OrientationSupportPrivate::setSupportedDisplayOrientation: displayOrientation: DisplayLandscape 
AbstractBpsEventHandler: thread has no event dispatcher