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

When a QComboBox within a QDialog with a Qt::Sheet attribute is clicked, the QDialog's window decoration shows.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0
    • None
    • Mac OSX 10.8.4 Mountain Lion (but probably also earlier versions)
    • 6cdd9928ab3de3c84b39b8b2d395f139fbf9aba2

    Description

      I have a QComboBox inside a QDialog which has the Qt::Sheet window flag. Therefore, it should, on OSX display as a sheet. This happens as expected, however when the QComboBox is clicked, the QDialog's title bar appears which allows the user to move the QDialog around (unwanted/unexpected behaviour).

      Code to reproduce this issue and screenshots are attached.
      I also made a thread about this issue on the Qt Forums: http://qt-project.org/forums/viewthread/31622/

      Attachments

        1. 0-Initial_State.png
          15 kB
          Niklas Vangerow
        2. 1-Clicking_QComboBox.png
          23 kB
          Niklas Vangerow
        3. 2-Moving_QDialog.png
          40 kB
          Niklas Vangerow
        4. Main.cpp
          0.9 kB
          Niklas Vangerow
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            notrodash Niklas Vangerow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes