Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.21.7
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher5-i386-windowsXP.exe 2026-11-16 56.5 MB
openpublisher5g_amd64-windows.exe 2026-11-16 81.1 MB
openpublisher5_amd64-windows-portable.exe 2026-11-16 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-16 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-16 233.1 MB
openpublisher5_amd64-linux.run 2026-11-16 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-16 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-16 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-16 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-16 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-16 185.5 MB
5.21.7_ Single-Step Layer Ordering (Forward _ Backward) _ Conflict-Free Z-Index Tracking source code.tar.gz 2026-11-16 123.1 MB
5.21.7_ Single-Step Layer Ordering (Forward _ Backward) _ Conflict-Free Z-Index Tracking source code.zip 2026-11-16 123.7 MB
README.md 2026-11-16 6.4 kB
Totals: 14 Items   2.0 GB 0

πŸ“‹ Summary

Version 5.21.7 introduces deterministic single-step layer ordering (Bring Forward and Send Backward) alongside an active z-index normalization manager across #paper so objects never share conflicting z-index values and every layer step moves objects cleanly one layer at a time:

  1. Active Conflict-Free Layer Manager (layout/layout.js): Automatically tracks orderable .pub-element objects on #paper, eliminates duplicate or gapped z-index values, and assigns strictly unique sequential z-index numbers (10, 11, 12, ...) in exact paint order while bumping adjacent layers cleanly during reordering.
  2. 1-Step Bring Forward & Send Backward (bringForward(), sendBackward()): Added single-layer step controls for both single and multi-selected elements alongside Bring to Front (bringFront()) and Send to Back (sendBack()).
  3. Full UI Integration: Added Forward and Backward buttons across Home, Picture, and Contextual Ribbon toolbars, Floating Toolbars, the Right-Click Context Menu, and interactive Up/Down layer step chevrons on every item inside the Selection Pane.

op-DeterministicLayerOrderingAndActiveZIndexNormalization


πŸ› οΈ Key Improvements

1. Active Layer Tracking & Sequential Z-Index Engine (layout/layout.js, core/pages.js, ui/sidebar-context.js)

  • orderSelectionLayer(mode) (front, back, forward, backward): Sorts orderable .pub-element nodes cleanly from back-most to front-most (preserving DOM tie-break order and excluding themes, borders, and master elements), performs exact 1-layer adjacent swaps or full front/back moves, and writes unique sequential z-index integers (10 + i) across all elements on the page. Supports both single and multi-element selections cleanly.
  • Active DOM Layer Tracker (attachPaperLayerObserver, normalizeCanvasLayers, getNextLayerZIndex):
  • Newly created elements via createWrapper() (ui/sidebar-context.js) receive getNextLayerZIndex() (maxZ + 1, starting at 10) immediately.
  • A MutationObserver on #paper detects new/pasted/duplicated/removed .pub-element objects, automatically resolves collisions above existing stack indices, and keeps all layers sequentially packed.
  • Wrapped renderPage() (core/pages.js) with beginPageLayerRender() / endPageLayerRender() so loaded .opub pages and templates with legacy tied or gapped z-index values normalize cleanly into conflict-free sequential layers without altering visual paint order.
  • Live Sync & History: Layer changes automatically refresh the Selection Pane, update page thumbnails, and push an Undo/Redo snapshot.

2. Arrange Ribbons, Floating Toolbars, Context Menu & Selection Pane

  • Ribbon Arrange Groups (index.html, ui/ui.js, extensions/system-patches.js): Added Forward (bringForward()) and Backward (sendBackward()) buttons alongside Front (bringFront()) and Back (sendBack()) in the Home tab, Picture tab, and ContextRibbonSystem contextual tabs (Text Box Tools, WordArt Tools, Picture Tools, Drawing Tools, and Table Design).
  • Floating Text Toolbars (index.html, extensions/legacy-fixes.js): Added Bring Forward (1 Layer) and Send Backward (1 Layer) mini action buttons next to Bring to Front and Send to Back.
  • Right-Click Context Menu (ui/menus.js): Added Bring Forward and Send Backward universal object menu items between Bring to Front and Send to Back.
  • Selection Pane Layer Steppers (ui/sidebar/selection-pane.js): Added Up (bringForward) and Down (sendBackward) chevron buttons directly on every row in the Selection Pane, automatically dimmed at the top/bottom boundaries.

πŸ”„ Version Synchronization (v5.21.7)

Component Target Version Updated Reference
Application Assets & Cache Busting v5.21.7 index.html
Service Worker & Cache Store open-publisher-v5-21-7-1 sw.js
Watermark & Print Engines v5.21.7 watermark-engine.js, print-engine.js
AI Assistant & UI Interactions v5.21.7 ai-assistant.js, ui-interactions.js
PWA Registration & Templates v5.21.7 pwa-install.js, templates.js
Dashboard, 404 Router, & Badges v5.21.7 dashboard.js, 404.html, README.md

βœ… Checklist Completed

  • [x] Implement active sequential z-index tracking and automatic adjacent-layer normalization (layout/layout.js, core/pages.js, ui/sidebar-context.js)
  • [x] Implement bringForward() and sendBackward() 1-step layer ordering alongside updated bringFront() and sendBack() (layout/layout.js)
  • [x] Add Forward / Backward controls across Home/Picture/Contextual Ribbons, Floating Toolbars, Context Menu, and Selection Pane rows (index.html, ui/ui.js, ui/menus.js, ui/sidebar/selection-pane.js, extensions/system-patches.js, extensions/legacy-fixes.js)
  • [x] Live browser E2E verified (sequential [10, 11, 12] allocation on 3 overlapping shapes, 1-step Ribbon Backward/Forward & Context Menu bumps, Front/Back jumps, Selection Pane live reordering + chevron step, Undo restore, and zero JS console errors)
  • [x] Synchronize version strings from 5.21.6 to 5.21.7 across core HTML/JS/SW files and README badges

πŸš€ Version 5.21.7 - Open Publisher

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