Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.16.13
Name Modified Size InfoDownloads / Week
Parent folder
5.16.13_ Publication loading dialog _ file open via desktop .opub association fix source code.tar.gz 2026-11-02 40.5 MB
5.16.13_ Publication loading dialog _ file open via desktop .opub association fix source code.zip 2026-11-02 41.0 MB
README.md 2026-11-02 6.2 kB
OpenPublisher5-i386-windowsXP.exe 2026-11-02 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-11-02 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-02 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-02 233.1 MB
openpublisher5_amd64-linux.run 2026-11-02 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-02 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-02 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-02 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-02 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-02 185.5 MB
Totals: 13 Items   1.8 GB 0

πŸ“ Summary

Version 5.16.13 introduces an interactive staged Publication Loading Modal and an anti-blank canvas buffer resolving cold-boot file association opening in the desktop client:

  1. Interactive Publication Loading Modal: Added a polished modal dialog with real-time staged progress feedback when opening .opub publications, guiding users through file parsing, asset extraction, vector decoding, and canvas layout construction.
  2. NW.js Desktop Client Startup Association Fix: Resolved an issue where opening .opub files directly via Windows file associations rendered only the minimap thumbnail while leaving the canvas blank, ensuring consistent and complete document rendering on launch.
  3. Staged Execution Timing Buffer: Buffered canvas mounting to give the NW.js runtime, DOM, and layout engines time to settle before page elements are rendered.
  4. Startup Page Collision Guard: Protected core/boot.js so that addNewPage() is skipped and the dashboard is automatically closed when an associated document is loaded or loading on startup.
  5. System Synchronization & Service Worker Update: Bumped Service Worker cache to open-publisher-v5-16-13-1 and updated asset cachebusters across the application to ?v=5.16.13.

op-StagedPublicationLoadingAndDesktopLaunchFix

πŸš€ What's New in v5.16.13

πŸ“– Staged Publication Loading Modal & Progress Dialog (io/publisher-file-loader.js, style.css)

  • Visual Progress Overlay:
  • Whenever an .opub publication is opened (via desktop launch, File > Open, Drag & Drop, recent project cards, or the template picker), a glassmorphic backdrop overlay blurs the background and displays an elegant loading card.
  • Features an open book badge icon, document title display, spinning activity indicator, animated gradient progress bar, and dynamic percentage tracker.
  • Accurate Five-Stage Progress Sequence:
  • Stage 1 (20%): "Reading publication.." with document structure validation.
  • Stage 2 (40%): "Extracting images.." displaying exact counts of resolved embedded images and photo buffers.
  • Stage 3 (60%): "Decoding wordart.." resolving vector paths, typography, and WordArt objects.
  • Stage 4 (80%): "Importing assets.." assembling layout elements, guide overlays, and canvas dimensions.
  • Stage 5 (95%): "Crafting the page.." applying state and executing comprehensive canvas rendering (renderPage).
  • Final Stage (100%): Displays "Ready!" with instantaneous minimap thumbnail synchronization and clean 0.26s fade-out dismissal.
  • Dark Mode Support:
  • Automatically respects high-contrast and dark theme settings with midnight navy background styling, crisp white typography, and sky blue status accents.

πŸ–₯️ NW.js Desktop Client Direct File Open Fix & Anti-Blank Buffer (core/boot.js, io/publisher-file-loader.js)

  • Root Cause Resolution:
  • In NW.js client builds, double-clicking an associated .opub file in Windows passes the file path on application startup. Previously, the file load populated state.pages[0] (generating the sidebar thumbnail), but window.onload in core/boot.js subsequently invoked addNewPage(), overwriting or blanking the main canvas #paper.
  • In addition, synchronous rendering before the client wrapper DOM settled caused elements to fail to mount.
  • Webapp-Side Safe Implementation:
  • Implemented entirely within the webapp codebase without requiring modifications to client app wrappers or approved release packages.
  • Added startup command-line argument inspection (window.checkNwStartupArgv) and runtime file open listeners (nw.App.on('open')).
  • Stashes early startup file data into window._pendingStartupPublication if invoked before DOM elements are ready.
  • Guarded core/boot.js startup page creation: skips addNewPage() and automatically closes the dashboard when an associated file is loaded or currently progressing through the staged loader.
  • The staged loading modal creates the timing buffer for NW.js layout and canvas engines to settle before renderPage executes.

πŸ”„ Flexible Input Handling & Desktop Integration (io/publisher-file-loader.js, ui/dashboard.js)

  • Universal Input Parsing:
  • window.handlePublisherFileLoad seamlessly handles FileReader events (evt.target.result), raw JSON strings, and direct object payloads.
  • Automatically routes recent project card clicks and template opens through the staged loader.
  • Desktop Wrapper Compatibility:
  • Exposed standardized global aliases (window.loadPublisherFile, window.loadPublication, window.loadProject) for seamless integration across desktop client wrappers.

πŸ”§ System Synchronization & Version Bump (v5.16.13)

  • About Dialog (extensions/ui-interactions.js): Subtitle updated to Free Online Desktop Publishing Tool β€’ v5.16.13.
  • Service Worker Cache (sw.js): Cache identifier bumped to open-publisher-v5-16-13-1.
  • Asset Cachebusters (index.html): Updated query tags for all scripts, stylesheets, and icons to ?v=5.16.13.

βœ… Checklist Completed

  • [x] Create publication loading modal with glassmorphic backdrop and animated progress track
  • [x] Implement five staged loading messages: "Reading publication..", "Extracting images..", "Decoding wordart..", "Importing assets..", "Crafting the page.."
  • [x] Provide delay buffer allowing NW.js runtime and layout engine to settle before canvas render
  • [x] Guard core/boot.js against startup page blanking (addNewPage()) when an associated document is loaded
  • [x] Add NW.js command line file argument watcher and runtime open event listener
  • [x] Route template and recent card opens through staged loading pipeline
  • [x] Bump all codebase modules, About Dialog, Service Worker, and cachebusters to v5.16.13
  • [x] Verify startup file associations, dynamic file loading, and clean startup via Playwright test suite

πŸ“– Version 5.16.13 - Open Publisher

Source: README.md, updated 2026-11-02