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

hyprgrass-bindm does not work when cursor:no_warps = 1 #146

Open
anlumo opened this issue Aug 7, 2024 · 14 comments
Open

hyprgrass-bindm does not work when cursor:no_warps = 1 #146

anlumo opened this issue Aug 7, 2024 · 14 comments

Comments

@anlumo
Copy link

anlumo commented Aug 7, 2024

According to #70, the following configuration should allow window dragging:

bindm = ,longpress:3, movewindow

When I add this, the longpress causes the window to float temporarily, but I can't move it by moving my fingers. Moving using a mouse works, but that kinda defeats the point. Once I remove the fingers, the window moves back to where it was in the layout (since it was dropped at the initial location).

Maybe something in hyprland changed and broke it since that PR?

@horriblename
Copy link
Owner

does this work?

hyprgrass-bindm =, longpress:3, movewindow

use of normal bindm is deprecated and unsupported

@anlumo
Copy link
Author

anlumo commented Aug 8, 2024

Thank you for the response. Unfortunately, this shows the same behavior.

I'm on the hyprland-git AUR, btw., because the regular package doesn't allow installing plugins at the moment.

@anlumo
Copy link
Author

anlumo commented Aug 8, 2024

In my attempts to set up my tablet, I also noticed that the hyprland option resize_on_border only allows resizing with a mouse/trackpad, not touch or pen. It looks like there could be an event filter on the hyprland side that ignores these kinds of input devices for window manipulation.

When initiating a window move operation using a mouse, the touchscreen behaves weirdly. When I tap somewhere the window is centered on that location, but I can't drag it using the touchscreen (the window just doesn't move).

@horriblename
Copy link
Owner

resize_on_border has never worked on touch.

plugins seem to be broken at the moment but could you tell me what commit of hyprland you're on?

@anlumo
Copy link
Author

anlumo commented Aug 8, 2024

I just update to the version 0.42.0.r1.83a334f9-1, but now the plugin doesn't do anything at all any more. hyprpm update does say that it's up to date and enabled.

@anlumo
Copy link
Author

anlumo commented Aug 20, 2024

Ok, that version of hyprland was competely broken, it didn't even compile one of its files needed for plugins properly (the joy of having to use a -git package). 0.42.0.r46.c86db7bb-1 can load hyprgrass again, but the window drag issue is unchanged from my initial description.

@horriblename
Copy link
Owner

just as a sanity check, you're on a touch screen right? hyprgrass doesn't work on touchpads (I have been getting this a lot)

@anlumo
Copy link
Author

anlumo commented Aug 21, 2024

Yes, I'm running it on a Minisforum V3, which has both a touchscreen and a touchpad. My tests were only on the touchscreen.

@horriblename
Copy link
Owner

still can't reproduce on hyprland latest : (

can you try disabling cursor:hide_on_touch and send me a recording?

plus your hyprland config

@anlumo
Copy link
Author

anlumo commented Aug 24, 2024

Config file

Video:

2024-08-24_21-15-45.mp4

Not visible in the video, but I did move my fingers around while the window was hovering.

@horriblename
Copy link
Owner

so cursor:no_warps breaks movewindow for some ungodly reason,

still not sure why, but I'll keep digging

P.S. experimental:send_cancel has been broken for a while and you should disable it

@horriblename
Copy link
Owner

after reading the wiki on no_warps I have no clue what it does. Can you tell me what it's supposed to do?

@anlumo
Copy link
Author

anlumo commented Aug 24, 2024

Yes that fixed it, thank you!

Should I keep the ticket open to track the no_warps incompatibility?

after reading the wiki on no_warps I have no clue what it does. Can you tell me what it's supposed to do?

When I press Meta+Arrow (with my config), the focus jumps to a different window. With no_warps=false, the mouse cursor stays where it was. With no_warps=true, the mouse cursor jumps to the center of the newly focused window.

@horriblename
Copy link
Owner

Should I keep the ticket open to track the no_warps incompatibility?

yes keep it open please

@horriblename horriblename changed the title Moving Window doesn't Work hyprgrass-bindm does not work when cursor:no_warps = 1 Aug 25, 2024
@horriblename horriblename changed the title hyprgrass-bindm does not work when cursor:no_warps = 1 hyprgrass-bindm does not work when cursor:no_warps = 1 Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants