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

            Bug ID: 480846
           Summary: Opening Menu crashes Application
    Classification: Applications
           Product: kdenlive
           Version: git-master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: schick-dein-spam-...@fahr-zur-hoelle.org
  Target Milestone: ---

SUMMARY
On Wayland, using latest master/daily flatpak build app crashes when browsing
through menu items.

STEPS TO REPRODUCE
1. Open Kdenlive (flatpak run --branch=master org.kde.kdenlive) 
2. Open Menu "Clip" and move mouse pointer over "Markers" so that nested
submenu (including "Add Markers" is visible)
3. Move mouse pointer to "Timeline" top-level menu item
4. Kdenlive crashes

Notice this only crashes when such a nested submenu is shown. Clip -> Markers
-> Timeline results in a crash while Tool -> Normal Mode -> Clip works just
fine.
On latest stable release this issue does not exists.

The following log line is printed on 2) when mouse pointer is moved to
"Markers" 
qt.qpa.wayland: setGrabPopup called with a parent,
QtWaylandClient::QWaylandXdgSurface(0x644d2179c440) which does not match the
current topmost grabbing popup,
QtWaylandClient::QWaylandXdgSurface(0x644d22afb9b0) According to the xdg-shell
protocol, this is not allowed. The wayland QPA plugin is currently handling it
by setting the parent to the topmost grabbing popup. Note, however, that this
may cause positioning errors and popups closing unxpectedly because xdg-shell
mandate that child popups close before parents
Then on 3) the app crashes with this output:
xdg_wm_base@3: error 2: xdg_popup was destroyed while it was not the topmost
popup
The Wayland connection experienced a fatal error: Protocol error

OBSERVED RESULT
App crashes while a submenu is opened which opens another menu to the right and
one switches to another top-level menu item.

EXPECTED RESULT
No crash when menu item is selected


SOFTWARE/OS VERSIONS
Linux Distribution: Arch Linux / Sway
Kdenlive: Version 24.04.70 (rev. 8870cce99)
KDE Plasma Version: ?
KDE Frameworks Version:  Version 5.248.0
Qt Version: Version 6.6.1 (built against 6.6.1)

ADDITIONAL INFORMATION

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

Reply via email to