Builder 3-D view: residue labels are white on a white background (same fault as #1293, different place)

Aberta
#1,357 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
c, cpp
Domínio
desktop

Direção de pesquisa

Start in the Builder's 3-D view label-rendering code and inspect the prior poses fix in #1293 for how labels follow the Foreground colour. Search the viewer and Builder for SbColor(1, *1.0f, 1.0f, 1.0f*, wxWHITE, and setLabelColor, then verify the affected views with residue labels enabled. Done means Builder labels are visible on the white background and other hard-coded white label colours have been addressed.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Residue labels in the Builder's 3-D view are drawn in white. On the white
background that ECCE uses for structure views they are invisible; in a
screenshot of 1IEP with labels on, HOH, TRP and the rest read as faint
white-on-white smudges.

This is the same fault as #1293, where the docking poses' residue labels were
white on white and were fixed by following the Foreground colour. That fix
was made in the poses code; the Builder's own labels still have it, so the
colour is being chosen in more than one place.

Two parts:

  1. Make the labels follow the Foreground colour, as #1293 did for poses.
  2. Find the other places. Twice is a pattern: grep for fixed white or
    hard-coded label colours in the viewer and the Builder
    (SbColor(1, *1.0f, 1.0f, 1.0f*, wxWHITE, setLabelColor) and fix
    them together, so the next view added does not inherit it a third time.

Found by hand testing the pocket picker build (main at 822af2842).

Linguagem predominante
C
Estrelas
10
Forks
8
Merge médio
6h 32min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de FriendsofECCE/ECCE

Todas as issues de FriendsofECCE/ECCE

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.