| Name | Modified | Size | Downloads / 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 fromz-index: 9999down toz-index: 1001in bothcanvas/canvas.jsandstyle.css. This aligns with the canonical1001stacking level of canvas guides, ensuring the margin rectangle floats cleanly above user elements on the page (defaultz-index: 10), but remains strictly subordinate to all navigation, toolbars, and dropdowns. - Custom Dropdown Elevation (
.custom-dropdown): Elevated base.custom-dropdownand theme overrides fromz-index: 6000toz-index: 999999 !importantinstyle.css, matching the high-priority index of.dropdown-menu. - Inline Ribbon Dropdown Alignment: Explicitly stamped
menu.style.zIndex = '999999'inui/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: UpdatedinitMarginGuideOverlayto initialize#margin-guide-overlayatz-index: 1001. - [x]
style.css: Added explicit#margin-guide-overlay { z-index: 1001 !important; }rule; elevated base.custom-dropdownand override blocks toz-index: 999999 !important. - [x]
ui/sidebar-context.js: Explicitly setmenu.style.zIndex = '999999'intoggleCustomDropdown('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.
Version 4.20.2 - Open Publisher