Page MenuHome

MacOS lines that should be thick are green instead
Closed, ResolvedPublicBUG

Description

System Information
Operating system: macOS 10.15.7
Graphics card: Radeon Pro Vega 20 4 GB & Intel UHD Graphics 630 1536 MB

Blender Version
Broken:
2.91.0 Alpha, 48c48a22e04 downloaded from Blender.org
2.91.0 Alpha, master, built from source (clean build), b2e067d98ccf

Worked: 2.90.1, 3e85bb34d0d7 downloaded from Blender.org

Short description of error

Exact steps for others to reproduce the error
In user preferences choose thick lines.

Event Timeline

I can't repro.


Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile/Debug Context 20.10 27.20.1034.6

Haven't checked but...

Many Macs are not able to draw a regular gl line with a width greater than 1. And I think some of those lines are a mixture of single and double-width. Fairly recently Clement added support for a line shader that does AA and supports any width line, including on Mac. I think I remember a commit where those lines changed to the new method.

So it could very well be that the complainant is seeing a difference between an old and new version that is behavior that everyone else has always seen.

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Oct 21 2020, 8:56 AM

VSE uses UI_view2d_constant_grid_draw to draw a grid which is shared across editors. The function has not been changed for a long time. So please check if this happens in other editors like timeline/dopesheet or graph editor.

Also check if line thickness reflects change in User Preferences > Interface > Line Width.

Haven't checked but...

Many Macs are not able to draw a regular gl line with a width greater than 1. And I think some of those lines are a mixture of single and double-width. Fairly recently Clement added support for a line shader that does AA and supports any width line, including on Mac. I think I remember a commit where those lines changed to the new method.

So it could very well be that the complainant is seeing a difference between an old and new version that is behavior that everyone else has always seen.

Wasn't this done in 2.83? or perhaps 2.90? Also this would not explain green color.

This is in 2.91, it does not happen in 2.83 or 2.90

So I opened all the editors and have discovered that if you change the size of the VSE Sequencer the lines change colour and they are nor present in any of the other editors.

There is a certain (small) height where the VSE Sequencer does not have the lines. See attached video.

Also Line width set to auto (I have factory reset)

Fiddling with line width does lead to it changing, in particular thin seems to eradicate it

Richard Antalik (ISS) changed the task status from Needs Information from User to Needs Triage.Oct 21 2020, 10:20 AM

Thanks, I re-checked and I must correct myself - UI_view2d_constant_grid_draw is only used by VSE

Wish I could recreate the issue - not seeing it on Windows here. But I can't see anything obviously weird in that UI_view2d_constant_grid_draw().

I've just had another run though changing Line Width between Auto, Thin and Thick
2.83.5 no extra green lines in VSE
2.90.1 no extra green lines in VSE

2.91.0-baa24f1c91d2 - extra green lines in VSE when using Auto and Thick (not visible with Thin)
2.92 Alpha (built from source) - extra green lines in VSE when using Auto and Thick (not visible with Thin)

If I set the Resolution Scale to 3 and the line width to Thick..

You can see the lines are separate to the vertical grey lines in the Sequencer, sometimes there is a single line and sometimes its a double line.

I am also confused by this since it is NOT happening on any build prior to 2.91. I am kind of hoping now the beta is out there may be more Mac users seeing it :(

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Oct 23 2020, 3:54 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

Even not being able to reproduce, I am confirming the bug since the same problem has been reported again.

This comment was removed by filip mond (vklidu).
Richard Antalik (ISS) renamed this task from VSE in 2.91 has much thicker vertical green lines to MacOS lines that should be thick are green instead.Oct 23 2020, 5:14 PM
Richard Antalik (ISS) updated the task description. (Show Details)

I ran into the same issue as @Andrei Nadin (AnadinX) in the VSE with the green lines in the 2.91.0 beta. I can confirm that changing Interface>Line Width from 'Auto' to 'Thin' makes the green lines go away.

It's also present in the latest daily build (2.92.0 alpha), although the 'Auto' Line Width is now called 'Default'.

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits (MacOS 10.15.7)
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-10-27 16:38, hash: rBbee5921e82eb
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-06 19:20, hash: rBd2c102060d44

I found that the issue has a rather complex dependence on Resolution Scale (as previously hinted), but also on the window size and is present for both 'Thick' and 'Thin' Line Width.

Version: 2.92.0 Alpha, branch: master, commit date: 2020-11-06 19:20, hash: rBd2c102060d44