Panels/Frames do not respond to scrolling
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
The following program creates a top-level frame% instance containing a vertical panel.
#lang racket
(require racket/gui)
(define the-frame
(new frame%
[label "a frame"]
[width 100]
[height 200]))
(define the-panel
(new vertical-panel%
[parent the-frame]
[style '(auto-vscroll)]))
(for ([i (in-range 50)])
(new group-box-panel%
[label (number->string i)]
[parent the-panel]))
(send the-frame show #t)
Even though a scroll-bar shows up, neither the frame or panel seems to respond to scroll events from the mouse. It would be nice if frames and/or panels supported scrolling with the mouse wheel the same that canvases/editors do.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the provided Racket example first and observe the vertical panel's scrollbar and mouse-wheel behavior. Start by reading the frame% and vertical-panel% scrolling entry points, then compare them with canvas and editor mouse-wheel handling. Done means mouse-wheel scrolling works for the shown frame or panel configuration.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100