gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
240 stars 14 forks source link

Problems with the botom margin on reboot. #13

Closed Bstiler closed 11 months ago

Bstiler commented 1 year ago

The image below shows what happens when I tile my window after a reboot: kzones_problem Not only the padding isn't applied, but part of my window goes below the panel. If I disable kzones and enable it again the problem is fixed: kzones_desired_behavior Here's my layout configuration:

[
    {
        "name": "Default",
        "padding": 10,
        "zones": [
            {
                "name": "1",
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 33
            },
            {
                "name": "2",
                "x": 33,
                "y": 0,
                "height": 100,
                "width": 33
            },
            {
                "name": "3",
                "x": 66,
                "y": 0,
                "height": 100,
                "width": 33
            },

            {
                "name": "4",
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 50
            },
            {
                "name": "5",
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 100
            },
            {
                "name": "6",
                "x": 50,
                "y": 0,
                "height": 100,
                "width": 50
            },

            {
                "name": "7",
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 66
            },
           {
                "name": "8",
                "x": 33,
                "y": 0,
                "height": 100,
                "width": 66
            },
            {
                "name": "9",
                "x": 34,
                "y": 0,
                "height": 100,
                "width": 66
            }
        ]
    }
]

I'm on plasma 5.25 using a wayland session and an ultra-wide monitor.

gerritdevriese commented 11 months ago

Can you try the latest version? (you need Plasma > 5.27)