Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Clicking an empty workspace on a non-focused monitor will not focus it

Open KaspervdHeijden opened this issue 1 year ago • 5 comments

Hyprland Version

System/Version info
[vanderheijdenk@spaceship zsh Linux 6.6.11 ~ 2024-01-19 10:54]
% hyprctl version
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

[vanderheijdenk@spaceship zsh Linux 6.6.11 ~ 2024-01-19 10:54]
% hyprctl systeminfo
usage: hyprctl [(opt)flags] [command] [(opt)args]

commands:
    activewindow
    activeworkspace
    binds
    clients
    cursorpos
    decorations
    devices
    dispatch
    getoption
    globalshortcuts
    hyprpaper
    instances
    keyword
    kill
    layers
    layouts
    monitors
    notify
    plugin
    reload
    setcursor
    seterror
    setprop
    splash
    switchxkblayout
    version
    workspacerules
    workspaces

flags:
    -j -> output in JSON
    --batch -> execute a batch of commands, separated by ';'
    --instance (-i) -> use a specific instance. Can be either signature or index in hyprctl instances (0, 1, etc)

[1 vanderheijdenk@spaceship zsh Linux 6.6.11 ~ 2024-01-19 10:54]
% 

(Please consider updating the template, hyprctl systeminfo does not work)

Bug or Regression?

Bug

Description

When clicking on a empty workspace on a monitor that does not have focus, I expect that workspace and monitor to obtain focus. However, it does not.

How to reproduce

  • Have swaybg render a nice background image
  • Have follow_mouse set to either 0 or 2
  • Have a multi monitor setup:
    • Monitor A: this has focus
    • Monitor B: this does not have focus, and does not have any windows (so an empty workspace)
  • Click on the desktop B: It does not obtain focus.
    • (If a window is on monitor B, then clikcing it will result in the workpsace/monitor to obtain focus)

Crash reports, logs, images, videos

No response

KaspervdHeijden avatar Jan 19 '24 10:01 KaspervdHeijden

Note: I can mitigate this by enabling mouse_move_focuses_monitor, but I would prefer that to be off. Moving the mouse and clicking the mouse are two distinct operations.

KaspervdHeijden avatar Jan 19 '24 10:01 KaspervdHeijden

(Please consider updating the template, hyprctl systeminfo does not work)

image

Tag: v0.34.0

Please consider reading carefully...?

vaxerski avatar Jan 19 '24 15:01 vaxerski

Missed that :) Any update on the actual issue?

KaspervdHeijden avatar Mar 04 '24 17:03 KaspervdHeijden

havent really looked into it, might be worth a re-test. Gimme sec.

vaxerski avatar Mar 04 '24 18:03 vaxerski

seems to work on my end

vaxerski avatar Mar 04 '24 18:03 vaxerski

is this still a thing?

vaxerski avatar May 15 '24 23:05 vaxerski

Hey @vaxerski, thanks for getting back and sorry for neglecting this issue. I've since moved back to Sway. If I return to hyprland in the future and encounter this issue, I'll make a new issue.

Closing.

KaspervdHeijden avatar May 16 '24 15:05 KaspervdHeijden