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

            Bug ID: 517090
           Summary: Right-Click context menu goes off the screen
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 190347
  --> https://bugs.kde.org/attachment.cgi?id=190347&action=edit
File containing what i thought would be necessary

When touchscreen mode is enabled (System Settings → Workspace Behavior →
General Behavior), context menus with many items overflow off the top of the
screen. The menu does not flip direction or constrain itself to the visible
area. Disabling touchscreen mode resolves the issue immediately without any
other changes.
Steps to reproduce

Enable touchscreen mode in System Settings → Workspace Behavior → General
Behavior
Right-click a folder in Dolphin that has many context menu items
Observe the menu overflowing off the top of the screen

Expected behaviour
Context menus should flip direction or constrain themselves to remain fully
within screen bounds regardless of the number of items.
Actual behaviour
Menus with many items overflow off the top of the screen. The menu does not
flip or truncate to fit. This only occurs when touchscreen mode is enabled —
disabling it resolves the issue — suggesting that the increased item
padding/height added by touchscreen mode pushes menus that would otherwise fit
just over the screen edge, and KWin is not compensating for this.
Additional context

The issue is 100% reproducible by toggling touchscreen mode on/off
Tested with both default Breeze theme and Ant-Dark theme — issue persists
regardless of theme
Tested with multiple resolutions and scale factors (1920×1200 @ 140% scale,
3840×2400 @ 200% and 300% scale) — issue persists regardless
Display is a 4K 16:10 panel (Dell XPS 13 9310 built-in display, 3840×2400
native)

System information

KWin: 6.4.5
KDE Plasma: 6.4.5
OS: Kubuntu 25.10 (Questing Quokka)
Kernel: Linux 6.17.0-14-generic
Session type: Wayland (X11 unavailable on this installation)
Display: Dell XPS 13 9310 built-in, set to 1920×1200 @ 60Hz, Scale 140%
CPU: Intel Core i5-1135G7 (11th Gen, 8 threads) @ 4.20 GHz
GPU: Intel Iris Xe Graphics (integrated) @ 1.30 GHz
RAM: 15.33 GiB
Touchscreen: Yes (Dell XPS 13 9310 has a built-in touchscreen)

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

Reply via email to