Regression: Can`t select ruler or click it to make andgular ruler. #107570
Labels
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#107570
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.95
Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-01 20:15, hash:
0652945dbda7
Broken: 3.6.0 Alpha,
993d24c1749c
, 2023-04-23 19:27Worked: 3.6.0 Alpha,
e078419c9c12
, 2023-04-14 22:58probably caused by
f87e474af0
Exact steps for others to reproduce the error
Select measurement tool, drag a line/ruler, drag another one, try to click the first one to select.
2023-05-03_03-14-53.mp4
Thanks for the report. Can confirm. Bisecting...
Hello @Vyach , looks like the ruler has already been working normally here on today's build. You could try a latest build and see if it works. I guess it was probably some other viewport draw/selection changes that temporarily broke the thing.
Can confirm in 3.6-d5fc1b9ba4b8 buildbot build :/
I don't see any commits after
d5fc1b9ba4
which would fix the issue.Interesting... Let me test if there's any specific input key setup that might interfere with this
Sorry, that previous comment was ... misunderstanding the tool.
So, I cant really repro this either
@Harley : since this seems to be a recent regression, can you repro after
b367a2b5f9
?AFAICS this problem introduced between
bd86e719ab
-993d24c174
(but can not trigger this on lite build)Either an OpenGL issue or introduced by C -> Cpp porting:
f87e474af0
issue still here in the fresh build
3.6.0 Alpha,
d5fc1b9ba4b8
, 2023-05-02 21:24I can confirm the reported behavior in the last buildbot nightly build - blender-3.6.0-alpha+main.d5fc1b9ba4b8-windows.amd64-release.zip. The quickest indication of the problem is that the mouse cursor does not change to a "four-pointed arrow" cursor on the endpoints or to a "plus" cursor at an angle point.
But (so far) not able to recreate while compiling main. Not seeing any commits between 2023-04-14 and 2023-04-23 that would explain it.
This features works as expected when I compile (lite or Full) myself. But the same code on the buildbot breaks.
For the nightlies this worked on April 19th (
45c0762f1b
) but was broken on April 20th (f87e474af0
)view3d_gizmo_ruler.cc
changed from C to C++ on April 19th, the last day it worked. So this is looking like a compiler issue. It is working correctly when compiled on VS 2022 but not working correctly if compiled on the version of VS 2019 that is on the buildbots?So Harley and me both observing this issue in buildbot build but not in a build from source.
Confirming again.
Can`t select ruler or click it to make andgular ruler.to Regression: Can`t select ruler or click it to make andgular ruler.Just noting that daily buildbot builds on linux are fine.
I'm not observing this issue with the project built for, and loaded into VS 2019 .29.30133. The buildbots are on .29.30139.0. So this might not be a strictly compiler version issue. Possibly a configuration difference on the bot?
@LazyDodo has asked for details from the bot including a copy of the CMakeCache.txt so we can see that actual versions, build flags, etc. And also about the behavior of building with the "clean" flag, ie "does it wipe the whole build dir or just runs an extra ninja -t clean / make clean?"
This reproduces on VS 16.11.9 ONLY older is fine, newer is fine as well , it's easy to sidestep with something like this (but that does add a warn for ninja about /Ob2 and /Ob0 being supplied, i can't seem to disable, nor is there an easy way to remove something from the CXX flags for a single compile unit)
I can't narrow it down any further, there is no amount of turning the optimizer on/off on a per function basis that seems to make this problem go away.
Given I don't know where else this codegen bug is going to popup and the rate things are being converted to C++ the fix i'd like to see is to bump the CI env to a newer MSVC version however this will have some implications for the LTS releases that should probably be discussed outside of this ticket.
cc: @Arnd , @brecht
I've installed VS 16.11.26.0 on the uatest buildbot, it's building now.
https://builder-uatest.blender.org/admin/#/builders/18/builds/920
https://builder-uatest.blender.org/admin/#/builders/164/builds/12
https://builder-uatest.blender.org/download/daily/
If these builds work we can roll out the same thing to the production buildbot.
For my own reference, the commands to upgrade:
Can someone confirm if the issue is solved in the 3.6 build here?
https://builder-uatest.blender.org/download/daily/
checking
It works!!!!
Thanks for confirming, the production buildbot has been updated as well now. So this should be fixed in the next daily build.