×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    13

    Question Nokia Belle Refresh - QT 4.8.0 - Landscape mode/rendering changed/damaged

    Nokia Belle Refresh - QT 4.8.0 - Landscape mode/rendering changed/damaged

    Latest Nokia Belle firmware delivers QT 4.8.0. The coordinate system and rendering differs between portrait and landscape mode. Portrait mode behaves like QT 4.7.4 . Landscape mode is totaly different in two ways (maybe more).

    1. Coordinate system
    Lets have a look on the upper left corner (screen dimension is 360x640 N8, E7):

    Portrait Mode:
    QT 4.7.4 => X: 0 Y: 0
    QT 4.8.0 => X: 0 Y: 0


    Landscape Mode
    QT 4.7.4 => X: 0 Y: 0
    QT 4.8.0 => X: 360 Y: 0


    It seems that the QML root object is only rotated (by the new animation) and still behaves in portrait mode. How can i get the old behavior? How to disable the animation?

    2. Rendering landscape mode QT 4.8.0
    While rendering in portrait mode everything behaves like QT 4.7.4 .
    When using a QGLWidget as viewport (QmlApplicationViewer::setViewport(new QGLWidget(QGLFormat::defaultFormat()));) than rendering in landscape mode is totaly damaged. Application is only show on left side of the screen and covers only 50% of the screen.

    Same behavior can be reproduced with unchanged viewport by setting the attribute Qt::WA_TranslucentBackground (QmlApplicationViewer::setAttribute(Qt::WA_TranslucentBackground);).



    So! I know there no support anymore by Nokia (Update, Bugfixes, ...) for Symbian. But is there a known workaround to get my applications working with Nokia Belle Refresh?
    Given hint at Wiki Changes QT 4.8.x to set attribute Qt::WA_SymbianNoSystemRotation does not change anything.

    All hints and advises are welcome.

    Best regards
    P.

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    82

    Re: Nokia Belle Refresh - QT 4.8.0 - Landscape mode/rendering changed/damaged

    No solutions, but I observed that

    QApplication::setGraphicsSystem("raster");

    also causes landscape rendering to misbehave badly, resulting in something that resembles upside down portrait instead of the intended landscape.
    Grego
    http://mpaja.com/

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    82

    Re: Nokia Belle Refresh - QT 4.8.0 - Landscape mode/rendering changed/damaged

    Ok, made a few test builds. For me, if I use QApplication::setGraphicsSystem("raster");
    I can get it to work almost like it was by using

    QApplication::setGraphicsSystem("raster");
    QmlApplicationViewer viewer;
    viewer.setProperty("orientationMethod", 1);

    Landscape mode works and is sticky, provided the device is in landscape at application start.
    If the device is in portrait, it renders as if in landscape, but upside down. It failed differently in 4.7.4.

    So the display bitmap 640x360 is centered on 360x640 screen, rotated 180 degrees. So the left and right edges are not visible.
    This also is sticky, so the only remedy for me is to exit the app, rotate phone to landscape, restart. At least it works, but will not make it through the store QA.

    /Qt-4-8-Compatibility-Issues-Symbian seems to document the same misery.

  4. #4
    Nokia Developer Expert
    Join Date
    Jun 2010
    Posts
    24

    Re: Nokia Belle Refresh - QT 4.8.0 - Landscape mode/rendering changed/damaged

    Not sure about the original poster's question, but one thing to avoid is locking orientation in the CPP code when using Qt Quick Components (QQC) Page element.

    If using QQC Page, orientation locking should be done in the QML only and code like this should be avoided:

    viewer.setOrientation( QmlApplicationViewer::ScreenOrientationLockLandscape );

Similar Threads

  1. SSL Error / Belle Refresh
    By Benecore in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2012-09-17, 06:55
  2. Replies: 2
    Last Post: 2009-08-27, 10:32
  3. Landscape mode Nokia N90
    By logonmyth in forum Streaming and Video
    Replies: 1
    Last Post: 2007-06-15, 10:00
  4. Nokia N90 Portrait to Landscape Mode
    By alokkumarsingh in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-12-14, 13:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×