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

            Bug ID: 480240
           Summary: Use of QMenu widgets result in `layershellqt: Cannot
                    attach popup of unknown type`
    Classification: Frameworks and Libraries
           Product: layer-shell-qt
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: t...@bk.ru
  Target Milestone: ---

Created attachment 165165
  --> https://bugs.kde.org/attachment.cgi?id=165165&action=edit
Screenshot of fullscreen menu

SUMMARY

When using layer-shell-qt in application which uses QMenu widgets, warning
"layershellqt: Cannot attach popup of unknown type" is written on menu
activation. I assume it occurs in
QWaylandLayerSurface::attachPopup(QtWaylandClient::QWaylandShellSurface *popup)
method.

The bad thing about it is that menus break, actually. Without layer-shell-qt
they work perfectly fine and only when I call
LayerShellQt::Shell::useLayerShell() they go fullscreen and hard to navigate.

STEPS TO REPRODUCE

1. Integrate layer-shell-qt into project
2. Create any QMenu

OBSERVED RESULT

Menu goes fullscreen.

EXPECTED RESULT

Menu stays normal, as in Qt without layer-shell-qt enabled.

SOFTWARE/OS VERSIONS
Linux: 6.6.11 
Qt Version: 6.6.0

ADDITIONAL INFORMATION

Screenshot of fullscreen menu attached.

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

Reply via email to