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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/ac9410a4d0
                   |                            |39edba143bd93f177ebd503585c
                   |                            |e1a
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #9 from Vlad Zahorodnii <[email protected]> ---
Git commit ac9410a4d039edba143bd93f177ebd503585ce1a by Vlad Zahorodnii, on
behalf of Mathias Schuh.
Committed on 02/11/2026 at 15:06.
Pushed by vladz into branch 'master'.

Make the on-screen-display position configurable

The position of OSD windows (volume, brightness, keyboard layout, …) is
hardcoded to horizontally centered at two thirds of the screen height.

This adds an `OnScreenDisplayPosition` option mirroring the existing
picture-in-picture placement settings: nine screen anchors plus a configurable
margin. The default ("Lower center") preserves the current behavior exactly, so
nothing changes for existing users.

Per David Edmundson's suggestion in the bug, the UI lives in the Window
Behavior KCM in an "Overlay Positioning" group shared with the
picture-in-picture settings.

Depends on !9370 — the UI commit builds on the QML port of the options KCM; the
first commit (option + placement + tests) is independent of it.

Placement is covered by a new data-driven integration test verifying all ten
positions.

![overlay-positioning-kcm.png](/uploads/bc6ab048d53d3b57e0b05096f681cc49/overlay-positioning-kcm.png){width=390
height=467}

M  +49   -0    autotests/integration/plasma_surface_test.cpp
M  +16   -0    src/kcms/options/kwinoptions_settings.kcfg
M  +19   -3    src/kcms/options/ui/MovementAndPlacement.qml
A  +145  -0    src/kcms/options/ui/OnScreenDisplayPositionSelector.qml    
[License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +15   -0    src/kwin.kcfg
M  +14   -0    src/options.cpp
M  +29   -0    src/options.h
M  +37   -5    src/placement.cpp

https://invent.kde.org/plasma/kwin/-/commit/ac9410a4d039edba143bd93f177ebd503585ce1a

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

Reply via email to