Objects with "In Front" don't appear when overlays are reenabled until viewport update #89629

Open
opened 2021-07-03 12:28:09 +02:00 by Henrik D. · 19 comments
Member

System Information
Operating system: Linux-5.10.0-6-amd64-x86_64-with-glibc2.31 64 Bits (Debian testing)
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.73.01

But works on:
Operating system: Linux-5.10.0-6-amd64-x86_64-with-glibc2.31 64 Bits (Debian testing)
Graphics card: Mesa Intel(R) UHD Graphics 620 (WHL GT2) Intel 4.6 (Core Profile) Mesa 20.3.4

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-02 04:03, hash: 9f5c0ffb5e
Worked: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: 5be9ef4177

Might be the same as #102199 (Regression: Armatures [in front] overlay doesn't update properly (toggling overlay ON and OFF)) (which was bisected down to 0f95f51361)

Short description of error
When an object (specific ones) is set to be displayed in front of everything else, it will not come back immediately when reenabling the overlays. This happens only in solid shading mode as far as I can tell.

The objects affected by this are first off all objects which have some kind of lines, so camera, lights, the wireframes of meshes, outlines of reference images, empties, ...
Then there is also the armature which is special in the way that it is rendered solid, but it also vanishes just like the lines.

Exact steps for others to reproduce the error

  1. Add an armature
  2. set it to In Front in Armature > Viewport Display
  3. toggle the viewport overlays on and off (that button next to x-ray)
  4. if your rendering was set to solid shading, the armature should be gone now
  5. rotate the view, the armature will reappear
  6. you can do the same with the default camera and light and on the cube if wireframes are enabled (globally or locally on the cube)
**System Information** Operating system: Linux-5.10.0-6-amd64-x86_64-with-glibc2.31 64 Bits (Debian testing) Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.73.01 But works on: Operating system: Linux-5.10.0-6-amd64-x86_64-with-glibc2.31 64 Bits (Debian testing) Graphics card: Mesa Intel(R) UHD Graphics 620 (WHL GT2) Intel 4.6 (Core Profile) Mesa 20.3.4 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-02 04:03, hash: `9f5c0ffb5e` Worked: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: `5be9ef4177` Might be the same as #102199 (Regression: Armatures [in front] overlay doesn't update properly (toggling overlay ON and OFF)) (which was bisected down to 0f95f51361) **Short description of error** When an object (specific ones) is set to be displayed in front of everything else, it will not come back immediately when reenabling the overlays. This happens only in solid shading mode as far as I can tell. The objects affected by this are first off all objects which have some kind of lines, so camera, lights, the wireframes of meshes, outlines of reference images, empties, ... Then there is also the armature which is special in the way that it is rendered solid, but it also vanishes just like the lines. **Exact steps for others to reproduce the error** 1. Add an armature 2. set it to In Front in Armature > Viewport Display 3. toggle the viewport overlays on and off (that button next to x-ray) 4. if your rendering was set to solid shading, the armature should be gone now 5. rotate the view, the armature will reappear 6. you can do the same with the default camera and light and on the cube if wireframes are enabled (globally or locally on the cube)
Author
Member

Added subscriber: @HDMaster84

Added subscriber: @HDMaster84

#94047 was marked as duplicate of this issue

#94047 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Can not reproduce with 3.0.0 (2d146b61d8) May be I am missing a step.

Blender 2021-07-05 10-14-39.mp4

