Blender 3.5: Cursor warping usable on windows remote desktop (RDP) #103596

Open
opened 2023-01-02 13:13:45 +01:00 by Christian Holl · 10 comments

System Information
Operating system: Windows 10 21H1 19043.2130
Graphics card: GTX1650 4GB

Blender Version
Broken: 3.5.0 Alpha, hash: 508fd044b4
Worked: 3.4.1, hash: ef9ca44dee

Short description of error
I'm using Blender through Windows Remote Desktop (RDP) for quite a long time.
Now in the new alpha 3.5 the Blender UI acts weird and non controllable anymore when using mouse middle click to pan viewport or left clicking into number fields to drag values up or down.

At this point for me Version 3.5 alpha is not usable anymore through an RDP connection - which is quite important for me! - while at least in Blender Version 3.4.1 everything worked fine!

Exact steps for others to reproduce the error

  • Open blender from a Windows computer on another Windows computer via remote session
  • use {key MMB} to pan viewport or {key LMB} into number fields to drag values up or down.
**System Information** Operating system: Windows 10 21H1 19043.2130 Graphics card: GTX1650 4GB **Blender Version** Broken: 3.5.0 Alpha, hash: 508fd044b44a Worked: 3.4.1, hash: ef9ca44dee7f **Short description of error** I'm using Blender through Windows Remote Desktop (RDP) for quite a long time. Now in the new alpha 3.5 the Blender UI acts weird and non controllable anymore when using mouse middle click to pan viewport or left clicking into number fields to drag values up or down. At this point for me Version 3.5 alpha is not usable anymore through an RDP connection - which is quite important for me! - while at least in Blender Version 3.4.1 everything worked fine! **Exact steps for others to reproduce the error** - Open blender from a Windows computer on another Windows computer via remote session - use {key MMB} to pan viewport or {key LMB} into number fields to drag values up or down.
Author

Added subscriber: @MoonMoon

Added subscriber: @MoonMoon

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Are you using remote session between different OS (on .Mac and Windows)?
There are a couple related reports:
#102367 (Continuous Grab unexpected behavior when using remote connection)
#100438 (Cursor warping not supported on Remote Session)

Are you using remote session between different OS (on .Mac and Windows)? There are a couple related reports: #102367 (Continuous Grab unexpected behavior when using remote connection) #100438 (Cursor warping not supported on Remote Session)
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

I can reproduce in various severities on windows even as far back as 3.3 (likely earlier than that, but 3.3 is where i stopped testing) when you left click into number fields to drag values up or down which works ok, until you hit the right edge of the screen and the number jumps by thousands

however master starts jumping thousands right out of the gate even before hitting the screen edge, bisected to a somewhat messy history

the original commit that breaks this is 9fd6dae793
which gets reverted in 230744d6fd re-landed in f2945f3895 which then somehow breaks using the mouse to drag values up/down completely until 1a986f7eba reverts some other fix.... and it's back to the same behavior 9fd6dae793 introduced

I can reproduce in various severities on windows even as far back as 3.3 (likely earlier than that, but 3.3 is where i stopped testing) when you left click into number fields to drag values up or down which works ok, until you hit the right edge of the screen and the number jumps by thousands however master starts jumping thousands right out of the gate even before hitting the screen edge, bisected to a somewhat messy history the original commit that breaks this is 9fd6dae793 which gets reverted in 230744d6fd re-landed in f2945f3895 which then somehow breaks using the mouse to drag values up/down completely until 1a986f7eba reverts some other fix.... and it's back to the same behavior 9fd6dae793 introduced
Member

Added subscriber: @PrototypeNM1

Added subscriber: @PrototypeNM1
Member

This post on stack exchange seems to have a fun bit of information, that i can't seem to find any reference for on MSDN, but some preliminary testing does seem to imply it is true

If the mouse is hidden, the SetCursorPos interface will become invalid.

commenting out ::ShowCursor(FALSE) in GHOST_WindowWin32::loadCursor definitely improves the behavior (but it still acts wonky once the cursor wraps) so there's likely something to it..

@PrototypeNM1 any of this rings a bell for you?

[This post](https://stackoverflow.com/a/74926945) on stack exchange seems to have a fun bit of information, that i can't seem to find any reference for on MSDN, but some preliminary testing does seem to imply it is true >If the mouse is hidden, the SetCursorPos interface will become invalid. commenting out `::ShowCursor(FALSE)` in `GHOST_WindowWin32::loadCursor` definitely improves the behavior (but it still acts wonky once the cursor wraps) so there's likely something to it.. @PrototypeNM1 any of this rings a bell for you?
Germano Cavalcante changed title from Blender 3.5alpha UI not usable on windows remote desktop (RDP) to Blender 3.5: Cursor warping usable on windows remote desktop (RDP) 2023-01-03 19:04:24 +01:00

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

@LazyDodo I don't recall anything particular re:ShowCursor, but this kind of jank doesn't particularly surprise me.

@LazyDodo I don't recall anything particular re:`ShowCursor`, but this kind of jank doesn't particularly surprise me.
Philipp Oeser removed the
Interest
Platforms, Builds & Tests
label 2023-02-10 08:58:21 +01:00

Hello, I had my report referenced into this one.

I found a workaround in Google Chrome Remote.
I enabled "Relative mouse mode".
When I do it works fine. But when I click in certain boxes I can see a ghostly mouse cursor offset way off the location where I clicked.
I recorded a short video of it incase it help you.

Hello, I had my report referenced into this one. I found a workaround in Google Chrome Remote. I enabled "Relative mouse mode". When I do it works fine. But when I click in certain boxes I can see a ghostly mouse cursor offset way off the location where I clicked. I recorded a short video of it incase it help you.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#103596
No description provided.