<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>358560</bug_id>
          
          <creation_ts>2016-01-25 23:17:21 +0000</creation_ts>
          <short_desc>Konsole crashes when I unplug a second monitor</short_desc>
          <delta_ts>2021-02-08 19:24:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>341497</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Con Hennessy">con.hennessy</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>demaro.stanberry</cc>
    
    <cc>francesco.cecconi</cc>
    
    <cc>linux</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1572582</commentid>
    <comment_count>0</comment_count>
    <who name="Con Hennessy">con.hennessy</who>
    <bug_when>2016-01-25 23:17:21 +0000</bug_when>
    <thetext>Application: konsole (15.12.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-rc8-1.ge628e30-default x86_64
Distribution: &quot;openSUSE Leap 42.1 (x86_64)&quot;

-- Information about the crash:
The second monitor is bigger than my laptop screen. 

Also I&apos;ve only just switched from opensuse 13.2 to leap 42.1 and then added the new frameworks from http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_42.1/

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[KCrash Handler]
#6  0x00007fb604c3e290 in QScreen::handle() const () at /usr/lib64/libQt5Gui.so.5
#7  0x00007fb604c1e7a5 in QWindowPrivate::applyCursor() () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fb604c1f3f1 in QWindow::setVisible(bool) () at /usr/lib64/libQt5Gui.so.5
#9  0x00007fb6053e0996 in QWidgetPrivate::show_sys() () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007fb6053e7d23 in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007fb6053ea807 in QWidget::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007fb60551fd79 in QMenu::popup(QPoint const&amp;, QAction*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007fb60552a955 in  () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007fb60552c61f in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007fb60552cd9e in QMenuBar::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007fb6053eb3ba in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007fb60552dccb in QMenuBar::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007fb6053aae7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007fb6053b02cb in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007fb6046c6e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007fb6053af191 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&lt;QWidget&gt;&amp;, bool) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007fb60540413b in  () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007fb605406353 in  () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fb6053aae7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fb6053afcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007fb6046c6e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fb604c18804 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#28 0x00007fb604c1a015 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#29 0x00007fb604bff118 in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Gui.so.5
#30 0x00007fb5f4d3e200 in  () at /usr/lib64/libQt5XcbQpa.so.5
#31 0x00007fb5fed2ac84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#32 0x00007fb5fed2aed8 in  () at /usr/lib64/libglib-2.0.so.0
#33 0x00007fb5fed2af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fb60471dd6c in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Core.so.5
#35 0x00007fb6046c4d53 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Core.so.5
#36 0x00007fb6046cc8f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#37 0x00007fb608409d51 in kdemain () at /usr/lib64/libkdeinit5_konsole.so
#38 0x00007fb60805bb05 in __libc_start_main () at /lib64/libc.so.6
#39 0x00000000004007ee in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1574213</commentid>
    <comment_count>1</comment_count>
    <who name="Bernd Steinhauser">linux</who>
    <bug_when>2016-02-01 23:01:53 +0000</bug_when>
    <thetext>Can confirm this. I&apos;ve seen this for quite some time, but since for me drkonqi does not appear I just wondered why my konsole displays disappear.
The programs running in there continue to do so, but konsole itself is gone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1577299</commentid>
    <comment_count>2</comment_count>
    <who name="Bernd Steinhauser">linux</who>
    <bug_when>2016-02-18 04:20:56 +0000</bug_when>
    <thetext>I did notice, that for me, it&apos;s not actually crashing, but konsole just disappears (as in not visible anymore).

The process is reparanted to init and childs run until I kill konsole.

That&apos;s also why drkonqi doesn&apos;t appear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580264</commentid>
    <comment_count>3</comment_count>
      <attachid>97683</attachid>
    <who name="Demaro Stanberry">demaro.stanberry</who>
    <bug_when>2016-03-04 19:55:37 +0000</bug_when>
    <thetext>Created attachment 97683
konsoleRestore.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580265</commentid>
    <comment_count>4</comment_count>
    <who name="Demaro Stanberry">demaro.stanberry</who>
    <bug_when>2016-03-04 20:00:04 +0000</bug_when>
    <thetext>I&apos;ve also experienced this, and finally got annoyed enough to figure out a workaround that suits my needs. The script above is a pretty crude hack to &apos;restore&apos; konsole but it will only restore your tabs if there is a konsole session in $HOME/.config/sessions/konsole_&lt;really long uid&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1580275</commentid>
    <comment_count>5</comment_count>
    <who name="Bernd Steinhauser">linux</who>
    <bug_when>2016-03-04 20:27:24 +0000</bug_when>
    <thetext>Right, but killing it will also kill processes running in the konsole session, which I really would like to avoid.

Anyway, maybe this should be moved into a separate bug, because this one actually talks about konsole crashing, while what you and I observe is konsole disappearing due to the disconnect or reconnect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1586939</commentid>
    <comment_count>6</comment_count>
    <who name="Bernd Steinhauser">linux</who>
    <bug_when>2016-04-06 05:33:51 +0000</bug_when>
    <thetext>I have not seen any issues with konsole crashing or disappearing when disconnecting a screen during the last two months or so.

I think that this was (somehow?) fixed. Maybe you can confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1805526</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Crouthamel">andrew.crouthamel</who>
    <bug_when>2018-11-01 13:56:55 +0000</bug_when>
    <thetext>Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1816460</commentid>
    <comment_count>8</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2018-11-16 11:38:31 +0000</bug_when>
    <thetext>Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED &gt; WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823637</commentid>
    <comment_count>9</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2018-12-01 03:52:16 +0000</bug_when>
    <thetext>This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED &gt; WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2001123</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-02-08 19:24:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 341497 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>97683</attachid>
            <date>2016-03-04 19:55:37 +0000</date>
            <delta_ts>2016-03-04 19:55:37 +0000</delta_ts>
            <desc>konsoleRestore.sh</desc>
            <filename>file_358560.txt</filename>
            <type>text/plain</type>
            <size>459</size>
            <attacher name="Demaro Stanberry">demaro.stanberry</attacher>
            
              <data encoding="base64">IyEvYmluL2Jhc2gNCnhfd2luZG93X2lkPSQoeGRvdG9vbCBzZWFyY2ggLS1vbmx5dmlzaWJsZSAt
LWNsYXNzIGtvbm9sZSkNCmtvbnNvbGVfcHJvY2Vzc19pZD0kKHBzIGF4IHwgZ3JlcCBrb25zb2xl
IHwgYXdrICd7cHJpbnQgJDF9JyB8IGhlYWQgLW4gMSkNCmtvbnNvbGVfcHJvY2Vzc19jbWQ9JChw
cyAtZW8gYXJncyB8IGdyZXAga29uc29sZSB8IGhlYWQgLW4gMSkNCiMgUmVsYXVuY2gga29uc29s
ZSBpZiBwcm9jZXNzIHdpbmRvdyBpcyBvZmYgaW4gdGhlIHdlZWRzDQppZiBbIC16ICIkeF93aW5k
b3dfaWQiIF07DQp0aGVuDQogICAgICAgIGlmIFsgISAteiAiJGtvbnNvbGVfcHJvY2Vzc19pZCIg
XTsNCiAgICAgICAgdGhlbg0KICAgICAgICAgICAgICAgIGtpbGwgJGtvbnNvbGVfcHJvY2Vzc19p
ZA0KICAgICAgICAgICAgICAgIGV4ZWMgJGtvbnNvbGVfcHJvY2Vzc19jbWQNCiAgICAgICAgZmkN
CmZp
</data>

          </attachment>
      

    </bug>

</bugzilla>