Can not reproduce with 3.0.0 (`2d146b61d8`) May be I am missing a step. [Blender 2021-07-05 10-14-39.mp4](https://archive.blender.org/developer/F10211599/Blender_2021-07-05_10-14-39.mp4)
Author
Member

It seems to be very platform specific.
@PratikPB2123 What graphics card/OS are you using?

It seems to be very platform specific. @PratikPB2123 What graphics card/OS are you using?
Member

What graphics card/OS are you using?

System Information

Graphics card: AMD Radeon(TM) 535 ATI Technologies Inc. 4.5.14831 Core Profile Context 21.5.2 27.20.21003.8013```
> What graphics card/OS are you using? **System Information** ```Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon(TM) 535 ATI Technologies Inc. 4.5.14831 Core Profile Context 21.5.2 27.20.21003.8013```
Author
Member

So someone with an nvidia card would be welcome to try and reproduce next.

So someone with an nvidia card would be welcome to try and reproduce next.

Added subscriber: @erik85

Added subscriber: @erik85

I can't reproduce either.

Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 462.59

I can't reproduce either. Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 462.59

Added subscriber: @dfelinto

Added subscriber: @dfelinto

I can reproduce on 2.92, 2.93 and master (3.0). in 2.91 it works well:

Operating system: Linux-5.8.0-59-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.80

I can reproduce on 2.92, 2.93 and master (3.0). in 2.91 it works well: Operating system: Linux-5.8.0-59-generic-x86_64-with-glibc2.31 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.80
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

I think I've seen this once on my system as well, but cannot repro now from provided steps.

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.33.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31
version: 3.0.0 Alpha, branch: master, commit date: 2021-07-28 03:38, hash: `rBce68888d1bfe` also tested 2.93

But since we have reproduced at least once, will set to confirmed.

In #89629#1188184, @dfelinto wrote:
I can reproduce on 2.92, 2.93 and master (3.0). in 2.91 it works well:

I think I've seen this once on my system as well, but cannot repro now from provided steps. ``` **System Information** Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.33.9000 64 Bits Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31 version: 3.0.0 Alpha, branch: master, commit date: 2021-07-28 03:38, hash: `rBce68888d1bfe` also tested 2.93 ``` But since we have reproduced at least once, will set to confirmed. > In #89629#1188184, @dfelinto wrote: > I can reproduce on 2.92, 2.93 and master (3.0). in 2.91 it works well:

Added subscriber: @tomjk

Added subscriber: @tomjk

I have what I think is the same bug here, though come by slightly differently.

**System Information**
Operating system: Linux-5.8.0-59-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.63.01
version: 3.0.0 Beta, branch: master, commit date: 2021-10-27 22:07, hash: `rBb838eaf2b960`

Steps from startup:

  1. select default cube, set to in front
  2. enter edit mode
  3. turn off overlays
  4. move camera/mesh
  5. turn on overlays - edit mesh overlay is missing or clipping
  6. move camera/mesh - overlay comes back immediately

Results of different camera movements in step 4:
none: no effect
small rotation: overlay is clipping through object
large rotation: overlay disappears
zoom in: no effect
zoom out: overlay disappears
very slight zoom out: overlay disappears, might just see the vertices peeking out

Video showing bug:
0:00 - in front off, normal behaviour
0:20 - in front turned on
0:28 - first appearance of bug, overlay disappeared after zoom out
0:47 - overlay clipping after small camera rotation

infrontoverlaybug3.mp4

I have what I think is the same bug here, though come by slightly differently. ``` **System Information** Operating system: Linux-5.8.0-59-generic-x86_64-with-glibc2.31 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.63.01 version: 3.0.0 Beta, branch: master, commit date: 2021-10-27 22:07, hash: `rBb838eaf2b960` ``` **Steps from startup:** 1. select default cube, set to in front 2. enter edit mode 3. turn off overlays 4. move camera/mesh 5. turn on overlays - edit mesh overlay is missing or clipping 6. move camera/mesh - overlay comes back immediately **Results of different camera movements in step 4:** none: no effect small rotation: overlay is clipping through object large rotation: overlay disappears zoom in: no effect zoom out: overlay disappears very slight zoom out: overlay disappears, might just see the vertices peeking out **Video showing bug:** 0:00 - in front off, normal behaviour 0:20 - in front turned on 0:28 - first appearance of bug, overlay disappeared after zoom out 0:47 - overlay clipping after small camera rotation [infrontoverlaybug3.mp4](https://archive.blender.org/developer/F11594741/infrontoverlaybug3.mp4)
Member

Added subscriber: @SachaGoedegebure

Added subscriber: @SachaGoedegebure
Member

edit mesh overlay is missing or clipping

Hi @tomjk, thanks for investigating. I can reproduce with your provided steps. But probably a different bug than actual report.

> edit mesh overlay is missing or clipping Hi @tomjk, thanks for investigating. I can reproduce with your provided steps. But probably a different bug than actual report.
Member

Probably the same as {#102199}?
(#102199 was bisected down to 0f95f51361)

Probably the same as {#102199}? (#102199 was bisected down to 0f95f51361)
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:13:25 +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
7 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#89629
No description provided.