Repository navigation
HuxerUI v0.5.0
HuxerUI v0.5.0
HuxerUI v0.5.0 adds watch mode, customizable docking across desktop windows, and multi-window support on iOS and iPadOS. It also introduces system tasks, multi-format clipboard items, and bitmap editing and export.
Developer tools
- Watch mode. Run
huxerui run <platform> --watchto rebuild on save and relaunch the app or refresh the browser. Failed builds leave the current session running. Successful reloads start a fresh session. Compatible Android Debug builds can update the application library and resources after the first install without reinstalling the APK. CLI guide - Toolchain setup. Use
huxerui doctorto find missing prerequisites andhuxerui setupto install supported dependencies. Checks can be scoped to building, running, packaging, or device discovery. Installation guide - Profiling and layout guides. Use
--profilewith a source checkout to record per-window traces with component instance and source information, then export them to Perfetto. The DEBUG panel can also show layout bounds, spacing, and clipping. Profiling is off by default and excluded from prebuilt SDKs. Development guide - Linux packages. Build DEB or RPM packages with
huxerui package linux -f debor-f rpm. AppImage remains the default. Packaging guide
UI and windows
- Layout and docking. Use
LayoutPriorityto control howRowandColumnchildren share limited space. Custom layouts can read the same priority.DockLayoutsupports custom tab bars and panel transfers between open windows on Windows, macOS, and Linux. On Windows, dropping a tab outside the application can request a new window. Layout guide - Window integration. iOS and iPadOS apps can opt into multiple UIKit scenes and open windows with
OpenWindowAsync(). Applications can retrieve platform window objects for integrations such as parenting system dialogs. Desktop floating windows support transparency, pointer pass-through, always-on-top placement, and non-activating behavior where available. Linux can now embed GTK widgets throughPlatformView. Window guide · Platform guide
Application APIs
- Clipboard and editors. A single
ClipboardItemcan carry plain text, HTML, an encoded image, and custom MIME data where supported. Custom editors can handle copy, cut, and paste through the same callbacks for keyboard shortcuts and touch selection menus. Clipboard guide - Files, streams, and resources. Remember and restore access to selected files and directories on supported Android, Apple, and Web providers. Create synchronous or asynchronous streams from callbacks with
FromReader()andFromWriter(). Open independent resource packages withResources::OpenPackage(). File guide · Resources - Bitmaps. Decode images to RGBA8, crop and resize them, draw them directly, or encode them as PNG or JPEG.
ExternalTexture::SnapshotAsync()captures the latest frame for processing or export. Bitmap example - System tasks. Declare
BackgroundTask,ContinuedTask, orOngoingTaskfor scheduled maintenance, finite user-initiated work, and ongoing activity. Applications can observe progress and request cancellation. Background execution and process launch depend on platform capabilities. System Tasks guide
Fixes
- Windows draws color emoji in fully opaque text and resolves automatic paragraph direction more accurately. Positioned text runs reject Unicode mandatory line breaks.
Pagersettles on the controlled page when dragging is disabled. macOS avoids a deadlock during application quit. Packaging avoids false conflicts when collecting runtime libraries.- Fixed delayed delivery of short streaming HTTP responses on Windows and a WebAssembly type error when sending HTTP request bodies.
Upgrading from v0.4.0
- Replace
--profile debug|releasewith--config debug|releaseforbuild,run, andpackage.--profilenow enables profiling for source builds. - Replace
ClipboardContentandWriteContent[Async]()withClipboardItemandWriteItem[Async](), or useWriteFiles()for file lists. ReplaceReadRichTextAsync()withReadItemAsync()andToAttributedText(). ReplaceIsAvailable()withSupportsSynchronousText(). - Pass a
FiletoImageAsset::FromFile(). - Add
UIApplicationSceneManifestto existing iOS app shells, including single-window apps. SetUIApplicationSupportsMultipleScenestotrueto opt into multiple windows. iOS migration guidance