Opened 11 months ago

Last modified 10 months ago

#14469 new enhancement

No way to set Folder text/link color

Reported by: isius Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Folder text/link color seemingly unable to be changed from black. Does not correlate to expected "Document Text" color (or any other color setting) from within "Appearance".

Change History (8)

comment:1 Changed 11 months ago by humdinger

Component: User InterfaceApplications/Tracker
Owner: changed from stippi to nobody
Type: bugenhancement

comment:2 Changed 11 months ago by humdinger

Currently an algorithm sets the label colour to white when your Desktop colour is dark, and black when light.

comment:3 Changed 11 months ago by isius

I do not mean the desktop link/label color. I mean the text labels/links within open folders.

comment:4 Changed 11 months ago by humdinger

Oh, I see. Yeah, that's not possible ATM apparently.
One can't even set a background colour for a folder, just an image. Otherwise at least that same algorithm could be used.

Anyhoo, as always, "Patches welcome"... :)

comment:5 Changed 11 months ago by isius

It seems as though a background color may be set by changing "Document background" color. Although, interestingly, the color does not register higher than 216,216,216 within the folders.

I would be happy to patch! Could use a pointer to which source file controls that. Is that within kit, Tracker?

comment:6 Changed 11 months ago by humdinger

I can change "Document background" in Appearance to any value. Tracker does use that constant, but when you change the colour in Appearance, be aware that it's used in other places as well.

The text colour is AFAIK hardcoded and inverting the colour (black <-> white) is used for selections. Changes may not be that easy... can help you to find the right code in the Tracker kit.

comment:8 Changed 10 months ago by isius

Please bear with me as I try to understand the lay of the land here. I'm having some difficulty figuring out which files/components are connected. Especially considering the apparent smattering of legacy and new Layout API code?

I now realize that the "folders" I originally referred to are actually a "query" or "virtual directory" "pose view" (I don't know which, nor understand the difference). Both reference


Which makes me question:

  • What is the difference between a virtual directory and a query?
  • What is "pose"?

But more specifically to this ticket... could something like one of the following be added to instead of adding a tint with B_DARKEN_1_TINT?


I ask because if one wishes to set the background to black, there is no current way to do so within a query/virtual directory.

Note: See TracTickets for help on using tickets.