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

QML FileDialog doesn't look correct with dark system theme

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: Quick: Dialogs
    • Labels:
      None
    • Environment:
      Linux 5.3.6
      Qt 5.13.1
      KDE Plasma 5.17
      Themes used: Breeze (light) and Breeze Dark (dark)
    • Platform/s:
      Linux/X11

      Description

      When using the QML FileDialog, it shows as expected when using a light system theme. When using a dark system theme however, it doesn't look correct and is almost impossible to use.
      This is not an issue when using QtWidgets and QFileDialog.
      Attachments shows the QML file dialog using a light and dark theme as well as using a dark theme with QFileDialog (from Qt.labs.platform).

      Example (qml):

      FileDialog {
      	id: fileDialog
      	title: "File Dialog"
      }
      Button {
      	text: "Open File Dialog"
      	onClicked: {
      		fileDialog.visible = true
      	}
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            kraxie kraxie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes