The alternate rows in the Sequencer are green (macOS) #83094

Closed
opened 2020-11-27 09:45:50 +01:00 by Yevgeny Makarov · 14 comments

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 455 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.92.0 Alpha
After f7223d5f72

Short description of error
The alternate rows in the Sequencer are green.

alternate_row_sequencer.png

Similar to #81827 (MacOS lines that should be thick are green instead)

**System Information** Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 455 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18 **Blender Version** Broken: version: 2.92.0 Alpha After f7223d5f72 **Short description of error** The alternate rows in the Sequencer are green. ![alternate_row_sequencer.png](https://archive.blender.org/developer/F9388050/alternate_row_sequencer.png) Similar to #81827 (MacOS lines that should be thick are green instead)
Author
Member

Added subscriber: @jenkm

Added subscriber: @jenkm

#83825 was marked as duplicate of this issue

#83825 was marked as duplicate of this issue
Clément Foucault was assigned by Yevgeny Makarov 2020-11-27 09:46:57 +01:00
Author
Member

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

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

Added subscriber: @erik85

Added subscriber: @erik85

Maybe it would help to blend the colors then set the alpha back to 1.0 again... But I have no way of testing it on macOS.

Maybe it would help to blend the colors then set the alpha back to 1.0 again... But I have no way of testing it on macOS.

Added subscriber: @fsiddi

Added subscriber: @fsiddi

Added subscriber: @rjg

Added subscriber: @rjg

There are also glitches on Linux that I could reproduce with a Intel Haswell (#83318). At the time I wasn't sure if this was caused by Blender or the driver, but given that glitches also happen on macOS this seems to be a bug in Blender.

There are also glitches on Linux that I could reproduce with a Intel Haswell (#83318). At the time I wasn't sure if this was caused by Blender or the driver, but given that glitches also happen on macOS this seems to be a bug in Blender.

Added subscribers: @HooglyBoogly, @fclem, @dfelinto

Added subscribers: @HooglyBoogly, @fclem, @dfelinto
Clément Foucault was unassigned by Dalai Felinto 2020-12-17 15:01:29 +01:00

@jenkm thanks for the help triaging, but when something is marked as confirmed, it has to be fully triaged. In other words, the module responsible for it should be tagged, not assigning developers. See https://wiki.blender.org/wiki/Process/A_Bugs_Life

Otherwise it doesn't show up in the corresponding module workboard.

@HooglyBoogly since this was introduced with your commit, mind checking it?

@jenkm thanks for the help triaging, but when something is marked as confirmed, it has to be fully triaged. In other words, the module responsible for it should be tagged, not assigning developers. See https://wiki.blender.org/wiki/Process/A_Bugs_Life Otherwise it doesn't show up in the corresponding module workboard. @HooglyBoogly since this was introduced with your commit, mind checking it?
Author
Member

This for "UI" and "EEVEE & Viewport" projects, not "VFX & Video", "Video Sequencer".
It is related to the gpu shader.


@erik85 - Maybe it would help to blend the colors then set the alpha back to 1.0 again.

Yes, the similar code for file browser used immUniformThemeColorBlend(), so something like the code below will work.
But you will need to adjust the other colors too.

lang=c
    if (i & 1) {
      immUniformThemeColorBlend(TH_BACK, TH_ROW_ALTERNATE, col_alternating[3]);
    }
    else {
      immUniformThemeColor(TH_BACK);
    }

Also I would try using TH_GRID in the UI_view2d_constant_grid_draw(), this color doesn't seem to be used right now.

This for "UI" and "EEVEE & Viewport" projects, not "VFX & Video", "Video Sequencer". It is related to the gpu shader. *** > @erik85 - Maybe it would help to blend the colors then set the alpha back to 1.0 again. Yes, the similar code for file browser used `immUniformThemeColorBlend()`, so something like the code below will work. But you will need to adjust the other colors too. ``` lang=c if (i & 1) { immUniformThemeColorBlend(TH_BACK, TH_ROW_ALTERNATE, col_alternating[3]); } else { immUniformThemeColor(TH_BACK); } ``` Also I would try using `TH_GRID` in the UI_view2d_constant_grid_draw(), this color doesn't seem to be used right now.
Author
Member

Okay, I think there's just a mistake in UI_GetThemeColorBlendShade4fv().

The offset (shading) should not be applied to alpha, similar to how it is in UI_GetThemeColorShade4fv.


There is no any background under these stripes, so we have a semi-transparent stripe and nothing under it to blend in with.

Okay, I think there's just a mistake in `UI_GetThemeColorBlendShade4fv()`. The `offset` (shading) should not be applied to `alpha`, similar to how it is in `UI_GetThemeColorShade4fv`. *** There is no any background under these stripes, so we have a semi-transparent stripe and nothing under it to blend in with.

This issue was referenced by 5424b4821d

This issue was referenced by 5424b4821d28c4ea42b4f195869de1e1620e6889
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2021-01-05 21:23:09 +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
6 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#83094
No description provided.