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

Android: Wrap-Content Default Behavior Broken for QWidgets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0 RC1
    • 5.1.0
    • QPA
    • None
    • git-tree, ddd 21/07/2013, version seen is: 5.1.1. Same is for 5.1.0 release.
      linux-32, emulators for arm and x86, API-16, 17
    • Android
    • 4d5bf32c20078dc4fb186e9a7b4969f01ebdc7e5

    Description

      Window widgets in Qt, e.g. dialogs, are known to be sized by default
      using "wrapping content" behavior if widget sizes haven't been set.

      All Android widgets (as shown for non-modal dialogs by the attached application)
      are breaking the default wrap-content behavior when window sizes not
      set explicitly.

      That happens for QDialog and QWidget derivatives used as windows.

      Modal dialogs on Android are currently crashing application
      when sizes not set - see QTBUG-32297; it could be related.

      There's no workaround found.

      Attachments

        1. main.cpp
          2 kB
        2. mainwindow.cpp
          3 kB
        3. mainwindow.h
          0.6 kB
        4. simple-edit.pro
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            coroberti Robert Iakobashvili
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes