Bug 434310 - Crash on right clicking in search
Summary: Crash on right clicking in search
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 20.12.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-12 01:27 UTC by Shay G
Modified: 2022-01-19 21:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shay G 2021-03-12 01:27:04 UTC
Application: dolphin (20.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.4-arch1-1 x86_64
Windowing System: X11
Drkonqi Version: 5.21.2
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:

It Crashed when I right clicked in search line (To get the context menu)

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f3d03c76ce7 in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () at /usr/lib/libQt5QuickTemplates2.so.5
#5  0x00007f3d0a397141 in QShortcutMap::hasShortcutForKeySequence(QKeySequence const&) const () at /usr/lib/libQt5Gui.so.5
#6  0x00007f3d0aba19bd in QLineEdit::createStandardContextMenu() () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f3d0aba25ef in QLineEdit::contextMenuEvent(QContextMenuEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f3d0aa9ab0e in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f3d0aa59752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f3d0aa61525 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f3d09f91a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f3d0aab3db1 in  () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f3d0aab663f in  () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f3d0aa59752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f3d09f91a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f3d0a36b594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#17 0x00007f3d0a340bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#18 0x00007f3d0480916c in  () at /usr/lib/libQt5XcbQpa.so.5
#19 0x00007f3d07dd2b84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007f3d07e26c21 in  () at /usr/lib/libglib-2.0.so.0
#21 0x00007f3d07dd13b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#22 0x00007f3d09fea691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f3d09f903ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f3d09f98844 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#25 0x00007f3d0c122f43 in kdemain () at /usr/lib/libkdeinit5_dolphin.so
#26 0x00007f3d0bf35b25 in __libc_start_main () at /usr/lib/libc.so.6
#27 0x0000558a98a4c05e in _start ()
[Inferior 1 (process 6119) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-01-19 21:27:21 UTC
This is an upstream bug in Qt which was fixed with https://codereview.qt-project.org/c/qt/qtdeclarative/+/371842. It will be backported to the KDE patch collection soon; see https://invent.kde.org/qt/qt/qtquickcontrols2/-/merge_requests/3

Thanks so much to Nicolas Fella for discovering this and backporting it!