[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-08-25 Thread Sven Guenther
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #34 from Sven Guenther  ---
Created attachment 141055
  --> https://bugs.kde.org/attachment.cgi?id=141055=edit
New crash information added by DrKonqi

kdeconnectd (20.12.3) using Qt 5.15.2

- What I was doing when the application crashed:

I have connected two external Displays over USB-C connections, when I unplug
the connectors, the crash happens. The Desktop is using Wayland.

-- Backtrace (Reduced):
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x7f96b9164864 in __GI_abort () at abort.c:79
#6  0x7f96b95d5c77 in QMessageLogger::fatal(char const*, ...) const () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#8  0x7f96b5af6f9a in QtWaylandClient::QWaylandDisplay::flushRequests() ()
from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
[...]
#10 0x7f96b9838be3 in QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-08-25 Thread Sven Guenther
https://bugs.kde.org/show_bug.cgi?id=426293

Sven Guenther  changed:

   What|Removed |Added

 CC||sven.guent...@gmail.com

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-06-15 Thread Christian Hartmann
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #33 from Christian Hartmann  ---
Might be related to 420160, but I struggle to get some debug logs as Dr. Konqui
hangs at the end of getting the backtrace and doesn't finish the process. This
is reproduceable on all my machines.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-06-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #32 from Nate Graham  ---
Not to my knowledge. Go ahead and file one.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-06-11 Thread Christian Hartmann
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #31 from Christian Hartmann  ---
In 5.22 I don't get any crash reports after turning my screen off and on again,
but plasmashell seems to quit completely. Is there already a bug report filed
for this?

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-05-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #30 from Nate Graham  ---
We'll be happy to investigate and fix the new issue you're having, but you have
to file a new bug report for it; using the same bug report for a new issue is
even more confusing. You can also link your new bug report with this one using
the "See also" field.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-05-24 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #29 from Ritesh Raj Sarraf  ---
(In reply to Nicolas Fella from comment #28)
> These are new symptoms, please open a new report for this

Great. You want to let go of all the information and context that was reported
with the bug report. And just because a claimed fix changed the reflection of
the bug, you are calling it a fixed one.

I am not going to file another bug report. The devs asked to report bugs with
the beta release and so I did. You can choose to self-proclaim that this issue
is fixed.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-05-24 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=426293

Nicolas Fella  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #28 from Nicolas Fella  ---
These are new symptoms, please open a new report for this

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-05-24 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=426293

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-05-24 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=426293

Ritesh Raj Sarraf  changed:

   What|Removed |Added

 CC||kde-b...@researchut.com
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #27 from Ritesh Raj Sarraf  ---
(In reply to Vlad Zahorodnii from comment #26)
> With
> https://invent.kde.org/plasma/kwayland-server/-/commit/
> 589e339da06da6237d19218baf6822ac0016220f being merged, Qt clients should
> stay alive when an output is disconnected. The fix will be available only in
> 5.22. If apps still crash, please reopen this bug report.

@Vlad

I have just tested with the latest kwin. While the issue has significantly
improved, it is not fixed completely.

The applications do not crash any more. But most KDE applications (dolphin,
konsole) which were already running while the HDMI display cable was unplugged,
go into a frozen state consuming 100% CPU cycles. Those applications do not
recover at all.

I'd really love to see this issue fixed before the final 5.22 release. So
please, help me help you with whatever information you may need.

Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-7-amd64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-04-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=426293

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.20.1  |5.22

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-04-07 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

Vlad Zahorodnii  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #26 from Vlad Zahorodnii  ---
With
https://invent.kde.org/plasma/kwayland-server/-/commit/589e339da06da6237d19218baf6822ac0016220f
being merged, Qt clients should stay alive when an output is disconnected. The
fix will be available only in 5.22. If apps still crash, please reopen this bug
report.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-03-26 Thread Christian Hartmann
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #25 from Christian Hartmann  ---
(In reply to Vlad Zahorodnii from comment #24)
> https://invent.kde.org/plasma/kwayland-server/-/merge_requests/156 should
> help with plasmashell crashing.

Thank you for the feedback. I'm looking forward to being able to test it :-)

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-03-26 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #24 from Vlad Zahorodnii  ---
https://invent.kde.org/plasma/kwayland-server/-/merge_requests/156 should help
with plasmashell crashing.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-03-19 Thread Christian Hartmann
https://bugs.kde.org/show_bug.cgi?id=426293

Christian Hartmann  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #23 from Christian Hartmann  ---
Any news on this one here? I'm still experiencing these crashes

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-02-20 Thread ilgaz
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #22 from il...@fastmail.fm  ---
Created attachment 135994
  --> https://bugs.kde.org/attachment.cgi?id=135994=edit
New crash information added by DrKonqi

plasmashell (5.21.0) using Qt 5.15.2

- What I was doing when the application crashed:
Turned off monitor (TV) and on again
- Custom settings of the application:
"Full Wayland" enabled

-- Backtrace (Reduced):
#6  0x7f43665540e7 in qt_message_fatal (message=...,
context=...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffd9457f120,
msg=msg@entry=0x7f436481d0f8 "The Wayland connection experienced a fatal error:
%s") at global/qlogging.cpp:893
#8  0x7f43647a6df0 in QtWaylandClient::QWaylandDisplay::checkError
(this=) at qwaylanddisplay.cpp:211
#9  0x7f43647a7e0a in QtWaylandClient::QWaylandDisplay::flushRequests
(this=0x55758f56a230) at qwaylanddisplay.cpp:222
#10 0x7f43647afcff in QtWaylandClient::QWaylandWindow::setVisible
(this=0x557593ab8620, visible=) at qwaylandwindow.cpp:430

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-02-20 Thread Peter Strick
https://bugs.kde.org/show_bug.cgi?id=426293

Peter Strick  changed:

   What|Removed |Added

 CC|anitastri...@gmail.com  |

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-02-20 Thread Christian Hartmann
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #21 from Christian Hartmann  ---
Created attachment 135956
  --> https://bugs.kde.org/attachment.cgi?id=135956=edit
New crash information added by DrKonqi

plasmashell (5.21.0) using Qt 5.15.2

Still happening on openSUSE Tumbleweed, Plasma 5.21.0 with QT 5.15.2

- What I was doing when the application crashed:
Turn my HDMI screen off and on again

- Custom settings of the application:
KDE wayland session

-- Backtrace (Reduced):
#6  0x7fe9b46930e7 in qt_message_fatal (message=...,
context=...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffc4ec07470,
msg=msg@entry=0x7fe9b295c0f8 "The Wayland connection experienced a fatal error:
%s") at global/qlogging.cpp:893
#8  0x7fe9b28e5df0 in QtWaylandClient::QWaylandDisplay::checkError
(this=) at qwaylanddisplay.cpp:211
#9  0x7fe9b28e6e0a in QtWaylandClient::QWaylandDisplay::flushRequests
(this=0x55c1bdb483f0) at qwaylanddisplay.cpp:222
#10 0x7fe9b28eecff in QtWaylandClient::QWaylandWindow::setVisible
(this=0x55c1c08d8020, visible=) at qwaylandwindow.cpp:430

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-02-20 Thread ilgaz
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #20 from il...@fastmail.fm  ---
Created attachment 135954
  --> https://bugs.kde.org/attachment.cgi?id=135954=edit
New crash information added by DrKonqi

plasmashell (5.21.0) using Qt 5.15.2

- What I was doing when the application crashed:
turned   on   my TV  (monitor)

- Custom settings of the application:

Wayland enabled (full wayland)

-- Backtrace (Reduced):
#6  0x7f61112770e7 in qt_message_fatal (message=...,
context=...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffc3d6312e0,
msg=msg@entry=0x7f610f5400f8 "The Wayland connection experienced a fatal error:
%s") at global/qlogging.cpp:893
#8  0x7f610f4c9df0 in QtWaylandClient::QWaylandDisplay::checkError
(this=) at qwaylanddisplay.cpp:211
#9  0x7f610f4cae0a in QtWaylandClient::QWaylandDisplay::flushRequests
(this=0x55f70321a230) at qwaylanddisplay.cpp:222
#10 0x7f61114c9980 in doActivate (sender=0x55f703252630,
signal_index=4, argv=0x7ffc3d6313f0, argv@entry=0x0) at kernel/qobject.cpp:3898

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2021-02-20 Thread ilgaz
https://bugs.kde.org/show_bug.cgi?id=426293

il...@fastmail.fm  changed:

   What|Removed |Added

 CC||il...@fastmail.fm

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-29 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #19 from Nicolas Fella  ---
*** Bug 428422 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-29 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #18 from Nicolas Fella  ---
*** Bug 428420 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-29 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=426293

Nicolas Fella  changed:

   What|Removed |Added

 CC||chris-hartm...@gmx.de

--- Comment #17 from Nicolas Fella  ---
*** Bug 428421 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=426293

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
   Version Fixed In||5.20.1

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-26 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

Vlad Zahorodnii  changed:

   What|Removed |Added

 CC||alexander.reim...@pm.me

--- Comment #16 from Vlad Zahorodnii  ---
*** Bug 427827 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-26 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

Vlad Zahorodnii  changed:

   What|Removed |Added

 CC||toro...@gmail.com

--- Comment #15 from Vlad Zahorodnii  ---
*** Bug 427973 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-19 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=426293

Nicolas Fella  changed:

   What|Removed |Added

 CC||anitastri...@gmail.com

--- Comment #14 from Nicolas Fella  ---
*** Bug 427993 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-13 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwayland-server/commit/3 |ma/kwayland-server/commit/7
   |987c0aecfb2f7e9e1222a61a75a |a8ac182d4ddcfbafe7badc89778
   |d32a0b592c08|ff5b6c375777

--- Comment #13 from Vlad Zahorodnii  ---
Git commit 7a8ac182d4ddcfbafe7badc89778ff5b6c375777 by Vlad Zahorodnii.
Committed on 13/10/2020 at 18:06.
Pushed by vladz into branch 'Plasma/5.20'.

Properly handle destruction of XdgOutputV1Interface

The xdg-output spec omits whether the compositor has to destroy all xdg-
output resources when the associated wl_output global is removed.

This means that no xdg-output resource should be destroyed unless the
client has called the destructor request; otherwise the client may panic
due to protocol errors.

Starting with Qt 5.15.2, it's okay to destroy generated wrapper objects
without destroying associated resources. Destructor requests will be
handled behind the scenes for inert and orphaned resources by code that
is generated by qtwaylandscanner.


(cherry picked from commit 3987c0aecfb2f7e9e1222a61a75ad32a0b592c08)

M  +4-1src/server/xdgoutput_v1_interface.cpp

https://invent.kde.org/plasma/kwayland-server/commit/7a8ac182d4ddcfbafe7badc89778ff5b6c375777

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-13 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

Vlad Zahorodnii  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwayland-server/commit/3
   ||987c0aecfb2f7e9e1222a61a75a
   ||d32a0b592c08
 Status|CONFIRMED   |RESOLVED

--- Comment #12 from Vlad Zahorodnii  ---
Git commit 3987c0aecfb2f7e9e1222a61a75ad32a0b592c08 by Vlad Zahorodnii.
Committed on 13/10/2020 at 05:58.
Pushed by vladz into branch 'master'.

Properly handle destruction of XdgOutputV1Interface

The xdg-output spec omits whether the compositor has to destroy all xdg-
output resources when the associated wl_output global is removed.

This means that no xdg-output resource should be destroyed unless the
client has called the destructor request; otherwise the client may panic
due to protocol errors.

Starting with Qt 5.15.2, it's okay to destroy generated wrapper objects
without destroying associated resources. Destructor requests will be
handled behind the scenes for inert and orphaned resources by code that
is generated by qtwaylandscanner.

M  +4-1src/server/xdgoutput_v1_interface.cpp

https://invent.kde.org/plasma/kwayland-server/commit/3987c0aecfb2f7e9e1222a61a75ad32a0b592c08

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-13 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #11 from Vlad Zahorodnii  ---
Great, thank you for testing.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-13 Thread Lewis Lakerink
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #10 from Lewis Lakerink  ---
(In reply to Vlad Zahorodnii from comment #9)
> No, I screwed the pooch with Qt versions. It's 5.15.2

All good. I rebuilt the relevant parts of Qt 5.15.1 with your patches from
qtwayland.

-
https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=c594b7622f52dea291d33757b74971b3902b5d37
-
https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=4a4c35a856cf64f0e165cc3cfaeb1a3bbbf471f6

Then applied your MR!98 - changing the version check to 5.15.1 and rebuilt
kwayland-server and relevant plasma bits.

I am able to confirm that unplugging my dock no longer kills the Qt clients.
I've tried a variety of screen configurations and adding/removing displays via
my dock works perfectly.

Nice work! Thank you

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-13 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #9 from Vlad Zahorodnii  ---
No, I screwed the pooch with Qt versions. It's 5.15.2

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-12 Thread Lewis Lakerink
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #8 from Lewis Lakerink  ---
Just to double check, MR!98 is for a version of Qt (5.15.3) that isn't even on
the Qt release schedule yet?

I have the latest stable Qt release, QT 5.15.1 installed, and this patch is
just a noop for that version. I tried changing the version check in your diff
to 5.15.1, but kwin just crashes when removing a monitor.

I'm super keen to try out this diff, and I'm happy to upgrade to an unstable Qt
to do so if required, but wanted to check.

Does that mean this bug could take a while to land a fix for since we'll be
waiting for upstream Qt?

Thank you for your time looking in to this issue!

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-12 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #7 from Vlad Zahorodnii  ---
Relevant merge request
https://invent.kde.org/plasma/kwayland-server/-/merge_requests/98

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-12 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=426293

Nicolas Fella  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||nicolas.fe...@gmx.de

--- Comment #6 from Nicolas Fella  ---
Happens for me too. On sway the apps don't crash though.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-10-09 Thread Lewis Lakerink
https://bugs.kde.org/show_bug.cgi?id=426293

Lewis Lakerink  changed:

   What|Removed |Added

 CC||le...@retsim.com

--- Comment #5 from Lewis Lakerink  ---
I came here to say that this issue hits me too. I searched up this issue
recently, but somehow missed this report or I'd have gotten involved sooner.

Docking my laptop works as expected, extra screens are added just fine. But as
soon as I undock, all the Qt applications crash. The debugging I did arrived at
the same conclusion as Vlad, but I don't have enough knowledge of wayland to
help with this bug.

I'm using Gentoo live ebuilds for plasma, so I have not reported this issue due
to this.

Happy to help in any way I can however.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-09-08 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #4 from David Edmundson  ---
I misunderstood the report from the backtrace. Ignore me

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-09-08 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #3 from Aleix Pol  ---
@David what do you mean with that MR? Isn't it doing an exit anyway? The fact
that it will not be crashing but still closing all clients is still as bad.

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-09-08 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=426293

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #2 from David Edmundson  ---
Relevant: https://codereview.qt-project.org/c/qt/qtwayland/+/308984

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

[kwin] [Bug 426293] All my Qt clients die when I disconnect my display

2020-09-08 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=426293

--- Comment #1 from Vlad Zahorodnii  ---
#8  QMessageLogger::fatal (this=this@entry=0x7ffd81cbcf60,
msg=msg@entry=0x7fd149e3a0f8 "The Wayland connection experienced a fatal error:
%s") at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/global/qlogging.cpp:893

> wl_display@1: error 0: invalid object 19
> The Wayland connection experienced a fatal error: Invalid argument

I believe the problem is that QtWayland tries to do something with an already
destroyed xdg_output resource and libwayland doesn't like it.

We should probably **not** destroy xdg_output resources if the associated
wl_output global has been removed. It would be nice if we could install some
dummy wl_resource implementation that only implements the destructor request or
maybe let qtwaylandscanner generated code handle inert resources.

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