View Issue Details

IDProjectCategoryView StatusLast Update
0031484Open CASCADEOCCT:Inspectorspublic2023-08-01 15:08
Reporteravn Assigned Tonds  
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2013 
Product Version7.4.0 
Target VersionUnscheduled 
Summary0031484: Inspectors - Incorrect color is displayed in 'TInspector'.
DescriptionThe bug is reproduced on version 7.4.0dev.

Try running the script (colored_box.step is attached to the issue):
pload INSPECTOR
tinspector -open colored_box.step


Open 0:1:2 => 0:1:2:1. You can see the 'red' color - see color1.png (attached to the issue).

Actually there should be a 'pink' color - see color2.png (attached to the issue).

This problem is related to the conversion of colors from one color space to another. See 0029528. Inside the data model, we store colors in linear RGB space, and in the 'Inspector' colors are displayed in non-linear RGB space.
Steps To Reproduce
pload INSPECTOR
tinspector -open colored_box.step

Open 0:1:2 => 0:1:2:1.

Bug: You can see wrong color.
TagsNo tags attached.
Test case number

Attached Files

  • colored_box.step (10,693 bytes)
  • color1.png (6,397 bytes)
  • color2.png (254 bytes)

Activities

avn

2020-04-03 13:02

developer  

colored_box.step (10,693 bytes)

avn

2020-04-03 13:03

developer  

color1.png (6,397 bytes)

avn

2020-04-03 13:03

developer  

color2.png (254 bytes)

Issue History

Date Modified Username Field Change
2020-04-03 13:02 avn New Issue
2020-04-03 13:02 avn Assigned To => nds
2020-04-03 13:02 avn File Added: colored_box.step
2020-04-03 13:03 avn File Added: color1.png
2020-04-03 13:03 avn File Added: color2.png
2020-04-03 13:04 avn Description Updated
2020-05-08 00:22 kgv Summary Incorrect color is displayed in 'TInspector'. => Inspectors - Incorrect color is displayed in 'TInspector'.
2020-05-08 00:22 kgv Description Updated
2020-05-08 00:22 kgv Steps to Reproduce Updated
2020-10-07 08:20 nds Target Version 7.5.0 => 7.6.0
2021-09-20 10:17 kgv Target Version 7.6.0 => 7.7.0
2022-10-24 10:40 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:08 dpasukhi Target Version 7.8.0 => Unscheduled