Skip to content

Layout 'applications' option not working #192

@Foxxify1

Description

@Foxxify1

Before continuing, please confirm that

  • You have read the usage instructions and tried the basic troubleshooting steps
  • There are no open issues that match your problem
  • The issue is also reproducible on Wayland

Describe the bug

I'm specifying an application class in a custom layout. I can't get any applications to actually snap to the zone, and haven't since setting up KZones ~9 months ago despite having the 'applications' option set, across updates and reboots.

To reproduce

I get the class name from Window Rules -> Add New -> Detect Window Properties. I've tried "vesktop", "spotify", "org.kde.dolphin", and a few others, but none of them work. I tried both one and multiple applications in the config. Here's my full custom layouts file:

[
    {
        "name": "Two Thirds",
        "padding": 0,
        "zones": [
            {
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 67
            },
            {
                "x": 67,
                "y": 0,
                "height": 100,
                "width": 33
            },
            {
                "x": 67,
                "y": 0,
                "height": 50,
                "width": 33
            },
            {
                "x": 67,
                "y": 50,
                "height": 50,
                "width": 33
            }
        ]
    },
    {
        "name": "Fullscreen",
        "zones": [
            {
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 100,
                "applications": ["vesktop", "spotify"]
            }
        ]
    }
]

I unchecked KZones, hit Apply, then checked, and hit Apply after replacing the application class each time. Then I set my zone to Fullscreen, and opened/restarted the app. No app would snap to the zone.

Expected behavior

The app should snap to the zone when open/restarted

Screenshots

No response

KZones Version

Release v0.9.1

System Information

Operating System: CachyOS Linux
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 6.19.12-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2080 Ti
Product Name: B550M Pro4

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions