Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved QMainWindows and SystemTrayIcon stops responding and see QXcbConnection: XCB Error

    General and Desktop
    2
    7
    122
    Loading More Posts
    • 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
      anshah last edited by anshah

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • A
          anshah last edited by anshah

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            @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 Reply Quote 0
            • A
              anshah last edited by

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

              1 Reply Last reply Reply Quote 0
              • A
                anshah @SGaist last edited by

                @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 Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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 Reply Quote 0
                  • First post
                    Last post