Bug#779500: qtcreator: Qtcreator disappears when switching displays
Package: qtcreator
Version: 3.2.1+dfsg-7
Severity: normal
Dear Maintainer,
when I switch the display while qtcreator (or texmaker) is running the window
disappears. The process keeps on running. The console output (when I switch
displays) is:
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QBackingStore::flush() called for QWidgetWindow(0x150bc40, name =
"Core::Internal::MainWindowClassWindow") which does not have a handle.
For me an easy way to reproduce is (on my laptop, intel gpu) using xfce4,
plugging in a external display and switch to the external, disabling the
internal at the same time. But I was also able to reproduce it on my desktop PC
(running mate, nvidia gpu).
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages qtcreator depends on:
ii libbotan-1.10-0 1.10.8-2
ii libc6 2.19-15
ii libgcc1 1:4.9.1-19
ii libqt5concurrent5 5.3.2+dfsg-4+b1
ii libqt5core5a [qtbase-abi-5-3-2] 5.3.2+dfsg-4+b1
ii libqt5declarative5 [qtquick1-abi-5-2-1] 5.3.2-3
ii libqt5designer5 5.3.2-3
ii libqt5designercomponents5 5.3.2-3
ii libqt5gui5 5.3.2+dfsg-4+b1
ii libqt5help5 5.3.2-3
ii libqt5network5 5.3.2+dfsg-4+b1
ii libqt5printsupport5 5.3.2+dfsg-4+b1
ii libqt5qml5 [qtdeclarative-abi-5-3-2] 5.3.2-4
ii libqt5quick5 5.3.2-4
ii libqt5script5 5.3.2+dfsg-2
ii libqt5sql5 5.3.2+dfsg-4+b1
ii libqt5sql5-sqlite 5.3.2+dfsg-4+b1
ii libqt5webkit5 5.3.2+dfsg-3
ii libqt5widgets5 5.3.2+dfsg-4+b1
ii libqt5x11extras5 5.3.2-2
ii libqt5xml5 5.3.2+dfsg-4+b1
ii libstdc++6 4.9.1-19
ii libx11-6 2:1.6.2-3
ii qml-module-qtquick-controls 5.3.2-2
ii qml-module-qtquick2 5.3.2-4
ii qtchooser 47-gd2b7997-2
ii qtcreator-data 3.2.1+dfsg-7
Versions of packages qtcreator recommends:
ii gdb 7.7.1+dfsg-5
ii gnome-terminal [x-terminal-emulator] 3.12.3-2
ii guake [x-terminal-emulator] 0.4.4-1
ii make 4.0-8.1
ii mate-terminal [x-terminal-emulator] 1.8.1+dfsg1-4
ii qt5-doc 5.3.0-2
ii qtbase5-dev-tools 5.3.2+dfsg-4+b1
ii qtcreator-doc 3.2.1+dfsg-7
ii qtdeclarative5-dev-tools 5.3.2-4
ii qtquick1-5-dev-tools 5.3.2-3
ii qttools5-dev-tools 5.3.2-3
ii qttranslations5-l10n 5.3.2-2
ii qtxmlpatterns5-dev-tools 5.3.2-2
ii xfce4-terminal [x-terminal-emulator] 0.6.3-1+b1
ii xterm [x-terminal-emulator] 312-1
Versions of packages qtcreator suggests:
ii cmake 3.0.2-1
ii g++ 4:4.9.1-5
ii git 1:2.1.4-2.1
ii kdelibs5-data 4:4.14.2-5
ii subversion 1.8.10-5
Reply to: