Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Windows `list-box%` scrolling stops

未关闭
#196 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
领域
desktop

调研方向

从 gui-lib/mred/private/wx/win32/list-box.rkt:414 开始,复现 Package Manager view 中描述的 Windows 列表框滚动行为。检查可见项目数等于 target top item 的情况,包括默认 scroll size 为 3 的情况。当 list-box% 能够在所报告的 24 项视图中滚动超过第 21 项,且不破坏其他滚动行为时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

On Windows a list-box% scrolling stops when the control attempts to make the Nth item the top item when there are N items visible. I've tracked it down to this line https://github.com/racket/gui/blob/master/gui-lib/mred/private/wx/win32/list-box.rkt#L414 . I'm not sure what the ramifications are for removing it, but I think that would fix it.

I found this when the Package Manager view in DrRacket had 24 items visible and with the default scroll size of 3, the list-box% would not scroll past the 21st item.

Cheers,
Sam

主要语言
Racket
星标
68
派生
83
平均合并
9 天 8 小时
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

racket/gui 的其他 Issue

查看 racket/gui 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。