Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt creator window closes whenever screen is switched off and on [Solved]
Forum Updated to NodeBB v4.3 + New Features

Qt creator window closes whenever screen is switched off and on [Solved]

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 2 Posters 5.8k Views 1 Watching
  • 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.
  • V Offline
    V Offline
    varunamachi
    wrote on last edited by
    #1

    Hi All,

    I am using QtCreator 3.0.1 and whenever I switch the monitor off and turn it back on the QtCreator window just hides itself, I can see that process is running in the background but I can't bring back the window. I tried to launch it from command line and I see errors similar to this one:
    QXcbConnection: XCB error: 3 (BadWindow)

    My setup:
    OpenSuse 13.1 KDE 4.11.25
    QtCreator 3.0.1
    Qt versions: 4.8 and 5.2
    GCC: 4.8.1
    Monitor: LG 27EA63 over HDMI.

    List of all the errors is something like this:
    "Qt Warning - invalid keysym: dead_actute"
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 677, resource id: 0, major code: 15 (QueryTree), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 3285, resource id: 0, major code: 15 (QueryTree), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 680, resource id: -1, major code: 1 (CreateWindow), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 681, resource id: 41943077, major code: 2 (ChangeWindowAttributes), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 682, resource id: 41943077, major code: 19 (DeleteProperty), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 683, resource id: 41943077, major code: 24 (ConvertSelection), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 786, resource id: 41943077, major code: 19 (DeleteProperty), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 787, resource id: 41943077, major code: 24 (ConvertSelection), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 891, resource id: 41943077, major code: 19 (DeleteProperty), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 892, resource id: 41943077, major code: 24 (ConvertSelection), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 995, resource id: 41943077, major code: 19 (DeleteProperty), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 996, resource id: 41943077, major code: 24 (ConvertSelection), minor code: 0

    Appreciate any help in this regard.

    Thank you

    [Edit] OpenSuse version is corrected 13.1.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi varunamachi,

      First of all, welcome to te DevNet forums.

      I'm not on OpenSuse myself, but after a search i found "this thread":http://qt-project.org/forums/viewthread/20951

      There is no solution there but it says it could be a problem with the X window system.

      Do you get this behaviour also when you use other programs?

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • V Offline
        V Offline
        varunamachi
        wrote on last edited by
        #3

        Hi Eddy,

        Thank you very much for the fast reply.

        You might be right I was using same version of QtCreator on same setup some days back and seemed work properly. May be some update broke some functionality.

        But I think there could be a issue with Qt's X11 back-end also because there is a "bug":https://bugreports.qt-project.org/browse/QTBUG-31410?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab reported on Qt Linguist related to similar issue.

        In any case I will post same question on OpenSuse forums and if get any solution there I will post it here and mark this thread as solved.

        Thank you

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Did you get Qt from the OpenSuse repositories? A workaround might be to use one from "the Qt download page":http://qt-project.org/downloads

          Could you test if that works? then you know it has something to do with the OpenSuse packages.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • V Offline
            V Offline
            varunamachi
            wrote on last edited by
            #5

            Actually I am using the .bin files downloaded from the Qt-Project. OpenSuse repositories doesn't seem to have the latest versions.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              varunamachi
              wrote on last edited by
              #6

              There is bug for this issue on Qt 5: "https://bugreports.qt-project.org/browse/QTBUG-40168":https://bugreports.qt-project.org/browse/QTBUG-40168 . As I have commented on the issue, I solved it by using a DVI connection instead of using HDMI connection.

              Thanks for the support.

              Regards,
              Varun

              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