pyprland
pyprland copied to clipboard
[BUG] [layout_center] incorrect window position
Pyprland version 2.4.0
Describe the bug
In a setup with 2 monitors, each monitor have its hyprland workspace. If you do pypr layout_center toggle, the current selected window will be split between both monitors AKA between both workspace.
Setup is: 1080p left, 2160p right
Before activation
After activation
Expected behavior It should be centered to the current workspace.
Hi!
Can you provide the pypr logs and the output of hyprctl -j monitors ?
Do you have any special configuration ? And which version of Hyprland are you using?
Multiple monitors are supported, I'll rename to a more vague title until we get more clarity on your problem.
Lastly, do you have a chance to test on an older Hyprland version?
Here is the output of hyprctl -j monitors:
❯ hyprctl -j monitors
[{
"id": 0,
"name": "DP-2",
"description": "Acer Technologies Acer XB281HK #ASMTlagXJiXd",
"make": "Acer Technologies",
"model": "Acer XB281HK",
"serial": "#ASMTlagXJiXd",
"width": 3840,
"height": 2160,
"refreshRate": 59.99700,
"x": 1920,
"y": 0,
"activeWorkspace": {
"id": 8,
"name": "8"
},
"specialWorkspace": {
"id": 0,
"name": ""
},
"reserved": [0, 49, 0, 0],
"scale": 1.50,
"transform": 0,
"focused": true,
"dpmsStatus": true,
"vrr": false,
"activelyTearing": false,
"disabled": false,
"currentFormat": "XRGB8888",
"availableModes": ["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"]
},{
"id": 1,
"name": "HDMI-A-2",
"description": "Iiyama North America PLT2252 1151301100379",
"make": "Iiyama North America",
"model": "PLT2252",
"serial": "1151301100379",
"width": 1920,
"height": 1080,
"refreshRate": 60.00000,
"x": 0,
"y": 0,
"activeWorkspace": {
"id": 1,
"name": "1"
},
"specialWorkspace": {
"id": 0,
"name": ""
},
"reserved": [0, 49, 0, 0],
"scale": 1.00,
"transform": 0,
"focused": false,
"dpmsStatus": true,
"vrr": false,
"activelyTearing": false,
"disabled": false,
"currentFormat": "XRGB8888",
"availableModes": ["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"]
}]
Hyprland version:
❯ hyprctl version
Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069
I discovered the plugin spending time upgrading on latest version. I'm using arch and it's unclear how i can go back in time with packages.
Thank you! I guess this has to do with the scaling ratio applied to one of your monitors, I have busy times lately but I'll try to look into that!
I discovered the plugin spending time upgrading on latest version. I'm using arch and it's unclear how i can go back in time with packages.
Find the packages via https://archive.archlinux.org/ and just use pacman -U to install them.
Any update ?