Bug 500883 - plasma-mobile screen corners and round displays
Summary: plasma-mobile screen corners and round displays
Status: CONFIRMED
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: Shell (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-01 06:57 UTC by lainlives
Modified: 2025-03-03 10:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lainlives 2025-03-01 06:57:58 UTC
Plasma-mobile on my OP6t cuts off the corner taskpanel buttons and the clock and battery %

I worked around by adding a 30px margin to the anchors of the elements on the root rectangle

A proper fix would be adding an option to the shell config to pad the corners, maybe an option for top and bottom padding separately as non-uniform corner curves are a thing I've already encountered outside of phones.

Linux: 6.13.0-rc2
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 Devin Lin 2025-03-01 16:45:47 UTC
We currently don't have a framework for doing this yet, because we need to take into account the orientation of the device as well.
Comment 2 lainlives 2025-03-03 10:57:25 UTC
Amusingly my workaround works perfectly on all 4 orientations.  Maybe a dummy 0px wide can be added to either side with its width being a variable definable somewhere in the shell.
Comment 3 lainlives 2025-03-03 10:59:13 UTC
Yeah actually that would work well upon further thought if its offset is in raw pixels, as they are generally circular corners instead of ovular so the same offset defined in pixels works in landscape or portrait.