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

Cursor teleporting in blender #5881

Closed
calebaden opened this issue May 5, 2024 · 5 comments · Fixed by #5895
Closed

Cursor teleporting in blender #5881

calebaden opened this issue May 5, 2024 · 5 comments · Fixed by #5895
Labels
bug Something isn't working

Comments

@calebaden
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 09ed6910552c7e898d629191e63c8997443eb202  (kde-server-decoration: move to new impl).
Date: Sun May 5 10:07:46 2024
Tag: v0.40.0-3-g09ed6910, commits: 4609

flags: (if any)


System Information:
System name: Linux
Node name: arch
Release: 6.8.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:49:46 +0000


GPU information: 
2d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c1) (prog-if 00 [VGA controller])


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:

Bug or Regression?

Bug

Description

When trying to rotate camera view in Blender, the cursor will teleport to the middle of the screen which will also rotate the view by however far the cursor teleported. This makes Blender unusable in Hyprland for me.

I believe this issue is also present in some games such as StarCitizen which sometimes requires the use of a cursor to interact and will also snap the camera view anytime you try to use the free cursor.

I'm using Blender 4.1.1-4 from the arch repos.

How to reproduce

  1. Open any scene in Blender
  2. Use middle mouse button to rotate the camera view

Crash reports, logs, images, videos

blender-cursor.mp4
@calebaden calebaden added the bug Something isn't working label May 5, 2024
@vaxerski
Copy link
Member

vaxerski commented May 5, 2024

is this a regression?

@Agent00Ming
Copy link
Contributor

Agent00Ming commented May 5, 2024

can confirm, regression in 25aec3a

Bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [aaf35b9f1f0ce49080f2a0b1e7943336b1ba6057] protocols: add hyprland_focus_grab_v1 implementation (#5850)
git bisect bad aaf35b9f1f0ce49080f2a0b1e7943336b1ba6057
# status: waiting for good commit(s), bad commit known
# good: [fe7b748eb668136dd0558b7c8279bfcd7ab4d759] props: bump version to 0.39.1
git bisect good fe7b748eb668136dd0558b7c8279bfcd7ab4d759
# good: [3878f806ff771651829977a01b84313c34997285] pointer-gestures: move to new impl
git bisect good 3878f806ff771651829977a01b84313c34997285
# bad: [1f6657f037c27b3514d928aa60c3b8c5c05ab8d9] keybinds: check for special workspace equality before switching
git bisect bad 1f6657f037c27b3514d928aa60c3b8c5c05ab8d9
# bad: [28c85619243e6320e75d7abcfe8244fa99d054dd] hooksystem: use a random 700 directory for assembler
git bisect bad 28c85619243e6320e75d7abcfe8244fa99d054dd
# good: [d9ec2785cb7f6493576232057752688e57925655] wlr-foreign-toplevel: send done after property changes
git bisect good d9ec2785cb7f6493576232057752688e57925655
# bad: [e400a288d0f8ef75672cb201203b857b65b782bb] pointer-constraints: remove emoji to fix clang
git bisect bad e400a288d0f8ef75672cb201203b857b65b782bb
# bad: [25aec3ac8ce65ed224f025f8f6dfef73780577a4] pointer-constraints: move to new impl
git bisect bad 25aec3ac8ce65ed224f025f8f6dfef73780577a4
# good: [f94264928a8ab4da8759d4ded25a46af44451d38] swipe: fix crashes with invalid distance
git bisect good f94264928a8ab4da8759d4ded25a46af44451d38
# first bad commit: [25aec3ac8ce65ed224f025f8f6dfef73780577a4] pointer-constraints: move to new impl

@bubba-champion
Copy link

It looks like the situation described in this issue or something similar. Is Blender running natively in Wayland or via Xwayland?

@Agent00Ming
Copy link
Contributor

Blender runs native Wayland by default since version 3.4

@calebaden
Copy link
Author

Sorry, this should be labeled regression as it wasn't an issue a couple of weeks ago. Blender is running natively on wayland for me.

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

Successfully merging a pull request may close this issue.

4 participants