Regression: Armatures [in front] overlay doesn't update properly (toggling overlay ON and OFF) #102199

Open
opened 2022-11-01 09:40:02 +01:00 by Nahuel Belich · 14 comments

System Information
Operating system: Linux-5.15.0-52-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.103.01

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-30 04:56, hash: 9bd38750b3
Broken: 2.92.0
Worked: 2.91.2

Bisecting gives 0f95f51361 as the culprit commit

Short description of error
if the armature viewport mode is set to "in front" it doesn't properly update when the overlays are turned off and on
Peek 2022-11-01 05-35.mp4

Exact steps for others to reproduce the error
1-add an armature
2-set the "viewport display" to in front
3-turn off and on overlays
4-if you can confirm the bug the armature should appear after changing anything in the 3d view to update as in the video, move rotate or zoom

**System Information** Operating system: Linux-5.15.0-52-generic-x86_64-with-glibc2.31 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.103.01 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-30 04:56, hash: `9bd38750b3` Broken: 2.92.0 Worked: 2.91.2 Bisecting gives 0f95f51361 as the culprit commit **Short description of error** if the armature viewport mode is set to "in front" it doesn't properly update when the overlays are turned off and on [Peek 2022-11-01 05-35.mp4](https://archive.blender.org/developer/F13831426/Peek_2022-11-01_05-35.mp4) **Exact steps for others to reproduce the error** 1-add an armature 2-set the "viewport display" to in front 3-turn off and on overlays 4-if you can confirm the bug the armature should appear after changing anything in the 3d view to update as in the video, move rotate or zoom
Author

Added subscriber: @NahuelBelich

Added subscriber: @NahuelBelich
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Can confirm.
This was working at some point, will check

Can confirm. This was working at some point, will check
Philipp Oeser changed title from Armatures overlay doesn't update properly to Regression: Armatures overlay doesn't update properly 2022-11-01 13:17:32 +01:00
Member

Bisecting gives me 0f95f51361 as the culprit commit.

Havent checked any further, @esrgey: does this ring a bell?

Bisecting gives me 0f95f51361 as the culprit commit. Havent checked any further, @esrgey: does this ring a bell?
Member

Just noticed that 66da2f537a added rna_GPencil_update as the update callback for changes to V3D_HIDE_OVERLAYS, changing this to NULL does not fix the issue though.

Just noticed that 66da2f537a added `rna_GPencil_update` as the update callback for changes to `V3D_HIDE_OVERLAYS`, changing this to NULL does not fix the issue though.

Added subscriber: @Moppy

Added subscriber: @Moppy
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

@Sergey: does this ring a bell?

@Sergey: does this ring a bell?

No, does not ring anything. I can not see how that change could have affected on the behavior here. What's worse, doesn't even seem I can reproduce the issue here. What i do is:

  • Factory startup from the command line
  • Add Armature
  • Go to Object settings, enable In Front in Viewport Display
  • Toggle Show Overlays in the viewport header

Everything seems to work fine. Did i understand the steps wrong? Do you have a file where it is possible to just toggle Show Overlays to see the issue (and not do the setup)? Could it be platform specific issue (i'm on macOS)?

The fact that zoom in viewport "fixes" the issue means that it is not really dependency graph related: view navigation does not trigger evaluation of anything. So, missing notifier?

No, does not ring anything. I can not see how that change could have affected on the behavior here. What's worse, doesn't even seem I can reproduce the issue here. What i do is: - Factory startup from the command line - Add Armature - Go to Object settings, enable `In Front` in `Viewport Display` - Toggle `Show Overlays` in the viewport header Everything seems to work fine. Did i understand the steps wrong? Do you have a file where it is possible to just toggle `Show Overlays` to see the issue (and not do the setup)? Could it be platform specific issue (i'm on macOS)? The fact that zoom in viewport "fixes" the issue means that it is not really dependency graph related: view navigation does not trigger evaluation of anything. So, missing notifier?
Member

Here is my file:
#102199.blend

  • Toggle Show Overlays in the viewport header (works, overlays are hidden)
  • Toggle Show Overlays in the viewport header again (armature stays hidden)
Here is my file: [#102199.blend](https://archive.blender.org/developer/F13864301/T102199.blend) - Toggle `Show Overlays` in the viewport header (works, overlays are hidden) - Toggle `Show Overlays` in the viewport header **again** (armature stays hidden)

Indeed the issue does not happen on macOS, but does happen on Linux. So not sure how the DEG can be involved in it.

Indeed the issue does not happen on macOS, but does happen on Linux. So not sure how the DEG can be involved in it.
Member

Understood (still weird that this was exposed by said commit)

Understood (still weird that this was exposed by said commit)

Indeed. Keep in mind, it is still a possibility that the DEG does not deliver something expected by the viewport to work properly. Is just I do not know what that could be, so would be very helpful if the Viewport team helps nailing down what is it that's missing.

Indeed. Keep in mind, it is still a possibility that the DEG does not deliver something expected by the viewport to work properly. Is just I do not know what that could be, so would be very helpful if the Viewport team helps nailing down what is it that's missing.
Philipp Oeser changed title from Regression: Armatures overlay doesn't update properly to Regression: Armatures [in front] overlay doesn't update properly (toggling overlay ON and OFF) 2022-11-08 14:53:50 +01:00
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:12:10 +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
4 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#102199
No description provided.