Page MenuHome

Custom gizmo created with new_custom_shape are difficul to select.
Confirmed, LowPublicBUG

Description

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-24 11:47, hash: rB18343c230d2c
Worked: (optional)

Short description of error
It is very difficult to select a gizmo created with new_custom_shape

Exact steps for others to reproduce the error
Using default scene and the factory setting,
Change the power of the light to 0, to see the gizmo
open and execute the template gizmo_custom_geometry.py
Try to select the gizmo to change the power of the light. Sometimes, it is impossible to select.

Event Timeline

Campbell Barton (campbellbarton) lowered the priority of this task from 90 to Low.

While it's not difficult to select, there are times it flickers un-selected even though the cursor is still over it.

I don't know if it's only for me, but this how the gizmo looks like when I run the script and it's difficult for me to select :

@Cédric (Clarkx) - it's very different here, occasionally it flickers off, but it works most of the time.

Just for information, the selection is now working fine, thanks !, but the new_custom_shape function is not working for me with the 'TRIS' type option.
This is what the gizmo looks like using the gizmo_custom_geometry.py template and a point light :

Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.91

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-05 06:13, hash: rB66684bdff30f

Hi guys,

What is the status of this bug? I am trying to create an addon that requires new_custom_shape to work. I was looking at the source code but I can't figure out the problem. Could anyone point me in e right direction?
I don't understand how the gizmo is rendered properly yet our selection query did not identify it in the selection buffer. I tried to use renderdoc to extract the selection buffer but it is not shown in the render doc.

Thanks

Not changing status here, but script template doesn't seem to work and I have seen custom gizmos that work fine.

Hi @Richard Antalik (ISS)

I just tried on blender 2.82-18343c230d2c-windows64 and if the selection is still a problem, the shape of the gizmo is good and I was wrong.

Thanks a lot for your help.

@Cédric (Clarkx) I can not test that, because template script doesn't work.

Can you update report(description and title) to represent actual issue with file that works in 2.83?

Cédric (Clarkx) renamed this task from new_custom_shape not working to Custom gizmo created with new_custom_shape are difficul to select..Jan 24 2020, 2:11 PM
Cédric (Clarkx) updated the task description. (Show Details)
Richard Antalik (ISS) changed the task status from Confirmed to Needs Information from User.Jan 24 2020, 2:31 PM

Hmm I haven't any problem selecting it...

I changed UI scaling to see if it affects this, and "hot area" was quite off.
Do you have any scaling on display? did you try this on different PC? or if you create new user, to get fresh display settings?

Can't try on another PC, and it's the basic display settings.

I just download the daily build of the 2.83 version with factory settings, and I can reproduce the problem :
-Execute the template gizmo_custom_geometry.py
-In view3d, go in ortho view (numpad 5) and front view (numpad 1).
Now I can't select the the gizmo anymore.

There is no custom gizmo in T73033 (the script is using the GIZMO_GT_arrow_3d gizmo) and it's working perfectly, no problem there.

@Cédric (Clarkx) are your GPU drivers up to date?

@Philipp Oeser (lichtwerk) Can you triage this? May be GPU issue, I am out of ideas.

It would be likely known issue anyway, but at least we would know what to fix.

@Richard Antalik (ISS)
Yes, I've download the latest nvidia driver (441.87) and the problem is still here for me.

Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Developer to Reproduce.Jan 29 2020, 6:04 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Developer to Reproduce to Confirmed.Jan 29 2020, 7:03 PM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

Well, I can select it (occasionally), but it behaves rather strangely:

  • selecting / dragging always seems to work if highlight is actually on
  • getting the highlight to show is the part that is unreliable [it clearly doesnt always highlight when I am over the gizmo with the mouse]
  • gizmo changes screenspace size in perspective view when zooming far in

System Information
Operating system: Linux-5.3.12-200.fc30.x86_64-x86_64-with-fedora-30-Thirty 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.44
version: 2.83 (sub 1), branch: master (modified), commit date: 2020-01-29 11:49, hash: rB642e5ec78cd2