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

Wrong availableGeometry detected in Symbian

    XMLWordPrintable

Details

    • 0725abc4607755833a1eb7cb9e083add48d03a88,b68dffb7d852915d3962afcf947606e0cb1e05d2

    Description

      NOTE: TO REPRODUCE THE BUG YOU NEED NOKIA S60 5th SDK's EMULATOR, DO NOT USE THE SIMULATOR (it didn't show the bug in my case because it used older qt libraries)

      hi guys I have a some problems with a software of mine which appeared in qt 4.7rc1, while it worked ok in beta2.
      the problem is when I open the software and then rotate the phone to landscape and then back to portrait the wrong availablegeometry() is detected, widgets are drawn as if the phone was in landscape mode, while it was in portrait...when you open the software the right value is reported, but when you turn the phone to landscape and back to portrait, things get messed up (widgets are drawn as if the phone was in landscape when it was portrait, and they're drawn as if the phone was in portrait when it was landscape)

      the same goes for a nokia example:
      this example used to work until 4.7beta2...
      http://wiki.forum.nokia.com/index.php/Handle_change_in_screen_orientation_in_Qt_for_Symbian
      then rc1 messed things up, and it's the same for the final 4.7

      the problem is that the wrong availableGeometry is displayed in the text box...

      Repro:
      1) Open Nokia's S60 5th SDK's emulator
      2) Open software
      3) Turn phone to landscape and then back to portrait
      4) Now you have the phone in portrait mode, but the displayed availableGeometry is the LANDSCAPE one...
      this means all widgets go out of screen because they think to be in landscape when they are not etc

      I think it is a critical bug since it makes life impossible for all qt devs who want to use the landscape and portrait system

      PS: I think this is the same bug which was reported to be solved here:
      http://bugreports.qt.nokia.com/browse/QTBUG-13425

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            faenil Andrea Bernabei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes