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

WebGL bad font rendering and crashing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12.0
    • QPA: WebGL
    • None
    • Ubuntu 18.04 x86_x64 X11 Qt5.12.0 Firefox
    • Linux/X11

    Description

      I've built KDE qml components to use in Qt.

      Components are working correctly, by running with xcb platform.

       

       

       

      But when running with webgl platform, it's gonna be like below.

      The Button text won't appear!!!

      And when I click the combobox, the server crashes!

      ./untitledwebgl -platform webgl:port=1234
      QML debugging is enabled. Only use this in a safe environment.
      QObject: Cannot create children for a parent that is in a different thread.
      (Parent is QGuiApplication(0x7fffb5093eb0), parent's thread is QThread(0x5622f8db6240), current thread is QThread(0x5622f8dd9360)
      QObject: Cannot create children for a parent that is in a different thread.
      (Parent is QGuiApplication(0x7fffb5093eb0), parent's thread is QThread(0x5622f8db6240), current thread is QThread(0x5622f8dd9360)
      QObject: Cannot create children for a parent that is in a different thread.
      (Parent is QGuiApplication(0x7fffb5093eb0), parent's thread is QThread(0x5622f8db6240), current thread is QThread(0x5622f8dd9360)
      QObject::installEventFilter(): Cannot filter events for objects in a different thread.
      QObject: Cannot create children for a parent that is in a different thread.
      (Parent is QGuiApplication(0x7fffb5093eb0), parent's thread is QThread(0x5622f8db6240), current thread is QThread(0x5622f8dd9360)
      org.kde.kwindowsystem: Could not find any platform plugin
      QObject: Cannot create children for a parent that is in a different thread.
      (Parent is QGuiApplication(0x7fffb5093eb0), parent's thread is QThread(0x5622f8db6240), current thread is QThread(0x5622f8dd9360)
      QObject::installEventFilter(): Cannot filter events for objects in a different thread.
      kf5.kcoreaddons.kdirwatch: Cannot watch QRC-like path ":/icons/hicolor/index.theme"
      qt.qpa.webgl: Message received before connect {"type":"keydown","key":"Control","which":17,"location":2,"repeat":false,"ctrlKey":false,"shiftKey":false,"altKey":false,"metaKey":false,"string":"\u0011","keyCode":17,"charCode":0,"code":"ControlRight","time":1549614811239}
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      qt.qpa.webgl.context: Failed to create buffers
      This plugin does not support grabbing the mouse
      This plugin does not support grabbing the keyboard
      Segmentation fault (core dumped)
      
      

      QObject & QThread problems are related to KDE components, but it's OK with xcb platform.

       

      When I used Qt's components, texts were shown without problem, but if choose 'QtRendering' for "Render type"!

      Attachments

        1. components.tar.xz
          1.82 MB
        2. KDEwebgl.tar.xz
          2 kB
        3. P1.png
          P1.png
          183 kB
        4. P2.png
          P2.png
          30 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jefernan Jesus Fernandez
            mohammads Mohammad Moradi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes