Bug 426927

Summary: [Wayland] Scrolling with preview crashes wayland session on button release
Product: [Applications] kate Reporter: bartek1516
Component: plugin-previewAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugseforuns, foss, jan.rathmann, justin.zobel, kde
Priority: NOR    
Version First Reported In: 20.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description bartek1516 2020-09-24 13:37:03 UTC
SUMMARY
I open a big text file. Scroll using preview on the right. On button release whole wayland session crashes and Im put back in login screen.

STEPS TO REPRODUCE
1. Open file with kate
2. Scroll using preview window on the right by grabbing it with left click mouse
3. Release mouse click

OBSERVED RESULT
Whole wayland session crashes

EXPECTED RESULT
Scrolling stops and I can view where I am.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Jan Rathmann 2020-09-24 13:53:43 UTC
Tested this on a fresh installation of neon-unstable-20200920-0330.iso under VirtualBox, but I'm not able to reproduce... The described steps don't lead to a crash for me even under Wayland session.
Comment 2 bartek1516 2020-09-24 14:01:44 UTC
I created a new user with a fresh config to test that. Same thing, crashes to sddm.
Comment 3 David Edmundson 2020-09-24 15:45:50 UTC
We got a backtrace, it was the ShadowInterface buffer issues, which was was resolved after 5.19.90 but before 5.20
Comment 4 Justin Zobel 2020-10-27 23:50:14 UTC
Can you please re-test with 5.20.
Comment 5 Bug Janitor Service 2020-11-11 04:33:52 UTC
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 > 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!
Comment 6 Bug Janitor Service 2020-11-26 04:34:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > 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!