| Name | Modified | Size | Downloads / 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:
- The Child
<img>Layer exclusively manages the clipping contour viaclip-path: inset(0 round [radius])andborder-radius: [radius], turning pixels outside the curve transparent. - The Parent
.element-contentWrapper maintainsoverflow: visible,border-radius: [radius], and has itsclipPathcleared. Itsfilter: 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])andborder-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-contentWrapper: clipPathandwebkitClipPathare explicitly cleared ('').overflowis 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-contentis 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-elementContainer: overflowis 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.clipPathandimg.style.borderRadius, but leavescontent.style.clipPath = ''and setscontent.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 bothimgandcontent. - Context Menu Flyout Fallbacks (
ui/menus.js): - Updated inline fallback handlers for 8px, 16px, 24px, and 32px to clear
c.style.clipPathand enforcec.style.overflow = 'visible'andstate.selectedEl.style.overflow = 'visible'. - Picture Tools Ribbon Actions (
ui/ui.js): ContextRibbonActions.addDropShadow(): Automatically clears any residualclipPathoninner(.element-content) for images, strips any legacy drop-shadow onimg, and setsoverflow: visibleon both container layers.ContextRibbonActions.addGlow(): Clearsinner.style.clipPathfor images and setsoverflow: 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 anyinner.style.clipPathon image elements and enforcesoverflow: 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.overflowandcontentDiv.style.overfloware kept'visible'rather than defaulting to'hidden'. - Re-applying rounded corners after crop mode exit clears
contentDiv.style.clipPathand keepsoverflow: 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.overflowremains'visible'andcontent.style.clipPathis 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 bothimgand.element-content. Becauseimghasclip-path, puttingdrop-shadowonimgclipped its own filter. - In
core/pages.js:drop-shadowfilters are stripped fromimgFilterand assigned exclusively to the.element-contentwrapper (css).- When
effectiveRadiusis detected,cEl.style.clipPathis cleared andcEl.style.overflowis set to'visible'. - If a drop shadow is present on any restored element,
el.style.overflowandcEl.style.overfloware set to'visible', andcEl.style.clipPathis cleared for images.
- Reopening saved
.opubdocuments 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 viarenderPage()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: visibleand unclipped drop shadows on rounded images. - [x] Print Engine & Canvas Export Parity: Verified that
print-engine.jsand 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-2and 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.
π Version 5.10.2: Open Publisher