Skip to content

[BUG] Scratchpad keeps changing position upon opening #220

Description

@ColonelCreeper44

Pyprland version
3.2.0

Describe the bug
For some reason, when opening my scratchpad for the MPD client Euphonica, the position of the scratchpad relative to the top of the screen changes with every open. It changes in a cycle, such that the position cycles between four different top margins. Attached are images of the cycles, with the last position in the cycle matching what I had configured - it is the correct position for the scratchpad.

To Reproduce
Steps to reproduce the behavior:

  1. Install Euphonica
  2. Create a scratchpad for Euphonica using the following configuration:
[scratchpads.euphonica]
animation = "fromTop"
class = "io.github.htkhiem.Euphonica"
command = "euphonica"
match_by = "class"
size = "40% 40%"
position = "30% 13%"
excludes = "*"
  1. Open the scratchpad using pypr toggle euphonica

Expected behavior
It should open how my other scratchpads open, and not change position. Image 4, the last position in the cycle, is the proper position of the scratchpad under normal behavior.

Image Image Image Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions