Results 1 to 9 of 9

Thread: QFileDialog flickering

  1. #1
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QFileDialog flickering

    Hi

    I was making a small program yesterday where I used a QFileDialog. This worked fine, but one of the first thing I noticed was that when resizing the filedialog the whole dialog (and especially the icons at the left side) had some serious flickering/redrawing issues which looked very unprofessional. Is this drawing issues a problem, or is it just my computer? I always though that QT used the native dialogs so I tried another win32 API only application, and these flickering issues were not a problem on that application.

    I am using winxp with 2GB memory and X2 3800+ cpu. Application was compiled in release mode.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFileDialog flickering

    Qt uses native dialogs only when you use static methods of QFileDialog. As for the flicker - which release of Qt are you using and on which platform?

  3. #3
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileDialog flickering

    Quote Originally Posted by wysota View Post
    Qt uses native dialogs only when you use static methods of QFileDialog. As for the flicker - which release of Qt are you using and on which platform?
    4.3.4 on WinXP SP2.

    I am using QString fileName = QFileDialog::getOpenFileName(this); so I am using the static method.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFileDialog flickering

    It's a native dialog then, so there isn't much that can be done, I guess... You might report it as a bug to Trolltech provided that you are able to reproduce it in a controlled way.

  5. #5
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileDialog flickering

    Quote Originally Posted by wysota View Post
    It's a native dialog then, so there isn't much that can be done, I guess... You might report it as a bug to Trolltech provided that you are able to reproduce it in a controlled way.
    How do I report bugs or RFE's to Trolltech then? couldn't find anything on their website.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFileDialog flickering

    Use the task-tracker.

  7. The following user says thank you to wysota for this useful post:

    invictus (17th April 2008)

  8. #7
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileDialog flickering

    Have reported it...you don't happen to know if I can use the same "report bug" form for making a feature request?

  9. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFileDialog flickering

    Yes, you can. Just mark it as a suggestion.

  10. The following user says thank you to wysota for this useful post:

    invictus (17th April 2008)

  11. #9
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileDialog flickering

    Got feedback on the bugreport. It is fixed for QT 4.4.

Similar Threads

  1. QFileDialog options
    By The Storm in forum Qt Programming
    Replies: 5
    Last Post: 22nd December 2007, 11:22
  2. QFileDialog and file sequences
    By peterhillman in forum Qt Programming
    Replies: 5
    Last Post: 24th November 2007, 10:16
  3. QFileDialog in Qt designer
    By tpf80 in forum Qt Tools
    Replies: 1
    Last Post: 17th May 2007, 00:41
  4. QFileDialog Mac / PC
    By hey in forum Qt Programming
    Replies: 3
    Last Post: 26th April 2007, 18:23
  5. copy file/s from QFileDialog
    By raphaelf in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 14:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.