Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move cursor rule only works if cursor changes position #9455

Open
3 of 6 tasks
nnra6864 opened this issue Feb 21, 2025 · 6 comments
Open
3 of 6 tasks

move cursor rule only works if cursor changes position #9455

nnra6864 opened this issue Feb 21, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@nnra6864
Copy link
Contributor

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Definitely a regression - something broke after update (requires bisect)

System Info and Hyprland Version

System/Version info
hyprctl systeminfo
Hyprland 0.47.0 built from branch main at commit 59c615c321c45302491de3b1c003844c86aefca7  (input: add follow_mouse_threshold (9392)).
Date: Mon Feb 17 03:03:27 2025
Tag: v0.47.0-83-g59c615c3, commits: 5825
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.2


no flags were set


System Information:
System name: Linux
Node name: nnra
Release: 6.13.2-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 18:54:38 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] [10de:1e07] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  570.86.16  Fri Jan 24 21:25:51 UTC 2025


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:
  dynamic-cursors by Virt ver 0.1
  Hypr-DarkWindow by micha4w ver 3.0.1
  csgo-vulkan-fix by Vaxry ver 1.2
  hyprexpo by Vaxry ver 1.0
  hyprwinwrap by Vaxry ver 1.0

Description

If you open a window it'll open in the top left corner.
However, moving the cursor right after opening the window seems to resolve the issue somehow.
I 100% wasn't experiencing this before.

How to reproduce

Not sure if any other apps have this issue, I mainly noticed it in Unity.
Simply click on Add Component.

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

https://youtu.be/zKmqrwm9rw4

@nnra6864 nnra6864 added the bug Something isn't working label Feb 21, 2025
@nnra6864
Copy link
Contributor Author

Ok, I am beyond confused atm as this is somehow related to this:
windowrulev2 = minsize 250 250, class:^(Unity)$, title:^(UnityEditor.AddComponent.AddComponentWindow)$
If I lower the x size to <200, it just magically starts working again.
I have 0 clue what's going on tbh.

@nnyyxxxx
Copy link
Contributor

If you open a window it'll open in the top left corner.

check if trhe app is xwayland

@nnra6864
Copy link
Contributor Author

If you open a window it'll open in the top left corner.

check if trhe app is xwayland

It's Unity, it's xwayland 100% xwayland: 1.
Regardless of it being xwayland, this is a regression.

@nnyyxxxx
Copy link
Contributor

for me file pickers etc anything coming / launching from an xwayland app launches in the top left corner i think its because i have multiple monitors though

@nnra6864
Copy link
Contributor Author

for me file pickers etc anything coming / launching from an xwayland app launches in the top left corner i think its because i have multiple monitors though

Yeah, I am positive that's xwayland.
However, move cursor should take care of that as it opens the window at cursor pos.

@nnra6864
Copy link
Contributor Author

Another weird issue that's possibly related is the said window doesn't receive focus until I move my mouse at least a bit, even if the mouse is not over the window after the move.
It's very annoying and idk why this is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants