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

Aperta
#1,357 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, cpp
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
C
Stelle
10
Fork
8
Merge medio
6h 32m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FriendsofECCE/ECCE

Tutte le issue di FriendsofECCE/ECCE

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.