Results 1 to 2 of 2

Thread: Qt creator window closes whenever screen is switched off and on.

  1. #1

    Default Qt creator window closes whenever screen is switched off and on.

    Hi All,

    I am using QtCreator 3.0.1 installed from .bin file downloaded from Qt Project site. Recently I am having a strange issue: whenever I switch off the monitor and switch it back on the QtCreator window disappears. I can see in SystemActivities that the process is running but window has closed (I cannot see the icon in task manager either). When I run Creator from the konsole and the above issue occurs I see these errors printed:

    “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

    I am not sure whether this is a Qt/QtCreator issue or an issue with the X11 or something related. I have also posted a question in Qt forum:
    http://qt-project.org/forums/viewthread/40129/

    Details of 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.

    Appreciate any help in this regard.

    Thank you

  2. #2

    Default Re: Qt creator window closes whenever screen is switched off and on.

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •