Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Instances of group-box-panel% fail to show inside some panels in Windows

Abierto
#271 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Área
desktop

Línea de trabajo

Comienza con el reproducer proporcionado de #lang racket/gui y ejecútalo en Windows, comparando las dos configuraciones de vertical-panel y el comportamiento en Linux o macOS. Investiga la interacción entre group-box-panel% y auto-vscroll; se considera terminado cuando el group box se muestra dentro del vertical-panel con desplazamiento, mientras message% y el comportamiento en las otras plataformas permanecen sin cambios.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The following example reproduces an inconsistency in the behavior of (at least) the combination of auto-vscroll and group-box-panel% between Windows and the other two platforms.

In macOS and Linux, group-box-panels show as expected when placed inside a vertical-panel, regardless of the style parameters of the vertical-panel.

In Windows, the group-box-panel fails to show when the parent vertical-panel has auto-vscroll as one of the style parameters.

Any other widgets inside the problematic panel (such as message% or button%) seem to behave as expected in all platforms.

What version of Racket are you using?
8.5 [cs]

What program did you run?
This short program reproduces the bug. See the attached Linux and Window screenshots for further comparison.

#lang racket/gui

(define test-frame-1 (new frame% [label "Test with auto-vscroll"] [width 512] [height 512]))
(define parent-frame-1 (new vertical-panel% [parent test-frame-1] [style '(auto-vscroll)]))
(define group-box-panel-1 (new group-box-panel% [parent parent-frame-1] [label "Hello world"]))
(define test-message-1 (new message% [parent parent-frame-1] [label "Test message"]))
(send test-frame-1 show #t)

(define test-frame-2 (new frame% [label "Test without auto-vscroll"] [width 512] [height 512]))
(define parent-frame-2 (new vertical-panel% [parent test-frame-2]))
(define group-box-panel-2 (new group-box-panel% [parent parent-frame-2] [label "Hello world"]))
(define test-message-2 (new message% [parent parent-frame-2] [label "Test message"]))
(send test-frame-2 show #t)

Ubuntu screenshot
Windows screenshot

Lenguaje dominante
Racket
Estrellas
68
Forks
83
Merge medio
21 h
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de racket/gui

Todos los issues de racket/gui

Issues similares

Más issues de Desktop Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.