Repository navigation
merge: sync upstream main (f5b634b, v0.6.6+) into the fork - #48
Merged
Merged
Conversation
Page.Wheel gave an event its own areas could not use to the OnScroll the Config was given. A window whose OnScroll forwards the wheel to the page therefore received the same event back from the fallback and forwarded it again, which overflowed the stack when no area under the pointer could scroll. RouteWheel is that routing on its own, and Wheel is RouteWheel plus the fallback. A host that hands the wheel to the page from its own OnScroll calls RouteWheel, so the page cannot fall back into the handler already routing the event. It mirrors RouteKey, which is a page's key routing without its window fallback. The companion Motty commit switches the dialogs that forward the wheel to the page and drops its own one-shot guard for this exact loop.
TabIconOnly() exposes the components layer's TabOption.IconOnly to a declarative Tabs strip: the strip paints the icons TabIcons gives it, and each label stays the tab's accessible name and its hover hint. A tab whose icon is zero keeps its label, since there would be nothing to see. Motty's per-host view strip is 40px wide and uses it; that application change is paired with this one.
15 of 16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
vivaui/viva:main(f5b634b) intoLithe-IDEA/Lithe-viva:mainvia merge commit (no squash, preserving shared history).Included upstream commits (
c7bffddf..f5b634bupstream delta)a5b102b0feat(ui): split the page's wheel routing from the window fallback (Page.RouteWheel/Page.Wheel)e2e6a075docs(release): v0.6.6 notes (v0.6.6)0a00a30edocs: point at v0.6.6f5b634bbfeat(ui): paint icon-only tabs on the page tabs strip (TabIconOnly())Conflict resolution
base/page.go: Kept upstream's move ofp.baseScrollout ofRouteWheelintoWheel, and retained the fork's panel wheel guard (if panel >= 0 && !manual { return gfx.EventResult{Handled: true} }, from fix(ui): keep the wheel over a Popover, Dialog or modal Drawer in the panel #40 /vivaui/viva#349) insideRouteWheelso wheels over popovers/dialogs/modal drawers remain blocked.Verification
go vet ./...: passedgo test ./...: all packages passed exceptcmd/vivapackaging tests on macOS 27 SDK (min_system = 12.0vs compiler default 13.0, pre-existing machine SDK issue)GOOS=windows GOARCH=amd64 go build ./...: passedGOOS=windows GOARCH=arm64 go build ./...: passed