Sometime when using color picker, Cursor will snap to middle of the screen. #107756

Closed
opened 2023-05-08 20:57:44 +02:00 by magnative · 14 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: Radeon RX Vega 64 ATI Technologies Inc. 4.5.0 Core Profile Context 22.11.2.221130

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: 3.4.1 work normal

Short description of error
When click drag to select color on color picker sometime cursor snap into middle of the screen
It happened everywhere that you can use color picker

Occurred on 3.5 and 3.5.1

Exact steps for others to reproduce the error
Just click drag on color picker it randomly happened

Snap Demo - Factory Setting.mp4

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: Radeon RX Vega 64 ATI Technologies Inc. 4.5.0 Core Profile Context 22.11.2.221130 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: 3.4.1 work normal **Short description of error** When click drag to select color on color picker sometime cursor snap into middle of the screen It happened everywhere that you can use color picker Occurred on 3.5 and 3.5.1 **Exact steps for others to reproduce the error** Just click drag on color picker it randomly happened [Snap Demo - Factory Setting.mp4](/attachments/8dcd0e66-d94f-4db0-a4b3-a47809f61fd6)
magnative added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-08 20:57:44 +02:00

Hello, I can't reproduce this.
There are chances that your mouse may be malfunctioning and random key releases are occurring.
Can you test this, or maybe reproduce it on another mouse?

Hello, I can't reproduce this. There are chances that your mouse may be malfunctioning and random key releases are occurring. Can you test this, or maybe reproduce it on another mouse?
Author

Hello, I can't reproduce this.
There are chances that your mouse may be malfunctioning and random key releases are occurring.
Can you test this, or maybe reproduce it on another mouse?

Hi, there's no key press while using color picker
I try different mouse and it is still happened (Logitech G203 and Microsoft Wireless Mobile Mouse 1850)

> Hello, I can't reproduce this. > There are chances that your mouse may be malfunctioning and random key releases are occurring. > Can you test this, or maybe reproduce it on another mouse? Hi, there's no key press while using color picker I try different mouse and it is still happened (Logitech G203 and Microsoft Wireless Mobile Mouse 1850)
Iliya Katushenock added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-05-08 21:12:48 +02:00
Member

Hi, thanks for the report. Do you observe this issue when Continuous grab is disabled?
I suspect cursor moved to center when it hits the board of monitor/app window.
Also check whether issue is replicable with factory settings: File > Defaults > Load Factory Settings

Hi, thanks for the report. Do you observe this issue when `Continuous grab` is disabled? I suspect cursor moved to center when it hits the board of monitor/app window. Also check whether issue is replicable with factory settings: `File > Defaults > Load Factory Settings`
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-05-09 15:31:15 +02:00
Author

It did fixed when I disable Continuous Grab but is happened again after I re-enable even on factory setting.

I also try on Blender 3.4.1, Cursor will not jump to center of the screen regardless of Continuous grab enable or not.

I suspect cursor moved to center when it hits the board of monitor/app window.

I notice that cursor will jump even small click drag on color picker and only happened when you release the mouse not mid drag

It did fixed when I disable Continuous Grab but is happened again after I re-enable even on factory setting. I also try on Blender 3.4.1, Cursor will not jump to center of the screen regardless of Continuous grab enable or not. > I suspect cursor moved to center when it hits the board of monitor/app window. I notice that cursor will jump even small click drag on color picker and only happened when you release the mouse not mid drag
Member

Thanks for the update.
Maybe irrelevant: are you using blender from remote desktop?

Thanks for the update. Maybe irrelevant: are you using blender from remote desktop?
Author

No, I didn't use remote desktop.

However, Sometime I do use Synergy for share mouse and keyboard between Main PC and MacBook but for Blender I always use on PC (problem still exist even disable Synergy)

No, I didn't use remote desktop. However, Sometime I do use Synergy for share mouse and keyboard between Main PC and MacBook but for Blender I always use on PC (problem still exist even disable Synergy)
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-05-09 18:08:19 +02:00

I can reproduce some kind of freeze when I start Blender and immediately try to use color picker. After that it works OK, apart from that mouse movement is not limited to picker.

