[Therion] Therion 5.5.5 + 5a614ef testing - colour map-fg hierarchy

Bruce Mutton bruce at tomo.co.nz
Thu Dec 24 06:05:12 CET 2020


Stacho

Most of my datasets checked so far look OK, but there is one that is suspicious, and I am not sure of the proper hierarchy or what it has been in the preceding versions, so it may be OK.

 

What seems to be happening for colour map-fg hierarchy is:

1.	‘lookup’ colours defined in layout override all other map-fg colour specifications
2.	‘Selected’ map colours specified in thconfig override unless there is a matching lookup
3.	Explicitly specified map-fg colours are ignored if either of the above are present.

 

I was expecting that number 2 to be top of the list, always, and then the other two dependent on the order called. But it seems never to be the case if there is a lookup, the hierarchy is always as above I think.

 

It might always have been this way, but it seems inconsistent that;

a.	Selected map colours in thconfig do not always override those defined in layouts (lookups and explicitly specified map-fg), and
b.	Lookup and explicitly specified map-fg colours do not take their precedence based on order of appearance in layouts.

 

A limited example….

In thconfig:

select MegamaniaBeyondWordsPlanMap  -color [100 0 0] #ie colour red should override for whole map

In layout:

colour map-fg map, with a ‘lookup map’ defined

Output:

Is greyscale as set in a map lookup



 

Change layout to:

colour map-fg [97 86 38] # yellow brown

Output:

Is red as expected, with the select map colour overriding



 

If it has always been this way, then it is not a problem to consider for the Debian release, but maybe later on.

 

Bruce

 

From: Therion <therion-bounces at speleo.sk> On Behalf Of Stacho Mudrak
Sent: Thursday, 24 December 2020 09:44
To: List for Therion users <therion at speleo.sk>
Subject: Re: [Therion] Therion 5.5.5 bug - statistics missing from header

 

If you will find some bugs or some suspicious behavior, please let us know.  And if someone could test the latest version on some larger datasets, it would be great.

 

We would like to have the most stable version of therion in Debian 11 release and there are still some days left until freeze happens.

 

Thanks, S.

 

On Wed, 23 Dec 2020 at 15:07, Benedikt Hallinger <beni at hallinger.org <mailto:beni at hallinger.org> > wrote:

Ok wookey, will check that regarding the glx Patch issue then.

> Am 23.12.2020 um 14:26 schrieb Wookey <wookey at wookware.org <mailto:wookey at wookware.org> >:
> 
> On 2020-12-23 10:42 +0100, Stacho Mudrak wrote:
>>   I am sorry, one bug fixed, another introduced :/
>>   It should be OK in 5a614ef. Windows binaries should be automatically built
>>   within half an hour.
> 
> And the Debian packages are now built in unstable. They should move into testing in 5 days time.
> 
> 
> Wookey
> -- 
> Principal hats:  Linaro, Debian, Wookware, ARM
> http://wookware.org/
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk <mailto:Therion at speleo.sk> 
> https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
Therion at speleo.sk <mailto:Therion at speleo.sk> 
https://mailman.speleo.sk/listinfo/therion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20201224/c50c5825/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 13731 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20201224/c50c5825/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 24379 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20201224/c50c5825/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 39127 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20201224/c50c5825/attachment-0005.png>


More information about the Therion mailing list