• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fyne-io / fyne / 43719097710
62%

Build:
DEFAULT BRANCH: develop
Ran 15 Nov 2026 01:34PM UTC
Jobs 1
Files 418
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Nov 2026 01:27PM UTC coverage: 61.878% (-0.005%) from 61.883%
43719097710

push

github

web-flow
widget/scroller: Scroll without (re)measuring the content (#6567)

Scrolling called Content.MinSize() and then a full refresh, so one input
event walked the whole content tree several times. Both costs grow with
the number of children, so scrolling got slower the longer the content
got.

Scrolling only translates the content and resizes the scroll bar thumbs,
so offsetUpdated now does just that and skips the refresh path. The
offset is clamped against the laid out content size, which Layout
guarantees to be at least the minimum size and which is a field read
rather than a tree walk.

Content.MinSize() is still used where the content may have changed size,
such as Resize, Refresh and scrolling to the end.

On an Android device (arm64, GL painter) 900 scroll events over the touch
path cost 1.33us each before and 165ns after. Both runs end at the same
offset, so the events do the same work and the saving is not fewer
events.

The Go benchmarks show the same and that the cost no longer depends on
the content size. Dragged and Scrolled are built separately and Dragged
only exists for the mobile driver, so both are measured:

	rows   Dragged before    Dragged after    Scrolled after
	100    10.0us            175ns            178ns
	1000   148.8us           171ns            171ns
	5000   877.3us           167ns            159ns

The added tests assert that a scroll event measures, resizes and
refreshes nothing, and they fail if the change is reverted.

ScrollToOffset keeps the refresh path and is left alone; it serves
callers such as the entry cursor follow and the list-to-bottom helper,
where the content may have changed size.

17 of 24 new or added lines in 2 files covered. (70.83%)

26290 of 42487 relevant lines covered (61.88%)

16139.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
83.67
-1.0% internal/widget/scroller.go
Jobs
ID Job ID Ran Files Coverage
1 43719097710.1 15 Nov 2026 01:34PM UTC 418
61.88
GitHub Action Run
Source Files on build 43719097710
  • Tree
  • List 418
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d33a463f on github
  • Prev Build on develop (#43702739030)
  • Next Build on develop (#43743947045)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc