https://bugs.kde.org/show_bug.cgi?id=362636

            Bug ID: 362636
           Summary: konsole, kwrite and konversation windows often
                    disappear when disconnecting monitor
           Product: kwin
           Version: 5.6.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: tabbox
          Assignee: kwin-bugs-n...@kde.org
          Reporter: j...@vandenoever.info

Created attachment 98761
  --> https://bugs.kde.org/attachment.cgi?id=98761&action=edit
picture of tabbox with empty entries for konsole windows (artist impression)

Connecting / disconnecting a monitor confuses kwin_x11. The applications
konsole 16.04.0, kwrite (16.04.0) and konversation (1.6) with  (kf 5.21.0) can
get lost when disconnecting an external monitor from a laptop.

Both screens are 1920x1080. The applications still occupy a space in the
tabbox, but that space is empty: not icon and no title. The windows also
disappear from the task manager. The applications are still running.

This is pretty weird. It gets weirder.

It is possible to make KWin find the windows again.
The applications are still running and can be controlled with dbus/qdbusviewer.
By setting the QMainWindow widget to minimized and then putting it back to
normal, the windows show up in kwin_x11 tabbox and the task manager again:

dbus-send --session --dest=org.kde.konsole --type=method_call --print-reply
/konsole/MainWindow_1 org.qtproject.Qt.QWidget.showMinimized
dbus-send --session --dest=org.kde.konsole --type=method_call --print-reply
/konsole/MainWindow_1 org.qtproject.Qt.QWidget.showNormal

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to