I think we are mixing up Chromosome Painting with Chromosome Browsing.
TLDR: Chromosome Painting uses the active person and a vendor-specific reference ethnicity map, whereas Chromosome Browsing uses shared segments between the active person and associated person(s). This gramplet implements the latter.
Chromosome Painting
The new AncestryDNA Chromosome Painter has āuntestedā segments. As does the FTDNA Chromosome Painter. These tools use the members DNA and compares the Ethnicity mappings that they have collected and paints the segment map appropriately. The āsecret sauceā is this ethnicity reference table, which each vendor builds based on the samples they have processed. There are āblankā or untested areas in it. All you get is the ethnic region on the segment map (not a persons name). This is useful for understanding where a particular segment geographically came from, in hopes to indirectly guess on which line it comes from. The maternal/paternal are both painted based on their individual lookup of the Ethnicity map. There is no ambiguity on maternal vs paternal sides, since each side is painted based on the Ethnicity map independently.
Let me exaggerate a point to simplify. If John Doe has a mother who is 100% German and a father who is 100% Irish, the map would have all of the maternal segments one color for Germany and the paternal segments all a different color for Ireland. And there would be grey segments where untested.
The āsecret sauceā is proprietary to the vendor, so this really cannot be implemented in Gramps.
Chromosome Browsing
This is not the same as Chromosome Browsing, which is what DNApainter and this gramplet do. The idea for this tool it to compare the active person with shared segments (created by GEDmatch or FTdna or ā¦) of associated people and paint the segments that match, identifying which person maps with the active person. There are no āuntestedā in this analysis. If the associated person is maternally related (based on the tree), then the maternal chromosome is painted. Conversely if they are paternally related, the paternal chromosome is painted. If the person is not genetically (known) connected, then both are painted (but with transparency).
Example: If John Doe is related to Mary Smith thru his mother, then the shared segments they have would be painted on the segment map on the maternal side. If they are related thru Marys father, Maryās map would have the paternal segment painted. The more people associated, the more different colors on the map.
If you hover over the shared segment on the map, it will tell you the shared length (in cM). This provides a hint on the genetic distance.
The Shared cM Project has a lookup for relationship to cM range. The ranges overlap significantly for lower cM values. Given a cM value, there is a large range of relationships possible. For instance. for 75 cM , the table from DNApainter (by Jonny Per) is below. This is more info than is practical to display, even if it were public domain.