Page MenuHomeFeedback Tracker

>Wrong color format< rpt spam caused by >colorLink = "";< property inside of ctrlStructuredText
Closed, DuplicatePublic

Description

The property

colorLink = "";

inside

class Attributes
{
  align = "left";
  color = "#ffffff";
  colorLink = "";
  size = 1;
  font = "RobotoCondensedLight";
};

causes some rpt spam because it's empty by default. Setting it for example to

colorLink = "#ffffff";

fixes the issue.

Solution: Base class of ctrlStructuredText should have some color defined by default.

Full Path:
configFile >> "ctrlStructuredText" >> "Attributes" >> "colorLink"

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Config
Steps To Reproduce
  1. Copy the config from below into a description.ext
  2. Open the GUI with
findDisplay 313 createDisplay "ENH_FunctionsViewerTest";
  1. Check the .rpt for the warning
  2. Set the color link attribute inside the attributes class to
colorLink = "#ffffff";
  1. Check the .rpt. -> no warning
Additional Information
class ENH_FunctionsViewerTest
{
	idd = -1;
	movingEnable = "false";
	class Controls
	{
		class Preview
		{
			x = "safezoneX + 72 * (pixelW * pixelGrid * 	0.50)";
			y = "safezoneY + 24 * (pixelH * pixelGrid * 	0.50)";
			w = "safezoneW - 73 * (pixelW * pixelGrid * 	0.50)";
			h = "safeZoneH - 31 * (pixelH * pixelGrid * 	0.50)";
			class Controls
			{
				class Lines
				{
					idc = 1404;
					canModify = "false";
					x = 0;
					y = 0;
					w = 0.07;
					h = 2;
					font = "EtelkaMonospacePro";
					shadow = 0;
					colorBackground[] = {0,0,0,0.5};
					type = 13;
					size = "4.32 * (1 / (getResolution select 3)) * pixelGrid * 0.5";
					text = "";
					class Attributes
					{
						align = "left";
						color = "#ffffff";
						colorLink = "";
						size = 1;
						font = "RobotoCondensedLight";
					};
					onCanDestroy = "";
					onDestroy = "";
					sizeEx = "4.32 * (1 / (getResolution select 3)) * pixelGrid * 0.5";
					access = 0;
					style = 0;
					default = 0;
					show = 1;
					fade = 0;
					blinkingPeriod = 0;
					deletable = 0;
					tooltip = "";
					tooltipMaxWidth = 0.5;
					tooltipColorShade[] = {0,0,0,1};
					tooltipColorText[] = {1,1,1,1};
					tooltipColorBox[] = {0,0,0,0};
					class ScrollBar
					{
						width = 0;
						height = 0;
						scrollSpeed = 0.06;
						arrowEmpty = "\a3\3DEN\Data\Controls\ctrlDefault\arrowEmpty_ca.paa";
						arrowFull = "\a3\3DEN\Data\Controls\ctrlDefault\arrowFull_ca.paa";
						border = "\a3\3DEN\Data\Controls\ctrlDefault\border_ca.paa";
						thumb = "\a3\3DEN\Data\Controls\ctrlDefault\thumb_ca.paa";
						color[] = {1,1,1,1};
					};
				};
			};
			type = 15;
			style = 16;
			class VScrollBar
			{
				width = "2 * (pixelW * pixelGrid * 	0.50)";
				height = 0;
				autoScrollEnabled = 0;
				autoScrollDelay = 1;
				autoScrollRewind = 1;
				autoScrollSpeed = 1;
				scrollSpeed = 0.06;
				arrowEmpty = "\a3\3DEN\Data\Controls\ctrlDefault\arrowEmpty_ca.paa";
				arrowFull = "\a3\3DEN\Data\Controls\ctrlDefault\arrowFull_ca.paa";
				border = "\a3\3DEN\Data\Controls\ctrlDefault\border_ca.paa";
				thumb = "\a3\3DEN\Data\Controls\ctrlDefault\thumb_ca.paa";
				color[] = {1,1,1,1};
			};
			class HScrollBar
			{
				width = 0;
				height = "2 * (pixelH * pixelGrid * 	0.50)";
				scrollSpeed = 0.06;
				arrowEmpty = "\a3\3DEN\Data\Controls\ctrlDefault\arrowEmpty_ca.paa";
				arrowFull = "\a3\3DEN\Data\Controls\ctrlDefault\arrowFull_ca.paa";
				border = "\a3\3DEN\Data\Controls\ctrlDefault\border_ca.paa";
				thumb = "\a3\3DEN\Data\Controls\ctrlDefault\thumb_ca.paa";
				color[] = {1,1,1,1};
			};
			onCanDestroy = "";
			onDestroy = "";
			onMouseButtonDown = "";
			onMouseButtonUp = "";
			onMouseButtonClick = "";
			onMouseButtonDblClick = "";
			onMouseZChanged = "";
			onMouseMoving = "";
			onMouseHolding = "";
			access = 0;
			idc = -1;
			default = 0;
			show = 1;
			fade = 0;
			blinkingPeriod = 0;
			deletable = 0;
			tooltip = "";
			tooltipMaxWidth = 0.5;
			tooltipColorShade[] = {0,0,0,1};
			tooltipColorText[] = {1,1,1,1};
			tooltipColorBox[] = {0,0,0,0};
			class ScrollBar
			{
				width = 0;
				height = 0;
				scrollSpeed = 0.06;
				arrowEmpty = "\a3\3DEN\Data\Controls\ctrlDefault\arrowEmpty_ca.paa";
				arrowFull = "\a3\3DEN\Data\Controls\ctrlDefault\arrowFull_ca.paa";
				border = "\a3\3DEN\Data\Controls\ctrlDefault\border_ca.paa";
				thumb = "\a3\3DEN\Data\Controls\ctrlDefault\thumb_ca.paa";
				color[] = {1,1,1,1};
			};
		};
	};
};