Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Special workspace toggles on wrong display, unable to focus

Open krims0n32 opened this issue 1 year ago • 5 comments

Hyprland Version

Hyprland, built from branch main at commit 36fa33f7ca2f555cc8581a13c5899effed2bf84b dirty (input: Prevent crash with invalid keyboard layout (4157)). Tag: v0.33.1-42-g36fa33f7 flags: (if any) debug

Bug or Regression?

Bug

Description

Toggling a special workspace on a different monitor than where it was initially toggled doesn't show the app on the correct display.

How to reproduce

workspace=special:scratchpad, on-created-empty:pomotroid
bind=SUPER,code:49,togglespecialworkspace,scratchpad

I have 3 displays, DP-1/2/3.

When on DP-1: When I press the shortcut, the app launches correctly on DP-1 and it responds to clicks and stuff. When I press the shortcut again the app disappears correctly.

However when I focus DP-2 and now press the shortcut, it dims DP-2 but the app appears on DP-1 again. I cannot interact with the app on DP-1 now.

I'd expect the app to appear on DP-2 this time and be able to interact with it.

I have no other special rules configured for said app.

Ideally, I want the special workspace to always show on DP-1. I've tried adding monitor:DP-1 to the workspace rule but that doesn't seem to have any effect.

Crash reports, logs, images, videos

No response

krims0n32 avatar Dec 15 '23 10:12 krims0n32

is pomotroid floating?

vaxerski avatar Dec 15 '23 15:12 vaxerski

Yes.

krims0n32 avatar Dec 15 '23 16:12 krims0n32

well you can tile it then for a temporary fix, I guess.

vaxerski avatar Dec 15 '23 19:12 vaxerski

Pomotroid is a shitty electron app apparently, I couldn't get it tiled.

Now using another app that can be pseudotiled. Good workaround.

krims0n32 avatar Dec 18 '23 08:12 krims0n32

I have the problem too, I have two monitors, put the alacritty in a spcial workspace and encountered the exact same behavior.

xvrong avatar Dec 18 '23 19:12 xvrong

I would also like to be able to "fix" a special workspace to a specific monitor. I am not sure if it is supported sth like this doesn't work workspace=special:test,monitor:DP-1

Patpatolino avatar Jul 01 '24 14:07 Patpatolino