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

QLineEdit background color weird behavior

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.5.0
    • Widgets: Style Sheets
    • None
    • Windows 10

    Description

          QLineEdit l;
          l.setFixedSize(400,200);
          l.setStyleSheet("QLineEdit {background:#000;}");
          l.show();
      

      Just simple code to reproduce the bug.
      The lineeditor changes color when mouse hover the widget.
      It works fine with windows xp sp3, but failed in win10.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              photonlili Li Xu
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes