Bug 445175 - With 95% scale, maximized screen does not use the full screen, kscreen kept the right screen 1px over the left one
Summary: With 95% scale, maximized screen does not use the full screen, kscreen kept t...
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.23.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-08 18:57 UTC by Luiz Angelo De Luca
Modified: 2022-11-10 00:26 UTC (History)
1 user (show)

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


Attachments
screenshot (804.89 KB, image/png)
2021-11-08 18:57 UTC, Luiz Angelo De Luca
Details
kscreen-console bug (13.23 KB, text/plain)
2021-11-08 19:03 UTC, Luiz Angelo De Luca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo De Luca 2021-11-08 18:57:17 UTC
Created attachment 143347 [details]
screenshot

SUMMARY

I have two monitor, one is rotated and scaled down (95%). When I maximize an app on that screen, it is using the bottom limit from the right monitor. I'll attach a screenshot. I'm using wayland.

Zooming in the border, I could see that the right painel is about 1px over the left screen.
The panel was expanded using the painel config ("maximize the painel")

My kscreen conf:

[
    {
        "enabled": true,
        "id": "eeee47da3181b6cbbae6d1472241e6f8",
        "metadata": {
            "fullname": "xrandr-Hewlett Packard-HP L190hb-BRG11407Q8",
            "name": "Hewlett Packard HP L190hb/BRG11407Q8"
        },
        "mode": {
            "refresh": 59.887001037597656,
            "size": {
                "height": 900,
                "width": 1440
            }
        },
        "overscan": 50,
        "pos": {
            "x": 0,
            "y": 0
        },
        "primary": false,
        "rgbrange": 0,
        "rotation": 2,
        "scale": 0.9492,
        "vrrpolicy": 0
    },
    {
        "enabled": true,
        "id": "9c25045418948794054c3d2d64ad8519",
        "metadata": {
            "fullname": "xrandr-2470W-E8562IA000190",
            "name": "AOC 2470W/E8562IA00019"
        },
        "mode": {
            "refresh": 60,
            "size": {
                "height": 1080,
                "width": 1920
            }
        },
        "overscan": 0,
        "pos": {
            "x": 947,
            "y": 218
        },
        "primary": true,
        "rgbrange": 0,
        "rotation": 1,
        "scale": 1,
        "vrrpolicy": 0
    }
]

It might be a rounding error (because of the scale)

Linux/KDE Plasma: Linux OpenSUSE Tumbleweed 20211106.
Comment 1 Luiz Angelo De Luca 2021-11-08 19:03:17 UTC
Created attachment 143348 [details]
kscreen-console bug
Comment 2 Nate Graham 2022-11-08 22:38:59 UTC
Very likely a scale-based rounding error.

Does the issue persist on Wayland, or does it work properly there? Also are you able to try with Plasma 5.25 or 5.26?
Comment 3 Luiz Angelo De Luca 2022-11-10 00:25:29 UTC
It works as expected with 5.26
Comment 4 Luiz Angelo De Luca 2022-11-10 00:25:45 UTC
It works as expected with 5.26