Looks like different issue though

I can reproduce some kind of freeze when I start Blender and immediately try to use color picker. After that it works OK, apart from that mouse movement is not limited to picker. Looks like different issue though
Member

Just to make sure: both 3.5 and 3.4 have been tested with factory settings, right?

Maybe @Harley has an idea?

Just to make sure: both 3.5 and 3.4 have been tested with factory settings, right? Maybe @Harley has an idea?
Author

Just to make sure: both 3.5 and 3.4 have been tested with factory settings, right?

Maybe @Harley has an idea?

Yes, I did test on 3.4.1 and 3.5.1 with Factory setting (plus reinstall windows recently)
Problem is only occur on Blender 3.5.1 with continuous grab option enable

> Just to make sure: both 3.5 and 3.4 have been tested with factory settings, right? > > Maybe @Harley has an idea? Yes, I did test on 3.4.1 and 3.5.1 with Factory setting (plus reinstall windows recently) Problem is only occur on Blender 3.5.1 with continuous grab option enable
Member

I can recreate this, but not sure what is causing it.

With Continuous Drag enabled. Open any color picker. Without leaving the color circle make a series of multiple short and fast drags.

If I do this slowly it works fine. But I do it quickly enough the picker will close and my mouse will be teleported to the left. It usually takes me quite a while for this to happen but will always happen eventually. I can make it happen faster if the drags are longer.

Nothing looking obvious in code. This is all to do with ui_do_but_HSVCIRCLE, ui_numedit_but_HSVCIRCLE. Not seeing any odd values ever in data->ungrab_mval. WM_cursor_grab_enable and WM_cursor_grab_disable called when expected.

I can recreate this, but not sure what is causing it. With Continuous Drag enabled. Open any color picker. Without leaving the color circle make a series of multiple short and fast drags. If I do this slowly it works fine. But I do it quickly enough the picker will close and my mouse will be teleported to the left. It usually takes me quite a while for this to happen but will always happen eventually. I can make it happen faster if the drags are longer. Nothing looking obvious in code. This is all to do with ui_do_but_HSVCIRCLE, ui_numedit_but_HSVCIRCLE. Not seeing any odd values ever in data->ungrab_mval. WM_cursor_grab_enable and WM_cursor_grab_disable called when expected.
Member

Confirming then.
BTW, do we need specific setup (display resolution, window scaling, multi-monitors, etc.) for replicating this bug?

Confirming then. BTW, do we need specific setup (display resolution, window scaling, multi-monitors, etc.) for replicating this bug?
Member

BTW, do we need specific setup (display resolution, window scaling, multi-monitors, etc.) for replicating this bug?

No. But it can take a large number of short drags in the circle before it happens. The only clue being the drags must be pretty quick.

It is possible that this could be specific to Windows. Not sure and doesn't seem likely.

Still not seeing anything that would explain this. press, move, and release all happening in expected order. Doesn't seem related to INBETWEEN_MOUSEMOVE events. Only frustrating so far.

> BTW, do we need specific setup (display resolution, window scaling, multi-monitors, etc.) for replicating this bug? No. But it can take a large number of short drags in the circle before it happens. The only clue being the drags must be pretty quick. It is _possible_ that this could be specific to Windows. Not sure and doesn't seem likely. Still not seeing anything that would explain this. press, move, and release all happening in expected order. Doesn't seem related to INBETWEEN_MOUSEMOVE events. Only frustrating so far.
Member

Hi @Magnative , I suspect this bug has been fixed already by: 1d141e721c
Could you verify again in recent 4.0.2 build: https://builder.blender.org/download/daily/

Hi @Magnative , I suspect this bug has been fixed already by: 1d141e721c62a0cccf7341238fd03da81343095b Could you verify again in recent 4.0.2 build: https://builder.blender.org/download/daily/
Author

Hi @PratikPB2123,
I just try it on 4.0.2 build and it no longer happened now.

I will close this issue now.
Thank you.

Hi @PratikPB2123, I just try it on 4.0.2 build and it no longer happened now. I will close this issue now. Thank you.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-11-25 09:13:47 +01:00
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
6 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#107756
No description provided.