Page MenuHome

Preferences Editor: Some scrollbar artifacting on certain check boxes
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1660/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.78

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4
Broken: problem exists in lastest 2.90

Short description of error
Within the Preferences Editor, if you click or click+hold on certain check boxes (nr the ride side of the interface), you get the scrollbar making an appearance.

Exact steps for others to reproduce the error
I have included some of the tab in the Preferences Editor, where this behaviour can be seen.

  1. Interface

1.1 Display - Developer Extras & Large Cursor checkboxes
1.2 Editors - Region Overlap, Corner Splitting & Navigation Controls checkboxes
1.3 Trnslation - New Data checkbox

  1. Viewport

2.1 Display - Playback FPS checkbox
2.2 Quality - Overlay Smooth Wires & Edit-Mode Smooth Wires checkboxes.

  1. Input

3.1 Mouse - Emulate 3 Button Mouse checkbox

  1. Save & Load

4.1 Auto Save - Auto Save Temporary Files checkbox

Event Timeline

Ankit Meel (ankitm) changed the task status from Needs Triage to Confirmed.Apr 16 2020, 2:19 PM

This will be fixed by the soon to be added checkbox alignment change.

This basically happened because the scrollbar hidden state was not updated correctly when preference change caused a refresh of all visible screens. With the current checkbox position, the cursor happened to be close enough to the scrollbars to cause an update to the opacity, which together with the wrong hidden state made it appear for a moment.

This is just a small visual glitch and it would indeed be avoided (but not solved on a technical level) with the new checkbox layout. However while checking the code I noticed that we can remove some old hacks, which would also solve this issue.