Skip to content

Pretty v0.2.1

Choose a tag to compare

@mappingAu mappingAu released this 14 Nov 15:19
· 10 commits to main since this release

Pretty v0.2.1

Hardware-accelerated, kitty-compatible terminal emulator. This is a stable
release
, not a pre-release. It fixes the three regressions reported after
v0.2.0 and does not add features.

Tag: v0.2.1 → the release commit on main.
Native CI run: 43607462499
(Linux, Windows MSVC/DX12 and macOS arm64/Metal jobs all succeeded).

Fixes

1. Normal close is no longer a crash

Every normal close of the 0.2.0 Wayland window produced a SIGSEGV in the
smithay-clipboard worker (wl_proxy_destroy), so KDE filed a crash report.
PrettyApp destroyed the window before egui_state; the clipboard worker
shares winit's wl_display and cleaned up after its proxies were gone. The
clipboard integration is now explicitly dropped while the display/window are
still alive. Three launch/close cycles exit 0 with no new coredumpctl entry;
the X11/GLES path is smoke-tested too.

2. Title bar lines, corners, icon and title

  • The tab bar and Settings button now form one chrome row on the terminal's
    main frame: same top and bottom line, the terminal's right margin, and a
    margin-sized gap. The tab-bar frame is exactly the configured height instead
    of overlapping the pane border by 3 points.
  • Every chrome box (tab-bar frame, tab buttons, +, Find, Settings) uses the
    Settings button's 6-point corner radius.
  • Wayland now sets an explicit app_id (pretty, or FLATPAK_ID /
    PRETTY_APP_ID) so KWin matches pretty.desktop and shows Pretty's icon.
    X11/Windows also get the embedded icon bitmap.
  • The initial pane/window title is the shell/program name: the tab reads
    1: bash, the window bash — Pretty (never Pretty — Pretty).

Before/after evidence:

Before: duplicated title, generic Wayland icon, square tab bar
After: bash — Pretty, Pretty icon, one aligned chrome row

Full measurements: docs/TEST-REPORT-V0.2.1.md.

3. Fullscreen title-bar flicker

The title bar is drawn inside the window, and the idle window was presenting
frames at compositor rate: resending the unchanged IME cursor rectangle every
frame made KWin/Fcitx emit an empty preedit event, which requested another
redraw. The 60 fps present/IME feedback loop is what produced the white/black
flash above the Find button in fullscreen. The IME cursor rectangle is now
cached; idle redraw is the configured cursor-blink cadence.

Measured before/after (same host, debug logging):

  • before: 492 frames, avg 16.67 ms per 10 s; 1,365 empty preedit events in 13 s;
  • after: 24 frames, avg 437.12 ms per 10 s; two startup preedit events only.

The flash is intermittent and was verified through frame-pacing logs and
compositor captures rather than a screen recorder; details and caveats are in
the test report.

Verification

cargo test --workspace   # 44 app + 61 core unit + 9 audit + 2 PTY (+1 ignored)
                         # + 4 QA + 15 renderer tests, exit 0

GUI checks on the Fedora 45 / KDE Plasma 6.8.2 / NVIDIA 580 host:

  • native Wayland fullscreen and windowed: chrome measured at scale 1.0 and 1.25;
  • close via CloseRequested: exit 0, no new core dump (three cycles);
  • X11/GLES: launch and clean close (exit 0).

Assets

Asset Origin
pretty-0.2.1-linux-x86_64.tar.gz local release build, relocatable tree with install.sh, terminfo, desktop/icon/man and docs
pretty-terminal_0.2.1_amd64.deb local release build
pretty-terminal-0.2.1-1.fc44.x86_64.rpm local release build
pretty-0.2.1-windows-x86_64.zip native CI (windows-latest, DX12)
pretty-0.2.1-macos-arm64.app.tar.gz native CI (macos-latest, Metal app bundle)
pretty-0.2.1-macos-arm64.tar.gz native CI (macOS CLI tarball)
pretty-0.2.1-source.tar.gz git archive of the tagged tree
print-info-*.txt backend/GPU diagnostics from the release build and CI
SHA256SUMS checksums for every asset above

Linux packages and the source archive are built from the tagged tree. Windows
and macOS assets are built natively by GitHub Actions from the same tag; they
are compile/unit/package-tested but not GUI-launched on physical hardware.

Upgrade

# Fedora / RHEL
sudo dnf upgrade ./pretty-terminal-0.2.1-1.fc44.x86_64.rpm

# Debian / Ubuntu
sudo apt install ./pretty-terminal_0.2.1_amd64.deb

# relocatable tarball
tar -xzf pretty-0.2.1-linux-x86_64.tar.gz
cd pretty-0.2.1-linux-x86_64 && ./install.sh

Known limitations

See docs/KNOWN-ISSUES.md.
Windows/macOS GUI runtime is not tested on physical hardware; native Wayland
fractional scaling and mixed-DPI multi-monitor remain limited test areas. The
intermittent fullscreen flash is validated by frame-pacing measurements rather
than a hardware screen recording.