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

            Bug ID: 508321
           Summary: Menus in the bin area does not always show under
                    wayland + GNOME
    Classification: Applications
           Product: kdenlive
      Version First git-master
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Project Bin & Import
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 184130
  --> https://bugs.kde.org/attachment.cgi?id=184130&action=edit
A screen recording showing the issue : it works here on the first click (but
not always), and never after

SUMMARY
Menus in the bin area does not show most of the times on click under wayland

STEPS TO REPRODUCE
1. Start a wayland gnome session (arch linux here).
2. Run kdenlive : either flatpak, pacman package, or built from source (master)
all show the same issue
3. Click on the options menu

Note : It works correctly when running kdenlive under x11 (QT_QPA_PLATFORM=xcb)
or under plasma desktop (wayland). It looks like a kind of incompatibility
between the mutter compositor and either kdenlive or QT6 ?

OBSERVED RESULT
The options menu does not show most of the time

EXPECTED RESULT
The menu should be shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.16.0
Kdenlive flatpak v25.04.3
KDE Plasma Version: not applicable
KDE Frameworks Version: how do I check this ? 
Qt Version: 6.9.1

ADDITIONAL INFORMATION

Note : It works correctly when running kdenlive under x11 (QT_QPA_PLATFORM=xcb)
or under plasma desktop (wayland). It looks like a kind of incompatibility
between the mutter compositor and either kdenlive or QT6 ?

I tried running it with additional debug logs, and here is the relevant diff
between a successful menu open and a failed one :

Failed :
[qt.qpa.wayland.textinput] virtual void
QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*)
0x55ad96297e30
[qt.qpa.wayland.textinput] virtual void
QtWaylandClient::QWaylandTextInputv3::commit() with serial 22
[qt.rhi.rub] [rub] new offscreen frame

Successful : 
[qt.qpa.wayland.textinput] virtual void
QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*)
0x55ad95bba7b0
[qt.qpa.wayland.textinput] virtual void
QtWaylandClient::QWaylandTextInputv3::commit() with serial 20
[qt.widgets.painting] Syncing QRegion(0,0 123x54) of QMenu(0x55ad8fa2c980)
[qt.widgets.painting] Marking QRegion(0,0 123x54) of top level
QMenu(0x55ad8fa2c980) as needing flush
[qt.widgets.painting] Painting and flushing dirty top level QRegion(0,0 123x54)
and dirty widgets QList()
[qt.widgets.painting] Drawing QRegion(0,0 123x54) of QMenu(0x55ad8fa2c980) at
QPoint(0,0) into paint device 0x55ad92593118 with QFlags<QWidgetPrivate:\
:DrawWidgetFlag>(DrawAsRoot|DrawRecursive|UseEffectRegionBounds)
[qt.widgets.painting] Marking QRegion(0,0 123x54) of top level
QMenu(0x55ad8fa2c980) as needing flush
[qt.widgets.painting] Flushing top level QRegion(0,0 123x54) and children
QList()
[qt.widgets.painting] Flushing QRegion(0,0 123x54) of QMenu(0x55ad8fa2c980) to
QWidgetWindow(0x55ad95f5bb80, name="QMenuClassWindow")
[qt.qpa.wayland.backingstore] handleUpdate QThread(0x55ad8ef9a260, name = "Qt
mainThread")
[qt.widgets.painting] Syncing QRegion(0,0 123x54) of QMenu(0x55ad8fa2c980)
[qt.widgets.painting] Flushing QRegion(0,0 123x54) of QMenu(0x55ad8fa2c980) to
QWidgetWindow(0x55ad95f5bb80, name="QMenuClassWindow")
[qt.qpa.wayland.backingstore] Buffer already committed, not attaching.
[qt.rhi.rub] [rub] new offscreen frame

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

Reply via email to