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

--- Comment #1 from David Edmundson <k...@davidedmundson.co.uk> ---
Relevant backtrace from the shift press:

Thread 1 "kwrite" hit Breakpoint 1, 0x00007fffedc13170 in
QtWaylandClient::QWaylandXdgSurface::setGrabPopup(QtWaylandClient::QWaylandWindow*,
QtWaylandClient::QWaylandInputDevice*, int)@plt ()
   from /opt/qt5/plugins/wayland-shell-integration/libxdg-shell.so
(gdb) bt
#0  0x00007fffedc13170 in
QtWaylandClient::QWaylandXdgSurface::setGrabPopup(QtWaylandClient::QWaylandWindow*,
QtWaylandClient::QWaylandInputDevice*, int)@plt ()
   from /opt/qt5/plugins/wayland-shell-integration/libxdg-shell.so
#1  0x00007fffedc156e0 in
QtWaylandClient::QWaylandXdgSurface::QWaylandXdgSurface (this=0x55555f205f40, 
    shell=<optimized out>, surface=<optimized out>, window=<optimized out>)
    at
../../../../include/QtWaylandClient/5.15.3/QtWaylandClient/private/../../../../../../src/client/qwaylanddisplay_p.h:203
#2  0x00007fffedc15926 in QtWaylandClient::QWaylandXdgShell::getXdgSurface
(this=0x55555f125520, 
    window=0x55555ec98c20)
    at
/home/david/projects/qt5/qtwayland/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp:475
#3  0x00007fffedc15941 in
QtWaylandClient::QWaylandXdgShellIntegration::createShellSurface (
    this=<optimized out>, window=<optimized out>)
    at
/home/david/projects/qt5/qtwayland/src/plugins/shellintegration/xdg-shell/qwaylandxdgshellintegration.cpp:69
#4  0x00007ffff12fdef1 in QtWaylandClient::QWaylandWindow::initWindow
(this=this@entry=0x55555ec98c20)
    at /home/david/projects/qt5/qtwayland/src/client/qwaylandwindow.cpp:145
#5  0x00007ffff12fe67e in QtWaylandClient::QWaylandWindow::setVisible
(this=0x55555ec98c20, 
    visible=<optimized out>) at
/home/david/projects/qt5/qtwayland/src/client/qwaylandwindow.cpp:437
#6  0x00007ffff577996a in QWindowPrivate::setVisible (this=0x55555f1bc2f0,
visible=visible@entry=true)
    at /home/david/projects/kde5/src/Qt5/qtbase/src/gui/kernel/qwindow.cpp:408
#7  0x00007ffff5ebac93 in QWidgetWindow::setNativeWindowVisibility
(this=this@entry=0x55555f204d50, 
    visible=visible@entry=true)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:215
#8  0x00007ffff5e942cf in QWidgetPrivate::show_sys
(this=this@entry=0x55555f16f7c0)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:7893
#9  0x00007ffff5e9cb2d in QWidgetPrivate::show_helper
(this=this@entry=0x55555f16f7c0)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:7816
#10 0x00007ffff5e9f85e in QWidgetPrivate::setVisible (this=0x55555f16f7c0,
visible=visible@entry=true)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:8112
#11 0x00007ffff5e9fa10 in QWidget::setVisible (this=0x55555f2051d0,
visible=<optimized out>)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:8044
#12 0x00007ffff5e9c7d2 in QWidget::show (this=this@entry=0x55555f2051d0)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:7670
#13 0x00007ffff5ecf2fa in QWhatsThisPrivate::say
(widget=widget@entry=0x7fffffffc948, 
    text="If a line has no bookmark then add one, otherwise remove it.", x=127,
y=70)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwhatsthis.cpp:635
#14 0x00007ffff5ed0ba0 in QWhatsThis::showText (pos=..., 
    text="If a line has no bookmark then add one, otherwise remove it.",
w=0x7fffffffc948)
    at
/home/david/projects/kde5/src/Qt5/qtbase/src/widgets/kernel/qwhatsthis.cpp:649
#15 0x00007ffff6feca71 in KToolTipHelperPrivate::handleKeyPressEvent
(this=0x55555ec77dd0, 
    event=0x7fffffffcca0) at
/home/david/projects/kde5/src/frameworks/kxmlgui/src/ktooltiphelper.cpp:125



#5  0x00007ffff12fe67e in QtWaylandClient::QWaylandWindow::setVisible
(this=0x55555ec98c20, 

(gdb) print closestShellSurfaceWindow(window())
$9 = (QtWaylandClient::QWaylandWindow *) 0x0

None explicitly set.


(gdb) print transientParent()->window()->objectName()
$8 = "MainWindow#1Window"

So we fallback to guessing - and find the main window. 

Does QWhatsThis even need to be grabbing?

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

Reply via email to