Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

(blender) cursor warping when interacting with numeric inputs

Open enderprism opened this issue 1 year ago • 9 comments

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf  (core: fix on-empty workspace being called too often (6026)).
Date: Sun May 12 01:03:32 2024
Tag: v0.40.0-65-g33a7b7bb, commits: 4671

flags: (if any)


System Information:
System name: Linux
Node name: enderprism-laptop
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT1 [UHD Graphics] [8086:46a3] (rev 0c) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4050 Max-Q / Mobile] [10de:28a1] (rev a1) (prog-if 00 [VGA controller])


os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2023.11.17"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"


plugins:
  split-monitor-workspaces by Duckonaut ver 1.1.0

Bug or Regression?

Bug

Description

Clicking on a numeric input in Blender warps the cursor to the center of the current monitor. The cursor seems to still focus the area it was in before warping for the next click, if it isn't manually moved again.

Screencast of the bug:

https://github.com/hyprwm/Hyprland/assets/76617157/062f8fc1-a844-425d-800a-aa2c2735efec

How to reproduce

  • Open Blender
  • Click on any numeric input ("current frame" for example)

Crash reports, logs, images, videos

hyprland.log

enderprism avatar May 12 '24 12:05 enderprism

Hello! This happens to me as well.

Same thing happens when I try to rotate the model as well. Like if you click somewhere in the viewport with the middle mouse, the cursor jumps to the middle of the screen and the rotation jumps as well.

astonish-g avatar May 13 '24 12:05 astonish-g

Same thing happens when I try to rotate the model as well. Like if you click somewhere in the viewport with the middle mouse, the cursor jumps to the middle of the screen and the rotation jumps as well.

That's been fixed on git

Agent00Ming avatar May 13 '24 12:05 Agent00Ming

Thank you for the heads up! I am using the normal version (not the git version), So I thought that this could be related.

astonish-g avatar May 14 '24 11:05 astonish-g

Sounds like it's fixed, but I'm experiencing the same thing as well. Cursor jumps to the center of the screen whenever it should lock.

I also have the Screencast Keys addon enabled so inputs can be seen.

https://github.com/hyprwm/Hyprland/assets/155923042/7a1dc9fc-997e-4c9f-8ab2-7d924421beb9

timberlinefpv avatar May 18 '24 17:05 timberlinefpv

Sounds like it's fixed, but I'm experiencing the same thing as well. Cursor jumps to the center of the screen whenever it should lock.

Hyprland version? Viewport warping is fixed in git.

Agent00Ming avatar May 18 '24 17:05 Agent00Ming

Hyprland version? Viewport warping is fixed in git.

I'm on the AUR's hyprland package. version is 0.40.0-1. I'll probably just wait for it to get updated.

I was mainly just looking to document that this issue works the same way on several installs.

timberlinefpv avatar May 18 '24 18:05 timberlinefpv

Had the same issue. Switched to GIT version and it works fine, but it's unstable when using certain applications (it keeps logging me out).

AlienTux avatar May 19 '24 21:05 AlienTux

we know, it's being worked on

vaxerski avatar May 20 '24 10:05 vaxerski

well the cursor only warps if you actually drag the values instead of clicking it... the change that modified this behaviour is f8857e6072bd85b95393499688872aaf7f088b5b. Maybe use this as a workaround for the time being?

Agent00Ming avatar May 23 '24 22:05 Agent00Ming

Seems to be fixed on nixos at the moment.

max-ishere avatar Jul 02 '24 14:07 max-ishere

@enderprism ?

vaxerski avatar Jul 02 '24 16:07 vaxerski

the issue seems to be fixed on arch too

enderprism avatar Jul 02 '24 21:07 enderprism

I would like to request this to be reopened as the issue as never been completely fixed: changing values by dragging them still warps the cursor at the center of the window.

The workaround proposed here is not an actual solution, as it disables a quite useful functionality.

I'm on v0.44.1. (aquamarine v0.4.2)

FoxLeader avatar Oct 10 '24 07:10 FoxLeader

I haven't been bothered enough by it to come back and say something, but I am having the same issue as @FoxLeader. Dragging on numerical values teleports the cursor to the window center.

timberlinefpv avatar Oct 11 '24 19:10 timberlinefpv

I haven't been bothered enough by it to come back and say something, but I am having the same issue as @FoxLeader. Dragging on numerical values teleports the cursor to the window center.

Yep, nixos-unstable same thing

max-ishere avatar Oct 29 '24 19:10 max-ishere

@FoxLeader @timberlinefpv @max-ishere Still there?

Honkazel avatar Nov 09 '24 10:11 Honkazel

It is for me.

timberlinefpv avatar Nov 10 '24 02:11 timberlinefpv

Hello I have the same issue too. I haven't commented as it was commented as fixed so I thought that it was a problem on my end. I am on Fedora 40, Hyprland version 0.45. Clicking on values works but dragging them keeps mouse warping.

I confirm that it works with the workaround suggested above, but also as it was stated above, the workaround proposed is disabling a very useful feature.

I hope it gets fixed some way as I love using Hyprland!

astonish-g avatar Nov 13 '24 20:11 astonish-g

it still happens when changing fields by clicking and dragging in the "Adjust last operation" window

enderprism avatar Nov 13 '24 21:11 enderprism

~~After updating to git yesterday (from cca227a) I've noticed this happening with quite a few xwayland apps when focus changes. E.g. when the hover popup in Rider (or other IDEs) closes, it jumps to the center of the main window, as that now regains focus. Same with steam, when the menu items (e.g. from hovering 'Library') close~~ Configuration issue involving hyprscroller

cpiber avatar Nov 14 '24 17:11 cpiber

Hello there!

This issue has been closed, as we are moving from issues to discussions. More about this can be found here and in #9854.

Firstly, please make sure this issue is still relevant in latest Hyprland. If so, we ask you to open a discussion (please read the discussion guidelines first, in the pinned post)

Thank you for your understanding!

vaxerski avatar Apr 05 '25 18:04 vaxerski