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

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

    XMLWordPrintable

Details

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

    Description

      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...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: