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

GTK file dialog is invisible if there is QTimer with 0 interval in the main thread

    XMLWordPrintable

Details

    • Linux/X11
    • 146749f9b7bbfc0d495a8bd1edd4c6e602d5dcf5 (qt/qtbase/dev) 71da5f1e9c (qt/tqtc-qtbase/5.15) 71da5f1e9c (qt/tqtc-qtbase/tqtc/vxworks-5.15.10)

    Description

      Window frame is visible (except on wayland), but transparent. It does react to closing the window, but it never draws anything as long as there is timer going. processEvents() call inside the timer callback does not help either.

      Can be reproduced with this:

      #include <QApplication>
      #include <QTimer>
      #include <QFileDialog>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QTimer t;
          t.start(0);
          QFileDialog::getOpenFileName();
      }
      

      Attachments

        1. qtbug96869.png
          176 kB
          Alan Fan
        2. qtbug96869.tar.gz
          0.4 kB
          Joni Poikelin
        3. screenshot.png
          337 kB
          Joni Poikelin
        4. test_on_ubuntu.png
          413 kB
          Alan Fan
        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
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes