Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.10.2
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher5-i386-windowsXP.exe 2026-10-18 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-10-18 183.2 MB
openpublisher5_amd64-windows.exe 2026-10-18 165.2 MB
openpublisher5_amd64-macos.dmg 2026-10-18 233.1 MB
5.10.2_ Editor Shadow _ Glow Fidelity on Rounded Corner Images source code.tar.gz 2026-10-18 23.4 MB
5.10.2_ Editor Shadow _ Glow Fidelity on Rounded Corner Images source code.zip 2026-10-18 23.6 MB
README.md 2026-10-18 11.4 kB
openpublisher5_amd64-linux.run 2026-10-18 193.4 MB
openpublisher5_amd64-linux.rpm 2026-10-18 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-10-18 153.6 MB
openpublisher5_amd64-linux.deb 2026-10-18 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-10-18 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-10-18 185.5 MB
Totals: 13 Items   1.8 GB 0

πŸš€ Summary

Version 5.10.2 resolves a critical visual synchronization defect between the live editor view and physical print output in OpenPublisher: Drop shadows and glow effects applied to images with rounded corners were invisible in the editor canvas, even though they printed and exported correctly in print preview and PDF/image outputs.

Under CSS Masking Module Level 1, applying clip-path (such as inset(0 round [radius])) directly onto a container element clips all visual content of that element, including its own CSS filter: drop-shadow(...). When users applied "Rounded Corners" (8px, 16px, 24px, 32px) from the context menu or format dialog, the clipping path and overflow: hidden were assigned to the .element-content wrapper. When a shadow or glow was subsequently added, the drop shadow filter was clipped off at the 0px element boundary and rendered completely invisible on screen.

OpenPublisher v5.10.2 introduces a clean Dual-Layer DOM Architecture for image elements:

  1. The Child <img> Layer exclusively manages the clipping contour via clip-path: inset(0 round [radius]) and border-radius: [radius], turning pixels outside the curve transparent.
  2. The Parent .element-content Wrapper maintains overflow: visible, border-radius: [radius], and has its clipPath cleared. Its filter: drop-shadow(...) generates a halo based on the alpha channel of the child <img>, causing the shadow or glow to curve naturally around the rounded corners and project outward into the workspace without clipping.

All corresponding interaction pathways (context menus, Picture Tools ribbon buttons, Shadow sidebar sliders, crop mode exits, and document deserialization on page load) have been unified. Asset cachebusters across all 84 resource tags in index.html have been bumped to ?v=5.10.2, and the Service Worker cache has been upgraded to open-publisher-v5-10-2.


🎨 Improvements & Architecture Fixes

1. Dual-Layer DOM Image Architecture

  • Child <img> Layer Isolation:
  • clip-path: inset(0 round [radius]) and border-radius: [radius] are assigned directly to the <img> tag.
  • The image bitmap is accurately clipped to the requested curve (8px, 16px, 24px, 32px, or custom px), leaving the exterior corner areas fully transparent.
  • Parent .element-content Wrapper:
  • clipPath and webkitClipPath are explicitly cleared ('').
  • overflow is set to 'visible'.
  • When filter: drop-shadow(...) or a glow effect is applied to .element-content, the browser's CSS filter engine traces the alpha mask of the child <img> (the rounded curve), rendering a soft, accurate drop shadow or luminous glow that hugs the rounded corner geometry.
  • Because .element-content is unclipped and set to visible overflow, the shadow spreads outward into the document paper and workspace with 100% visual fidelity in the live editor view.
  • Outer .pub-element Container:
  • overflow is preserved as 'visible' whenever a shadow or glow filter is present, preventing any outer bounding box clipping.

2. Context Menu & Ribbon Action Synchronization

  • ContextMenuActions.setRoundedCorners(radius) (ui/ui.js):
  • Applying rounded corners (8px, 16px, 24px, 32px) updates img.style.clipPath and img.style.borderRadius, but leaves content.style.clipPath = '' and sets content.style.overflow = 'visible'.
  • Pre-existing drop shadows or glows remain visible immediately without needing to toggle or re-apply the filter.
  • Setting radius to 'none' clears attributes and styles on both img and content.
  • Context Menu Flyout Fallbacks (ui/menus.js):
  • Updated inline fallback handlers for 8px, 16px, 24px, and 32px to clear c.style.clipPath and enforce c.style.overflow = 'visible' and state.selectedEl.style.overflow = 'visible'.
  • Picture Tools Ribbon Actions (ui/ui.js):
  • ContextRibbonActions.addDropShadow(): Automatically clears any residual clipPath on inner (.element-content) for images, strips any legacy drop-shadow on img, and sets overflow: visible on both container layers.
  • ContextRibbonActions.addGlow(): Clears inner.style.clipPath for images and sets overflow: visible, allowing the cyan glow halo to radiate outward around the rounded corners.
  • applyCropShape(): Preserves unclipped drop shadows and glows when applying shape crops to images.

3. Shadow / Glow Sidebar Sliders (ui/sidebar/shadow-pane.js)

  • Real-Time Slider Updates:
  • Moving the X Offset, Y Offset, Blur Radius, or Transparency sliders, or choosing a new shadow color via the custom color picker (updateShadowFromSliders()) dynamically clears any inner.style.clipPath on image elements and enforces overflow: visible.
  • Custom colored shadows (e.g. magenta, gold, deep navy) render smoothly around rounded images as sliders are dragged.

4. Crop Mode Transitions (elements/image/image.js)

  • toggleCrop() Exit Handling:
  • When exiting crop mode, OpenPublisher checks whether a shadow or glow filter is active on the element (hasShadow).
  • If a shadow is present, el.style.overflow and contentDiv.style.overflow are kept 'visible' rather than defaulting to 'hidden'.
  • Re-applying rounded corners after crop mode exit clears contentDiv.style.clipPath and keeps overflow: visible, ensuring shadows survive crop toggles without disappearing.

5. Format Picture & Shape Sliders (elements/shape/shape.js)

  • Picture Format Rounded Corners Slider:
  • Updated the real-time corner radius slider in the Format Picture / Format Shape panel.
  • For image elements (currentImg), content.style.overflow remains 'visible' and content.style.clipPath is cleared, preventing the slider from hiding active shadows.

6. Document Persistence & Deserialization (core/pages.js)

  • renderPage() Deserialization Engine:
  • Fixed a legacy serialization quirk where filter: drop-shadow(...) was previously restored onto both img and .element-content. Because img has clip-path, putting drop-shadow on img clipped its own filter.
  • In core/pages.js:
    • drop-shadow filters are stripped from imgFilter and assigned exclusively to the .element-content wrapper (css).
    • When effectiveRadius is detected, cEl.style.clipPath is cleared and cEl.style.overflow is set to 'visible'.
    • If a drop shadow is present on any restored element, el.style.overflow and cEl.style.overflow are set to 'visible', and cEl.style.clipPath is cleared for images.
  • Reopening saved .opub documents or switching pages in multi-page projects faithfully preserves and displays shadows on rounded corner images in the editor canvas.

πŸ“ Files Modified in 5.10.2

File Changes
ui/ui.js Updated setRoundedCorners to clear content.style.clipPath and set overflow: visible; updated addDropShadow and addGlow to clear inner.style.clipPath on images and guarantee overflow: visible; updated applyCropShape to protect active shadows.
ui/menus.js Updated context menu flyout fallback inline scripts for 8px, 16px, 24px, and 32px rounded corners to clear c.style.clipPath and ensure visible overflow; bumped header comment to (v5.10.2).
ui/sidebar/shadow-pane.js In updateShadowFromSliders, added automatic clearing of inner.style.clipPath and enforced overflow = 'visible' on state.selectedEl and inner during real-time slider manipulation.
core/pages.js In renderPage(), decoupled drop-shadow filters from img.style and routed them to .element-content; cleared cEl.style.clipPath and set overflow: visible when restoring rounded images and elements with drop-shadow; scoped finalFilter to element setup block.
elements/image/image.js In toggleCrop(), ensured exiting crop mode maintains overflow: visible and clears contentDiv.style.clipPath when rounded corners and drop shadows are active.
elements/shape/shape.js Updated rounded corners slider logic in Format Shape / Picture panel to keep content.style.overflow = 'visible' and clear clipPath on images.
index.html Bumped all 84 asset cachebuster query strings from ?v=5.10.1 to ?v=5.10.2.
sw.js Bumped service worker cache name to open-publisher-v5-10-2 and header comment to (v5.10.2).
core/boot.js Bumped header comment to (v5.10.2).
core/core.js Bumped header comment to (v5.10.2).
elements/text/text.js Bumped header comment and Styled Text Box System header comment to (v5.10.2).
extensions/legacy-fixes.js Bumped header comment to (v5.10.2).
extensions/print-engine.js Bumped header comment to (v5.10.2).
extensions/pwa-install.js Bumped header comment to (v5.10.2).
extensions/ui-interactions.js Bumped header comment and tracking log to (v5.10.2).
style.css Bumped Format Properties Modal and Styled Text Box System section headers to (v5.10.2).
tools/proofing/dictionary.js Bumped header comment and console startup log to (v5.10.2).
tools/proofing/spellcheck-engine.js Bumped header comment to (v5.10.2).
ui/modals/card-sheet-modal.js Bumped header comment to (v5.10.2).
ui/modals/options-modal.js Bumped header comment to (v5.10.2).
ui/sidebar-context.js Bumped header comment to (v5.10.2).

βœ… Verification Checklist

  • [x] Image + Rounded Corners + Glow in Editor: Verified that applying rounded corners 32px followed by Glow renders a brilliant cyan halo radiating outside the rounded image contour in the editor canvas (verified pixel color (208, 243, 255) at 6px outside edge).
  • [x] Image + Drop Shadow + Rounded Corners in Editor: Verified that applying Drop Shadow first and then rounding corners to 24px keeps the dark shadow visible along the bottom and right edges ((202, 202, 202)).
  • [x] Shadow Sidebar Slider Responsiveness: Verified that adjusting blur, offsets, alpha, and color in the Shadow Sidebar updates the shadow on rounded images in real time without clipping (verified magenta shadow at (240, 222, 240)).
  • [x] Document Serialization & Deserialization Parity: Verified that serializing the page via serializeCurrentPage() and re-rendering via renderPage() preserves full shadow and glow visibility around rounded images ((208, 243, 255)).
  • [x] Crop Mode Compatibility: Verified that toggling crop mode and exiting preserves overflow: visible and unclipped drop shadows on rounded images.
  • [x] Print Engine & Canvas Export Parity: Verified that print-engine.js and canvas export continue to render rounded images with shadows and glows with 100% visual fidelity.
  • [x] Cache Invalidation: Service worker cache updated to open-publisher-v5-10-2 and all 84 asset cachebusters updated to ?v=5.10.2.
  • [x] Zero Console Errors: Automated test execution in headless Chromium completed with 0 runtime errors.

image


πŸŽ‰ Version 5.10.2: Open Publisher

Source: README.md, updated 2026-10-18