Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Large type tooltips cause visual artifacting on hover.

Aperta
#832 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
desktop

Direzione di ricerca

Start by reproducing the hover artifact in DrRacket with the supplied typed Racket example, varying the editor font size as described. The report names no source files or tests, so trace how DrRacket displays type tooltips and inspect the console warning about native windows exceeding 32767 pixels. Done when large type tooltips render without visual artifacts during hover or font size changes.

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

Descrizione

#lang typed/racket

(define zz
  (hash ;; hover here
   '+ + 
   '* *
   '- -
   '/ /))

zz ;; or hover here

Sufficiently large tooltips cause visual artifacts on hover. The easiest way I have found to reproduce this is a hash with values that have a huge union type capturing a large number of case->'s (as is the type for mapping to multiple arithmetic operators as seen above). The visual artifacts depend on the drracket font size. Hovering over the hash itself or the variable binding it (in this case zz) and using Ctrl+- or Ctrl+= to change the font size will cause stretching, blurring, or other artifacts of the tooltip text.
Image

Image

Regular hovering with no font size changing can also recreate the artifacts, but with a large enough tooltip, sometimes hovering will cease to draw the yellow canvas box at all (although do note that there is some visual warping at the bottom of the window).

Image

When reproducing this issue from a drracket instance launched from the command line, each attempt at hovering will cause the following warning to be thrown to the console:

$ drracket bug.rkt
(drracket:5582): Gdk-WARNING **: 17:34:24.589: Native Windows wider or taller than 32767 pixels are not supported
Environment

Version: Racket 9.3
OS: Debian 12
Desktop Environment: KDE Plasma

Lingua principale
Racket
Stelle
517
Fork
102
Merge medio
8h 52m
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 racket/drracket

Tutte le issue di racket/drracket

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.