ba5aa085f499f17ea3b88621e40a34c9c1ccb3d1
braney
Thu Sep 10 11:03:15 2026 -0700
hui.c: turn the track color picker on by default, refs #20460
The showColorPicker gate has been in the tree since v496 and defaulted to
FALSE, so the color picker was only visible on hgwdev and genome-test. The
default is now TRUE. The flag stays in place, so a mirror or hgwbeta can
still set showColorPicker=off without a code change.
Also record the new default in the hg.conf catalog.
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 29ebdd124c6..33024787b93 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -6114,31 +6114,31 @@
{
printf("
Show only transcripts with these accessions: ");
char varName[1024];
safef(varName, sizeof(varName), "%s.nameFilter", name);
char *onlyTransStr = cartUsualString(cart, varName, "");
cgiMakeTextVar(varName, onlyTransStr, 60);
printInfoIcon("Enter the primary accession of the track, so RefSeq IDs for the RefSeq track, Gencode IDs for the Gencode track, etc. Separate multiple accessions with commas.");
puts("
\n\n");
}
boolean tdbSupportsColorOverride(struct trackDb *tdb)
/* Return TRUE if this track type supports the color override feature. */
{
-if (!cfgOptionBooleanDefault("showColorPicker", FALSE))
+if (!cfgOptionBooleanDefault("showColorPicker", TRUE))
return FALSE;
char *type = tdb->type;
char *track = tdb->track;
// Blacklist tracks that use custom rendering incompatible with color override
if (startsWith("gtexGene", track) || startsWith("gtexEqtlCluster", track)
|| startsWith("gtexEqtlTissue", track))
return FALSE;
return !tdbIsComposite(tdb)
&& (startsWithWord("bed", type) || startsWithWord("bigBed", type)
|| startsWithWord("genePred", type) || startsWithWord("bigGenePred", type)
|| startsWithWord("wig", type) || startsWithWord("bigWig", type)
|| startsWithWord("rmsk", type) || startsWithWord("interact", type)
|| startsWithWord("bigInteract", type) || startsWithWord("bigLolly", type)
|| startsWithWord("vcfTabix", type) || startsWithWord("vcf", type)
|| startsWithWord("bigDbSnp", type));