Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. help me fix the coloring on non-native FileDialog

help me fix the coloring on non-native FileDialog

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 168 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brannon K.
    wrote on last edited by
    #1

    In the screenshot below, you'll see the non-native FileDialog (from QtQuick.Dialogs). This is running on EndeavorOS, with the KDE Breeze-dark theme. The row selection color is incorrect; it should be violet. The path bar is also incorrect, being white text on a white background. That's the worst issue. The color behind the buttons in the bottom right-hand corner is off, and their text is truncated, which I don't think should happen. Also, whenever you resize the dialog, it animates itself back to its previous size. The docs say that the native Linux file-open dialog is only used on GTK+ themes. Surely it would be similar to use the KDE (QT-backed!) native dialogs. If I make my own inheritor of FileDialog, can I address these coloring issues? Javascript has the showOpenFilePicker command? Is that usable from QML?

    Screenshot_20241022_100002.png

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Brannon K.
      wrote on last edited by
      #2

      At least there's a bug filed for it: https://bugreports.qt.io/browse/QTBUG-122738

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved