Potential Bugs In Field Coloring

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Potential Bugs In Field Coloring

Post by WaltBrown »

Attached is a stack which illustrates two problems:

1. If the lines of a field have different background colors, if you delete a line, the text of the line is deleted and the rest of the text moves up, but the background color of that line is retained, and the background color of the subsequent line is lost. Part of this process includes the oddity that if you set the backColor of a line in a field using the colorName, then ask for the backColor, it is returned as RGB values.

2. This happens in LC 5.5.5 and 6.6.2 on Win7 64. On 7.0 (rc 1) asking for the backColor of a line in a field returns the word "mixed", not the RGB value, which is also a bug.

Maybe I am doing something wrong?
Thanks
Walt
idTestBackColor.zip
(6.41 KiB) Downloaded 284 times
Walt Brown
Omnis traductor traditor
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Potential Bugs In Field Coloring

Post by bn »

Hi Walt,

I see the problem you describe on a Mac in LC 6.6.2, 6.6.5. There is no problem in LC 6.7.2 nor 7.0.2 rc 2

I guess the bug was somehow corrected in the later versions.

Kind regards
Bernd
WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: Potential Bugs In Field Coloring

Post by WaltBrown »

Thanks Bernd, 7.0.1 fixes both issues.
Walt
Walt Brown
Omnis traductor traditor
Post Reply