SUMMARY If you use a drawing tablet (eg. Wacom) and open certain menus/context menus in some KDE applications (eg. Dolphin, System Settings, or an "Open file..." dialog), they will appear in the center of the screen on their own window. STEPS TO REPRODUCE 1. Open Dolphin (or System Settings) 2. With a drawing tablet, open a context menu (you might need a stylus with buttons) or a hamburger menu by tapping with your stylus ALTERNATIVE STEPS TO REPRODUCE: 1. Open a brand new Kate or Kolour Paint window (Important: needs to be a new window where you didn't interact with the "Open with..." dialog with your regular mouse, otherwise it won't work. Only use your stylus) 2. Select "Open with", "Open...", etc with your stylus 3. Again, with your stylus, click on the arrow on the Filter field at the bottom to list all formats OBSERVED RESULT The hamburger menu/context menu/list will appear in its own separate window at the center of the screen. The terminal doesn't show anything out of the ordinary when that happens. EXPECTED RESULT Menus should open normally Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 5.15.0-58-generic (64-bit) Graphics Platform: Wayland Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz Memory: 15,6 GiB of RAM Graphics Processor: AMD Radeon RX 570 Series
Clarifying what I mean by "needs to be a new window where you didn't interact with the "Open with..." dialog with your regular mouse": The bug only happens if you open a window and only use a stylus to open the menus. No matter how many times you open a menu with a stylus in this fresh state, the menus always open as separate windows. If you open those submenus with your regular mouse first and only then open them with a stylus they appear where they should.
IIRC this is a Qt issue but I can't find its URL right now. Maybe Vlad can?
This is a qtwayland issue. I can't find a relevant bug report though. Perhaps somebody needs to report it.
Opened https://bugreports.qt.io/browse/QTBUG-111130 to track it in Qt.