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

QSpinBox controls flicker black on Windows when the mouse enters/leaves the control on Windows if their parent widget has a translucent background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 4.7.2
    • None
    • Windows

    Description

      If you plonk a QSpinBox (or any QAbstractSpinBox sub-class) onto a widget with the Qt::Popup and Qt::FramelessWindowHint flags set in combintation with the Qt::WA_TranslucentBackground attribute, the spin controls flicker a horrible black colour when the mouse enters/leaves them on Windows.

      I've attached a small example app that shows this going wrong. Start the app, click the big button and then move the mouse cursor over the spin control in the pop-up widget that appears.

      Attachments

        1. flash.patch
          1 kB
        2. spinny.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bachewii Jens
            meastwood Michael Eastwood
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes