Page MenuHome

Outliner visibility icons drag behaviour broken
Closed, ResolvedPublic

Description

System Information
Operating system: Xubuntu 18.04
Graphics card: Nvidia Titan X (Pascal)

Blender Version
Broken: 918941483f7e, 2019-02-27
Worked: about 2-3 weeks prior

Short description of error
Dragging horizontally over multiple outliner visibility icons causes them to glitch out.

Exact steps for others to reproduce the error

  • Go to Outliner
  • Click & drag mouse horizontally over visibility icons of any type

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

@Brecht Van Lommel (brecht), another one introduced on rB2778ecb58cd23.

I looked at this, and I think the only way to handle this is to add a callback to the button that returns the button pushed state, to be called from ui_drag_toggle_but_pushed_state().
Because we are mixing bool buttons and callback buttons in the outliner, and there is no way they will return the same pushed state.

That said I wonder if it is worthy pursuing this if we are to get rid of the fancy 3-in-1 visibility buttons in the outliner.