Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9031a92
test(ui): cover a menu taller than the window
t8y2 Nov 17, 2026
4168d4b
fix(text): keep CRLF intact in line editing and code rows
caichangqing1120 Nov 17, 2026
7fce686
fix(darwin): keep suggested save extensions intact
caichangqing1120 Nov 17, 2026
e8f7a23
feat(components): add composable avatar crop editor
Ezreal-byte Nov 17, 2026
b4ee5fd
fix(ui): keep ContextMenu rows apart from target parts
xiaoyumuxi Nov 17, 2026
a6f2bbe
docs(ui): list every part the ContextMenu scope holds
t8y2 Nov 17, 2026
45b87ae
fix(ui): let a context menu take the arrows from the focused control
t8y2 Nov 17, 2026
21d5d36
fix(windows): keep live resizing responsive without stretching content
DeanCen Nov 17, 2026
04b5b5c
feat(ui): add TextAreaID for a text area the application names
t8y2 Nov 17, 2026
38f4356
test(ui): cover a context menu named by a zero-size slot
t8y2 Nov 17, 2026
46d6eef
feat(ui): add Checkbox.Mixed for a select-all over some chosen rows
t8y2 Nov 17, 2026
117aef5
linux: keep Wayland keyboard and IME after content clicks
caichangqing1120 Nov 17, 2026
c99de92
feat(ui): add MenuItems.Content for a row the caller paints
t8y2 Nov 17, 2026
c87661f
feat(ui): add MenuItem.Trailing for a control at a row's end
t8y2 Nov 17, 2026
076233a
test(ui): cover a scroll area over hand-painted content
t8y2 Nov 17, 2026
b51885d
feat(ui): add Kbd for a shortcut's keycaps in a page
t8y2 Nov 17, 2026
451bc9b
feat(ui): add Radio and RadioGroup for a single choice in a page
t8y2 Nov 17, 2026
7153eae
feat(ui): add RadioID for an option the application names
t8y2 Nov 17, 2026
bcf54a0
fix(ui): end a Radio label with an ellipsis when it does not fit
t8y2 Nov 17, 2026
fa76033
feat(ui): move the rows of a List with Reorder by Alt and the arrows
t8y2 Nov 17, 2026
83e5375
fix(ui): let go of a List drag when the platform takes the press
t8y2 Nov 17, 2026
f4c637e
feat(ui): let a Combobox validate the text it shows
t8y2 Nov 18, 2026
059256b
Revert "feat(ui): let a Combobox validate the text it shows"
t8y2 Nov 18, 2026
d466aa5
merge: sync upstream main (059256b) into the fork
1lck Nov 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ jobs:
# native structure ABI tests are here for the same reason: they build only
# on Windows.
- name: Material contracts and controls (WARP)
run: go test ./internal/platform/windows ./ui ./components ./headless ./app -run 'Test(Backdrop|WindowBackdrop|Notification|TaskbarCreated|CompositionClear|CompositionFallback|CompositionCreation|CustomBackdrop|AcrylicAccent|LegacyAcrylic|RoundedOutline|Translucent|MonospaceFamilies|FontWeights|(The)?MonoWeights|(The)?InterfaceWeights|EveryListedFamilyResolves|EngineReportsTheFontsUnderline|AlwaysOnTop|SaveDialogCheckbox|FileIcon|NativeStructureABI)' -count=1 -v
run: go test ./internal/platform/windows ./ui ./components ./headless ./app -run 'Test(Backdrop|WindowBackdrop|Notification|TaskbarCreated|CompositionClear|CompositionFallback|CompositionCreation|CustomBackdrop|AcrylicAccent|LegacyAcrylic|RoundedOutline|Translucent|MonospaceFamilies|FontWeights|(The)?MonoWeights|(The)?InterfaceWeights|EveryListedFamilyResolves|EngineReportsTheFontsUnderline|AlwaysOnTop|SaveDialogCheckbox|FileIcon|NativeStructureABI|ResizePresents|WindowSwapChain|LiveResize|FlipWindowResize|RedrawWaits|ContinuousRedraw|NoOpFrame|SameSize|ZeroSize|ResizeTimer|RedrawQueue|NativeRedrawMessage|CompositionSupersededFrame)' -count=1 -v
- name: Terminal keyboard routing
run: go test ./internal/platform/windows -run '^TestATerminalGetsEditingKeysAndChordsAsRawKeys$' -count=1 -v
- name: Native Windows global shortcut
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/text-input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libgtk-3-0t64 xvfb xauth dbus-x11 ibus ibus-libpinyin ibus-hangul python3-gi gir1.2-ibus-1.0 gir1.2-gtk-3.0 libglib2.0-bin dconf-cli fcitx5 fcitx5-pinyin fcitx5-hangul fcitx5-frontend-gtk3 weston
dpkg-query -W libgtk-3-0t64 xvfb xauth dbus-x11 ibus ibus-libpinyin ibus-hangul python3-gi gir1.2-ibus-1.0 gir1.2-gtk-3.0 libglib2.0-bin dconf-cli fcitx5 fcitx5-pinyin fcitx5-hangul fcitx5-frontend-gtk3 weston
sudo apt-get install -y --no-install-recommends libgtk-3-0t64 xvfb xauth dbus-x11 ibus ibus-libpinyin ibus-hangul python3-gi gir1.2-ibus-1.0 gir1.2-gtk-3.0 libglib2.0-bin dconf-cli fcitx5 fcitx5-pinyin fcitx5-hangul fcitx5-frontend-gtk3 weston libxtst6 at-spi2-core
dpkg-query -W libgtk-3-0t64 xvfb xauth dbus-x11 ibus ibus-libpinyin ibus-hangul python3-gi gir1.2-ibus-1.0 gir1.2-gtk-3.0 libglib2.0-bin dconf-cli fcitx5 fcitx5-pinyin fcitx5-hangul fcitx5-frontend-gtk3 weston libxtst6 at-spi2-core
- name: IBus native engine lifecycle
if: runner.os == 'Linux'
run: |
Expand All @@ -161,6 +161,16 @@ jobs:
xvfb-run -a env VIVA_FCITX_ENGINE="$engine" VIVA_FCITX_REFERENCE=1 VIVA_FCITX_GTK_REFERENCE=1 VIVA_GTK_IME_NATIVE=1 G_DEBUG=fatal-criticals VIVA_FCITX_TEST_BINARY="$RUNNER_TEMP/viva-ibus-frontend.test" VIVA_IBUS_TEST_RUN='^Test(NativeIBus(Frontend|OwnerReactivation|FactoryDeclinedShortcut|UnsupportedModeRetirement)|GTKNativeFcitx(Composition|WindowClose))$' sh internal/ibus/testdata/native-fcitx-service.sh "$backend"
done
done
- name: GTK real seat keyboard and Fcitx composition
if: runner.os == 'Linux'
run: |
for backend in x11 wayland; do
tests='^TestGTKNativeSeatKeyboardAfterContentClick$'
if [ "$backend" = wayland ]; then
tests='^Test(GTKNative(SeatKeyboardAfterContentClick|WaylandSeatHideShow|WaylandWidgetExternalFocus|WaylandAttachFailure|WaylandInputRegions)|GTKWaylandWindowAttrLP64Layout)$'
fi
xvfb-run -a -s '-screen 0 800x600x24' env VIVA_GTK_SEAT_NATIVE=1 VIVA_GTK_SEAT_REMAP=1 VIVA_GTK_NATIVE_WIDGET_FOCUS=1 VIVA_GTK_ATTACH_NATIVE=1 VIVA_GTK_REGION_NATIVE=1 VIVA_GTK_IME_NATIVE=1 VIVA_FCITX_ENGINE=pinyin G_DEBUG=fatal-criticals VIVA_FCITX_TEST_BINARY="$RUNNER_TEMP/viva-ibus-frontend.test" VIVA_IBUS_TEST_RUN="$tests" sh internal/ibus/testdata/native-fcitx-service.sh "$backend"
done
- name: Linux text callback ordering
if: runner.os == 'Linux'
run: go test -race ./internal/platform/linux -run '^TestLinuxTextCallback' -count=1 -timeout=90s
Expand Down
2 changes: 2 additions & 0 deletions cmd/viva/components_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading