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

GTK interface freeze when called QFileDialog when GLWidget is active redrawing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.0, 5.12.1
    • None
    • Linux/X11

    Description

      Found strange bug when call QFileDialog on  Linux Mint 19.1 ( GTK ) when QGLWidget is active on main application.

      apart of " GtkDialog mapped without a transient parent. This is discouraged."

      FileDialog initially displays itself correctly but functionality of it is limited as refreshing of it is bugged.

      Using GDB i found the loop is locked in this place inside qopenglfunctions.h

      on Q_ASSERTS.

      inline void QOpenGLFunctions::glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
      {
      #if defined(QT_OPENGL_ES_2) && defined(Q_OS_ANDROID)
       ::glClearColor(red, green, blue, alpha);
      #else
       Q_ASSERT(QOpenGLFunctions::isInitialized(d_ptr));
       d_ptr->f.ClearColor(red, green, blue, alpha);
      #endif
       Q_OPENGL_FUNCTIONS_DEBUG
      }
      

      As I said its only messing up refreshing filedialog still works when clicked even on masked place it will pass file location. 

      I noticed when I froze by GDB execution and restore again  then once this window is redrawn.

      I recompiled it on Windows no problem there.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ar2ur Artur Wisniewski
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes