Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMainWindows and SystemTrayIcon stops responding and see QXcbConnection: XCB Error
QtWS25 Last Chance

QMainWindows and SystemTrayIcon stops responding and see QXcbConnection: XCB Error

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 385 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.
  • A Offline
    A Offline
    anshah
    wrote on last edited by anshah
    #1

    My GUI project consists of a QMainWIndow and a QSystemTrayIcon.

    When resizing a Citrix VDI screen the QMainWindow and QSystemTrayIcon stop responding and the following is seen in the logs:

    QXcbConnection: XCB error: 148 (Unknown), sequence: 842, resource id: 0, major code: 140 (Unknown), minor code: 20
    

    A core dump was produced and after the QXcbConnection is seen in the logs and the UI stops responding thereafter.

    After looking through Qt code I saw that this is printed in:

    QXcbConnection::handleXcbEvents
    

    If you guys have any idea where I could start investigating or more info on which of the GUI components cause the XCB error that would be helpful.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you give more details about your setup ?
      Which version of Qt are you using ?
      On which OS/Distribution ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        anshah
        wrote on last edited by anshah
        #3

        This is for a customer running running Qt 5.9 on RedHat 7.8 using GNome desktop.
        The screen is a Citrix VDI screen. When resizing the screen the QSystemTrayIcon becomes unresponsive.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @anshah said in QMainWindows and SystemTrayIcon stops responding and see QXcbConnection: XCB Error:

          Citrix VDI

          Just to be sure I understand, he uses a remote session ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          0
          • A Offline
            A Offline
            anshah
            wrote on last edited by
            #5

            Yes Citrix VDI is similar VNC Viewer I believe where it is a remote session screen.

            1 Reply Last reply
            0
            • SGaistS SGaist

              @anshah said in QMainWindows and SystemTrayIcon stops responding and see QXcbConnection: XCB Error:

              Citrix VDI

              Just to be sure I understand, he uses a remote session ?

              A Offline
              A Offline
              anshah
              wrote on last edited by
              #6

              @SGaist

              I have some update on this. The application is running but the QSystemTrayIcon becomes unresponsive to mouse clicks. Is there a way to reload the QSystemTrayIcon so it is responsive?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                You can delete the old icon and instanciate a new one to see if things go better.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

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