Skip to content

🔖 release v0.5.3 - #36

Merged
BitYoungjae merged 2 commits into
mainfrom
develop
Aug 16, 2026
Merged

BitYoungjae merged 2 commits into
mainfrom
develop

Conversation

@BitYoungjae

Copy link
Copy Markdown
Owner

Summary

  • Promotes develop to main for the v0.5.3 patch release.

Changes

  • Core code paths changed:
    • src/app/hypr.rs — dual-dialect hyprctl dispatch support so preview/editor windows float and pin again on Hyprland 0.56 (Omarchy 4)
  • Files/docs updated:
    • Cargo.toml / Cargo.lock — version 0.5.3, ocr-rs bumped to the GCC 16 MNN build fix

Included PRs: #34, #35 (and #17, merged after the v0.5.2 tag).

Test Plan

  • cargo check
  • cargo test — 233 unit tests
  • cargo fmt --check
  • Manual verification: preview window verified floating=True pinned=True with restored geometry on Hyprland 0.56.2 / Omarchy 4.0.0

Known non-blocking red checks, both pre-existing on main and unrelated to these changes:

  • cargo-audit — advisory warnings in transitive deps (imageproc, rand unsound; core2 yanked), failing on scheduled runs since July.
  • lint (continue-on-error: true) — clippy 1.97 flags collapsible_match in src/editor/tools/mod.rs, untouched by this release.

https://claude.ai/code/session_01B7PA6MLMsm99vB2bZcfzJw

* 🐛 support Hyprland Lua dispatch for preview window control

Hyprland 0.56 (shipped with Omarchy 4) evaluates `hyprctl dispatch` arguments as
Lua, so the legacy `setfloating address:0x...` form fails to parse with exit 7.
Every window dispatch ChalKak issues — float, pin, setprop, resizewindowpixel,
movewindowpixel — silently failed, leaving the preview window tiled, unpinned and
without its restored geometry.

Render each dispatch in both dialects, try legacy first (a Lua-mode hyprctl
rejects it with a non-zero exit, while older hyprctl can accept an unknown
dispatcher with exit 0), and cache whichever dialect the compositor accepted.
Boolean props are sent as "on"/"off" in the Lua dialect too, because
hl.window.set_prop rejects a Lua boolean with "'value' is required".

Pin retries now log at debug instead of emitting one warning per attempt.

Claude-Session: https://claude.ai/code/session_01B7PA6MLMsm99vB2bZcfzJw

* ⬆️ bump ocr-rs to the GCC 16 MNN build fix

MNN adds -D__STRICT_ANSI__ on Linux and libstdc++ 16 then specializes
numeric_limits<__int128> twice, so `cargo build` failed on GCC 16 with
"redefinition of 'struct std::numeric_limits<__int128>'".

Picks up BitYoungjae/rust-paddle-ocr#1, which probes the toolchain and passes
-U__GLIBCXX_TYPE_INT_N_0 to the MNN cmake build only when it is affected.

Claude-Session: https://claude.ai/code/session_01B7PA6MLMsm99vB2bZcfzJw
Patch release: restores floating/pinned preview windows on Hyprland 0.56
(Omarchy 4) and unblocks builds on GCC 16 toolchains.

Claude-Session: https://claude.ai/code/session_01B7PA6MLMsm99vB2bZcfzJw
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@BitYoungjae
BitYoungjae merged commit cafb45b into main Aug 16, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant