https://bugs.kde.org/show_bug.cgi?id=481625

            Bug ID: 481625
           Summary: Crash when pressing "Close Other" in file menu when
                    Welcome page is open
    Classification: Applications
           Product: kate
           Version: 24.01.95
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: olib...@outlook.com
  Target Milestone: ---

Created attachment 165973
  --> https://bugs.kde.org/attachment.cgi?id=165973&action=edit
Backtrace from GDB

SUMMARY
When pressing File > Close Other with the welcome page open, the application
(Kate/KWrite) segfaults.

The action is appropriately disabled in the context menu for tabs, but not in
file menu. It also only applies to documents there, and ignores the welcome
page.


STEPS TO REPRODUCE
1. Open welcome page (Help > Welcome Page) if not already open.
2. Open file menu
3. Press "Close Other" action

OBSERVED RESULT
Segfault.

EXPECTED RESULT
Does nothing, or is disabled.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.93.0 (6.0 RC2)
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0

BACKTRACE (relevant parts abriged from backtrace.txt)
#0  0x00007ffff7e651e2 in KateMainWindow::slotDocumentCloseOther
(this=0x7fffd8001ff0) at
/usr/src/debug/kate/kate-24.01.95/apps/lib/katemainwindow.cpp:633
#1  KateMainWindow::qt_static_metacall (_o=0x7fffd8001ff0, _c=<optimized out>,
_id=<optimized out>, _a=0x7fffffffced0) at
/usr/src/debug/kate/build/apps/lib/kateprivate_autogen/include/moc_katemainwindow.cpp:685
        _t = 0x7fffd8001ff0
#2  0x00007ffff63bffeb in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007ffff6f299c7 in QAction::activate(QAction::ActionEvent) () at
/usr/lib/libQt6Gui.so.6

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

Reply via email to