STEPS TO REPRODUCE 1. Open Kate and click "File → Save As..." 2. Don't save the file, but leave the dialog window open 3. With the window open, click "File → Open..." and open any file 4. Kate crashes Operating System: Arch Linux KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 Kernel Version: 5.16.12-arch1-1 (64-bit) Graphics Platform: Wayland
Hmm, the Save As... dialog should be modal, I am not able to click File -> Open... at all.
(In reply to Christoph Cullmann from comment #1) > Hmm, the Save As... dialog should be modal, I am not able to click File -> > Open... at all. Oh, yeah, I used the Application menu in the Titlebar (customizable via System Settings → Appearance → Window Decorations → Titlebar Buttons). Regardless, I think Kate should still not crash. Kwrite doesn't crash when doing the same.
Have you some backtrace for the crash?
(In reply to Christoph Cullmann from comment #3) > Have you some backtrace for the crash? No, but if you put the Application menu in the Titlebar through System Settings, you'll probably get the same behavior.
Not reproducable in master branch
Yeah, ok, crashes, but that is really evil, that kills the total modal dialog concept...
This looks like an issue with the dbusmenu/appmenu stuff in Plamsa-workspace/KWin, while an app has a modal dialog open, there should ideally be a way to block the AppMenu stuff from being used, otherwise we end up with these unexpected situations.
Yes, I don't think that is actually properly fixable on the application side. In this case here, the view that has the other modal dialog open will be deleted after the open dialog exits. There is no sane way to avoid this crash in KTextEditor or Kate/KWrite.
(In reply to Christoph Cullmann from comment #8) > There is no sane way to avoid this crash in KTextEditor or Kate/KWrite. Like I said earlier, KWrite does not crash when doing the same.
(In reply to wokim from comment #9) > (In reply to Christoph Cullmann from comment #8) > > There is no sane way to avoid this crash in KTextEditor or Kate/KWrite. > > Like I said earlier, KWrite does not crash when doing the same. That is sadly no longer true, as KWrite shares now the same code as Kate in master. That KWrite didn't crash before was sheer luck that there the handling of open is differently. That modal dialogs are no longer modal with this feature is the real issue, the application relies on that, otherwise these dialogs wouldn't be modal in the first place.
This bug is a crash report that is over a year old without any activity, as our software is always changing, the information in this ticket is unlikely to still be useful. If this issue is still reproducible in a newer version of kwin (5.27.5 or 6.0) please reopen this ticket with a bumped version number or it will be closed in 30 days.
(In reply to David Edmundson from comment #11) > This bug is a crash report that is over a year old without any activity, as > our software is always changing, the information in this ticket is unlikely > to still be useful. > > If this issue is still reproducible in a newer version of kwin (5.27.5 or > 6.0) please reopen this ticket with a bumped version number or it will be > closed in 30 days. The crash does not seem to happen anymore with kwin 6.0 (wayland) on my system.
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!
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!