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. Filedialog QML Type openSUSE default to DefaultFileDialog.qml workaround?
QtWS25 Last Chance

Filedialog QML Type openSUSE default to DefaultFileDialog.qml workaround?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 539 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.
  • U Offline
    U Offline
    ultramanjones
    wrote on last edited by
    #1

    Hello,
    I have recently been porting our UI over to openSUSE and immediately ran into a problem. Filedialog QML Type, not to be confused with QFiledialog Qt type, is behaving differently. Is their anyway to find out WHY this is happening and work around it? I am aware the the documentation says the following:

    *The implementation of FileDialog will be a platform file dialog if possible. If that isn't possible, then it will try to instantiate a QFileDialog. If that also isn't possible, then it will fall back to a QML implementation, DefaultFileDialog.qml. In that case you can customize the appearance by editing this file. *

    The fallback dialog is currently ugly and clunky. It appears in all black and white with an undesirable font. I would very much like to avoid putting a week into rewriting this DefaultFileDialog.qml if I can. In addition to it being less than pretty, it also lacks a "Create Folder" function, which is exactly what we need it for in this instance. Mind you, we have implemented this EXACT same application, same version and everything, on Fedora 20,21,22, and 23 using the Gnome interface and we get the native file dialog. Same with Windows 7. This install of openSUSE also uses Gnome, so I'm not sure what gives. Is it because the openSUSE is in a virtual machine? openSUSE 42.1 is the version. Any help on a way to "force" the native file browser to show up will be much appreciated. Thank you.

    1 Reply Last reply
    1

    • Login

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