Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13510

QDesktopWidget's screen geometry reports rotation on Maemo 5 too late

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.6.2
    • (Inactive) Maemo 5
    • None

      I have activated the AutoRotation flag in my MainWindow (rotation works fine). In a paintEvent of a widget I used QApplication::desktop()->screenGeometry() to know if the widget paints in landscape or portrait mode. When rotation emits the paintEvent for that widget the widget's rect() is already rotated but the screenGeometry() isn't. So I had to change my code to ask the widget's rect() to decide about landscape or portrait mode.

      Maybe this is an issue for Maemo 6 (MeeGo) also? I didn't try...

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            griebl Robert Griebl (closed Nokia identity) (Inactive)
            gilead Jochen Becher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes