Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 4.20.2
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher_setup.exe 2026-09-12 69.3 MB
OpenPublisher.deb 2026-09-12 96.8 MB
OpenPublisher.AppImage 2026-09-12 125.8 MB
OpenPublisher_Portable.exe 2026-09-12 74.8 MB
OpenPublisher.dmg 2026-09-12 108.1 MB
OpenPublisher.rpm 2026-09-12 128.2 MB
4.20.2_ The Margin Guide Stacking Context _ Dropdown Layering Fix source code.tar.gz 2026-09-12 21.4 MB
4.20.2_ The Margin Guide Stacking Context _ Dropdown Layering Fix source code.zip 2026-09-12 21.7 MB
README.md 2026-09-12 3.1 kB
Totals: 9 Items   646.2 MB 0

🚀 Summary

Version 4.20.2 resolves a visual layering regression introduced with the crisp margin guide overhaul in v4.20.0. When opening the Font Family picker (or other custom dropdown menus from the ribbon), the dotted page margin guide lines were visibly rendering straight through the dropdown list.

This update recalibrates the viewport stacking contexts across the UI chrome and canvas layers: the device-pixel margin guide overlay is re-indexed to sit immediately above paper elements but safely beneath UI chrome, and all dropdown containers are elevated to an authoritative stacking priority (z-index: 999999).


🛠️ Enhancements & Fixes

1. Root Cause: Stacking Context Collision

In v4.20.0, the margin guides were migrated to #margin-guide-overlay, a position: fixed direct child of <body> to bypass Chromium GPU downsampling during canvas zoom transforms. However, it was assigned an arbitrary z-index: 9999.

Meanwhile, .custom-dropdown (used by the ribbon's font picker) was configured in style.css with z-index: 6000. Because the ribbon font dropdown opens downwards into the workspace and intersects the viewport area, the higher-indexed margin overlay (9999 > 6000) caused the dotted teal margin lines to bleed across the open dropdown menu options.


2. Recalibrated Layer Architecture

  • Margin Guide Overlay (#margin-guide-overlay): Scaled from z-index: 9999 down to z-index: 1001 in both canvas/canvas.js and style.css. This aligns with the canonical 1001 stacking level of canvas guides, ensuring the margin rectangle floats cleanly above user elements on the page (default z-index: 10), but remains strictly subordinate to all navigation, toolbars, and dropdowns.
  • Custom Dropdown Elevation (.custom-dropdown): Elevated base .custom-dropdown and theme overrides from z-index: 6000 to z-index: 999999 !important in style.css, matching the high-priority index of .dropdown-menu.
  • Inline Ribbon Dropdown Alignment: Explicitly stamped menu.style.zIndex = '999999' in ui/sidebar-context.js (toggleCustomDropdown), matching the contextual ribbon handler and preventing any rogue inline styles from downgrading the dropdown layer.

✅ Checklist Completed

  • [x] canvas/canvas.js: Updated initMarginGuideOverlay to initialize #margin-guide-overlay at z-index: 1001.
  • [x] style.css: Added explicit #margin-guide-overlay { z-index: 1001 !important; } rule; elevated base .custom-dropdown and override blocks to z-index: 999999 !important.
  • [x] ui/sidebar-context.js: Explicitly set menu.style.zIndex = '999999' in toggleCustomDropdown('ribbon').
  • [x] index.html: Synchronized all 74 asset cachebusters to ?v=4.20.2.
  • [x] elements/templates/templates.js: Synchronized template runtime fetch query parameters to ?v=4.20.2.

v420 Version 4.20.2 - Open Publisher

Source: README.md, updated 2026-09-12