Bug 507889 - Power button screen is cut off on the sides on vertical display with 150% or higher scale
Summary: Power button screen is cut off on the sides on vertical display with 150% or ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (other bugs)
Version First Reported In: 6.4.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-05 09:33 UTC by Mors Mortium
Modified: 2025-11-19 06:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:


Attachments
The buttons being cut off (243.11 KB, image/png)
2025-08-05 09:33 UTC, Mors Mortium
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mors Mortium 2025-08-05 09:33:22 UTC
Created attachment 183798 [details]
The buttons being cut off

SUMMARY


STEPS TO REPRODUCE
1. Have a vertical display (mobile device or just rotated screen)
2. Set scale to 150%
3. Press power button

OBSERVED RESULT

The buttons for sleep and cancel, on the edges, are cut off.

EXPECTED RESULT

The buttons could take multiple rows if they can't fit.

SOFTWARE/OS VERSIONS
Operating System: Artix Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.8-artix1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® N100
Memory: 16 GiB of RAM (11.4 GiB usable)
Graphics Processor: Intel® Graphics

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-08-08 17:32:04 UTC
On e mobile device, typically you'd use Plasma Mobile which has a different, mobile-optimized logout screen. On a desktop monitor, this should be nearly impossible to make happen unless it's an unusually narrow (or wide rotated) screen and a high scale factor. I suppose it could happen in a constrained V window too.

Still, it's possible since the code doesn't account for this possibility.
Comment 2 Bug Janitor Service 2025-10-23 22:03:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5936
Comment 3 Nate Graham 2025-11-19 06:41:44 UTC
Git commit f62d2a9643863268217a66b6edb214885a525f0a by Nate Graham.
Committed on 19/11/2025 at 06:41.
Pushed by ngraham into branch 'master'.

login/lock/logout screens: use multi-button layout when needed

When the screen is very narrow, there may not be room for all the
buttons on one row. In this case, switch to a multi-row layout.

The removed comment is about something that doesn't seem relevant
anymore; there is no problem with using a Layout class here.
FIXED-IN: 6.6.0

M  +10   -3    lookandfeel/components/SessionManagementScreen.qml
M  +11   -2    lookandfeel/org.kde.breeze/contents/logout/Logout.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/f62d2a9643863268217a66b6edb214885a525f0a