Bug 463308

Summary: Volume window not centred with different window managers in X11.
Product: [Plasma] plasmashell Reporter: sfammonius
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: minor CC: kde, nate
Priority: NOR    
Version First Reported In: 5.20.5   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description sfammonius 2022-12-21 15:40:40 UTC
SUMMARY

The volume window is not centred with different window managers in X11.

STEPS TO REPRODUCE
1. Install Openbox or Fluxbox or JWM
2. Start the window manager with --replace if necessary
3. Press volume down/up on keyboard

OBSERVED RESULT

The volume popup appears in a random corner.

EXPECTED RESULT

The volume popup appears in the center, as it would for KWin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.0-19-amd64
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Tested positive on JWM version 2.4 and Openbox version 3.6.1
X.org version 1.20.11-1
Comment 1 sfammonius 2022-12-21 15:42:31 UTC
It also appears below fullscreen windows.
Comment 2 Nate Graham 2023-01-05 21:29:19 UTC
The volume popup is of type "OSD" and it's up to the window manager to position these. KWin centers them, but other window managers might do something different.