| Summary: | The editor window becomes unusable in wayland | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Jaime Torres <jtamate> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | christoph, kdebugs, nate |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/commit/2fd3f8077f721c9b225ea37c7eff9aa670587753 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Strange behaviour | ||
|
Description
Jaime Torres
2021-08-04 09:09:08 UTC
Created attachment 140504 [details]
Strange behaviour
Operating System: Arch Linux (latest) KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kate 21.08 Full Wayland +1 from me - exactly the same problem A crash closing kate after reloading the view.
[KCrash Handler]
#6 0x000055ff3106e373 in qDeleteAll<__gnu_cxx::__normal_iterator<KateMDI::ToolView* const*, std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > > (end=..., begin=0x55ff33a223f0) at /usr/include/qt5/QtCore/qalgorithms.h:320
#7 qDeleteAll<std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > (c=std::vector of length 1, capacity 16 = {...}) at /usr/include/qt5/QtCore/qalgorithms.h:328
#8 KateMDI::MainWindow::~MainWindow (__vtt_parm=<optimized out>, this=<optimized out>, this=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-21.08.0-1.1.x86_64/kate/katemdi.cpp:778
#9 KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-21.08.0-1.1.x86_64/kate/katemainwindow.cpp:203
#10 0x000055ff31064340 in KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-21.08.0-1.1.x86_64/kate/katemainwindow.cpp:181
#11 KateApp::~KateApp (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-21.08.0-1.1.x86_64/kate/kateapp.cpp:113
#12 0x000055ff3105ded4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-21.08.0-1.1.x86_64/kate/main.cpp:689
True, with the "Use a separate dialog for handling..." option enabled, all is in perfect chaos after some external change here, too. Without that option set and just the inline "reload" messages all is fine. A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/504 Git commit 2fd3f8077f721c9b225ea37c7eff9aa670587753 by Christoph Cullmann. Committed on 24/10/2021 at 15:05. Pushed by cullmann into branch 'master'. fixes reload dialog on wayland avoid that after initial triggering this repaint and more of main window is destroyed M +0 -2 kate/katemainwindow.cpp https://invent.kde.org/utilities/kate/commit/2fd3f8077f721c9b225ea37c7eff9aa670587753 |