Sfoglia la documentazione

Desktop workflow and system widgets

Explore Origo X's native macOS and Windows window integration, global desktop shortcut (Option+Command+R / Ctrl+Alt+R), 4 iOS & Android Home/Lock Screen widgets, floating navigation bar customization, and HarmonyOS NEXT ArkUI adaptive layouts.

In questa pagina

Native Desktop Window Integration

Origo X adapts directly to each desktop operating system's windowing conventions rather than simply stretching a mobile UI:

macOS Native Window & Menu Bar

  • Transparent Full-Size Titlebar: Built with fullSizeContentView and a transparent titlebar so page backgrounds extend cleanly to the top edge of the window while keeping native traffic-light buttons, dragging, double-click zoom, and full-screen inset adjustments.
  • Glass Sidebar Vibrancy: When glass styling is enabled in Appearance, the adaptive sidebar activates native macOS NSVisualEffectView (.sidebar) vibrancy, letting subtle desktop depth show through behind navigation destinations.
  • Native Menu Bar & Appearance Sync: Menu labels automatically update with your in-app language, supporting ⌘, for Settings, ⌘W to close, Full Screen, Edit, and Help. The titlebar background and foreground colors stay synced with the active page or reader paper theme, while standard subpages use lightweight in-place fade transitions (200ms enter / 160ms exit) to avoid heavy glass redraws.

Windows Custom DWM Titlebar & Snap Layouts

  • Custom DWM Integration: Uses WM_NCCALCSIZE to remove the redundant system title strip while keeping standard WS_OVERLAPPEDWINDOW resize borders, HTCAPTION window dragging, double-click maximize, and the Alt+Space system menu.
  • Windows 11 Snap Layouts: Custom 46×32 minimize, maximize/restore, and close (#C42B1C hover) buttons automatically match the current page or reader paper foreground color. Hovering over the maximize button triggers native Windows 11 Snap Layouts, and Windows 11 DWM titlebar/border colors follow your theme. Portable builds store bounds locally in window-bounds.bin.

Shared Desktop Ergonomics

  • Close while reading returns to bookshelf: Clicking the close button (or pressing ⌘W) while inside a book exits back to the bookshelf first instead of abruptly terminating the app.
  • 3-second tooltip delay: Icon-only buttons on Windows, macOS, and Linux wait 3 seconds before appearing on hover so moving your cursor over the reader never triggers distracting popups.

Global Desktop Shortcut

Summon or tuck away your reading window from any app—perfect when switching between browsers, notes, or code editors.

  • Where to configure: Settings -> Preferences -> General -> Keyboard shortcuts (visible on native macOS, Windows, and Linux builds only).
  • Default shortcut:
    • macOS: Option+Command+R
    • Windows / Linux: Ctrl+Alt+R
  • How it works: While Origo X is running, pressing the shortcut hides the main window if it is in the foreground, or restores, unminimizes, and focuses it if hidden or behind other apps. Hiding preserves your exact open book, route, and reading position.
  • Recording, Resetting, or Disabling:
    1. Click the active shortcut pill to open the key recorder (existing global registration is temporarily released while recording so you don't accidentally hide the settings window).
    2. Press a letter or number combined with Control, Alt / Option, or Command / Windows / Super (optionally adding Shift; standalone typing keys or modifier-only combinations are rejected). Press Esc to cancel.
    3. Use Reset to default or Disable shortcut at any time.

Linux Wayland Note: On Linux, global shortcuts run via hotkey_manager (GTK3 / X11 / Xi / Wayland). Under Wayland, global shortcut registration requires your desktop environment's GlobalShortcuts Portal, and permission prompts or final key bindings are controlled by the compositor. If a shortcut is already taken or rejected by the desktop, Origo X displays a clear error so you can choose another combination.


iOS & Android Home and Lock Screen Widgets

On mobile devices, Origo X provides 4 native widgets (powered by WidgetKit on iOS and AppWidget on Android). All widgets render strictly from a local-only JSON snapshot flushed whenever you background the app—never making background network calls—with midnight rollover checks (resetting today's minutes cleanly at 00:00) and editorial spine-color fallback covers. Tapping any widget launches directly into the matching book, Home Dashboard, or Reading Statistics via deep links (xxread://widget/...).

Widget Supported Sizes & Placement Content & Tap Action
Continue Reading iOS: Small, Medium; Android: 2×2, 4×2 adaptive Displays your latest book's cover, title, author (wide), progress bar & percentage, and today's reading minutes; tap to resume that book
Recent Bookshelf iOS: Medium; Android: 4×2 Displays up to 3 recent books side-by-side with covers, titles, and progress; tap to open Home
Today's Reading iOS: Small, Medium + iOS Lock Screen circular & rectangular; Android: 2×2 goal ring / 4×2 stats + 7-day bars Shows today's minutes against your daily goal, streak days, and 7-day rhythm bars; tap to open Reading Statistics
Daily Quote iOS: Medium; Android: 4×2 Highlights a saved quote from your reading notes with book title and chapter; tap to return to that book

Floating Navigation Bar & Wide-Screen Adaptive Sidebar

Tailor navigation across both one-handed phone sessions and wide tablet/desktop workspaces:

Customizing the Floating Navigation Bar

Open Mine -> Appearance -> Floating navigation bar for a live preview and full control over:

  • Size: Switch between Automatic and Custom height and horizontal margin sliders (these dimensions and label preferences automatically sync with the bottom pill tab bar inside Detailed Reading Stats).
  • Display Style: Choose Icons only or Icons and labels.
  • Wide-Screen Position (Classic Layout): Dock the vertical floating pill on either the Left or Right edge of wide screens.
  • Destination Order & Visibility (Default Startup Page): Drag to reorder Home, Bookshelf, Discover, Mine, and Search, and toggle visibility (Mine cannot be hidden so Settings always remains reachable). Whichever visible destination sits first in the list automatically becomes your Default Startup Page on cold launch. Selecting Search launches the dedicated full-screen search view directly.

Wide-Screen Adaptive Sidebar & AI Floating Bubble

Under Mine -> Appearance -> Fonts & Layout -> Navigation layout, wide-screen tablets and desktops default to the Adaptive Sidebar:

  • Toggle smoothly between 72 dp (collapsed icon rail) and 220 dp (expanded icon + label sidebar) with persisted state, or switch back to Classic Layout (vertical floating capsule) at any time.
  • AI Floating Bubble: When enabled, the draggable AI bubble snaps neatly to content edges (respecting sidebar margins on wide screens) and automatically steps aside during bookshelf multi-select, keyboard entry, or book-opening transitions.

HarmonyOS NEXT Native ArkUI Layout

The HarmonyOS NEXT edition is built natively in ArkUI (compatible with API 21+, targeting API 26):

  • Unified Compact Header & Immersive Tabs: Features a consistent 56 vp compact top bar with safe-area padding, native backdrop blur and centered immersive bottom tabs on API 26+, and 80 vp bottom clearance across pages.
  • Responsive Multi-Device Grids: Uses a 3-column bookshelf (12 vp gap) on phones and scales dynamically at 600 vp+ widths (20 vp gap, up to 1280 vp max width—for example 4 columns portrait and 7 columns landscape on 2560×1600 tablets), alongside comfortable reading widths (880 vp Discovery, 960 vp Stats, and 720 vp Settings, Book Details, and Reader body).

Hai trovato un problema in questa guida? Suggerisci una correzione