| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 5.17.1_ Text Box Margin _ Inset Drag Handles, Real-Time Edge Alignment, Centering _ Print Polish source code.tar.gz | 2026-11-02 | 40.6 MB | |
| 5.17.1_ Text Box Margin _ Inset Drag Handles, Real-Time Edge Alignment, Centering _ Print Polish source code.zip | 2026-11-02 | 41.0 MB | |
| README.md | 2026-11-02 | 9.4 kB | |
| OpenPublisher5-i386-windowsXP.exe | 2026-11-02 | 56.5 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-11-02 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-11-02 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-11-02 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-11-02 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-11-02 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-11-02 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-11-02 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-11-02 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-11-02 | 185.5 MB | |
| Totals: 13 Items | 1.8 GB | 0 | |
π Summary
Version 5.17.1 introduces interactive Text Box Margin & Inset Drag Handles across Open Publisher, giving creators direct visual control over text padding, edge distance, and alignment inside standard text boxes and styled text boxes:
- Discrete Text Margin Drag Handles: Adds four sleek, discrete drag handles positioned along the inner text margins (top, bottom, left, and right) to adjust text insets without interfering with the eight outer resize handles.
- Interactive Text Edge Repositioning: Enables dragging the top, bottom, left, or right margin handles in real time to shift text higher, lower, or further inward/outward with live text repositioning.
- Double-Click Auto-Centering: Double-clicking either vertical margin handle automatically measures the exact line height of the text and applies symmetrical padding to center the text vertically in the box.
- Smart Center Snap Detection: Snaps smoothly into place when dragging near the mathematical vertical center of the container with instant visual feedback.
- Real-Time Measurement Badge: Displays an on-theme dark floating badge indicating exact pixel measurements (e.g.
Top: 22px (Centered)orLeft: 16px (Symmetrical)). - Symmetrical Adjustment Mode (Alt + Drag): Holding the Alt key while dragging adjusts opposite margins symmetrically in a single gesture.
- Hover Anti-Flicker Stabilization: Delivers smooth, stable hover interactions across text boxes with resting guideline opacity and bidirectional element/overlay tracking.
- Handle Collision Clearance at Zero Margin: Offsets margin handles laterally from outer element resize handles so both resizing the text box and adjusting margins remain completely unhindered even when margins are zero.
- Print Shadow Underlay Polish: Fixed print engine shadow underlay rendering by correcting CSS dimension regex parsing and adopting an offscreen caster coordinate system, eliminating dark borders and matching the editor cleanly.
- System Synchronization & Service Worker Update: Bumped Service Worker cache to
open-publisher-v5-17-1-1, updated About dialog tov5.17.1, and synchronized all asset cachebusters to?v=5.17.1.
π What's New in v5.17.1
π Discrete Text Margin & Inset Drag Handles (style.css, extensions/system-patches.js, canvas/interaction-mouse.js)
- Dedicated Margin Handle Controls:
- Selecting any text box or styled text box dynamically renders four discrete capsule drag handles on the inner text margin lines.
- Sized at a slender 12px x 3.5px for top/bottom handles and 3.5px x 12px for left/right handles, with soft translucent styling (48% resting opacity) that stays non-intrusive.
- Completely distinct in appearance, size, and cursor feedback from the eight outer 10px square element resize handles.
- Equipped with transparent hit-area padding (
::before) extending 6px around each handle for easy mouse grabbing without accidental box selection. - Subtle Dashed Guide Box:
- Displays a delicate dashed guideline with a quiet 35% resting opacity, smoothly deepening to 85% prominence on hover or during dragging.
- Automatically updates its dimensions and coordinates in real time as margin handles are dragged or when text boxes are resized.
- Automatically hidden during print, export, and when elements are deselected.
π― Real-Time Alignment, Centering & Measurement Badge (extensions/system-patches.js, canvas/interaction-mouse.js)
- Direct Edge Repositioning:
- Dragging the top handle adjusts
paddingTop, allowing users to raise or lower text inside styled text boxes (e.g., pills, badges, banners, cards) with pixel-level precision. - Dragging the bottom, left, or right handles adjusts
paddingBottom,paddingLeft, andpaddingRightrespectively. - Maintains
boxSizing: border-boxon the editable container so element dimensions remain unchanged during padding adjustments. - Accurate Double-Click Auto-Centering:
- Double-clicking either the top or bottom margin handle measures the exact line height of the rendered text contents using DOM Range measurements.
- Calculates and applies the exact symmetrical top and bottom padding required to place the text in the true vertical center of the box.
- Center Snap Detection:
- Dragging the top handle within 4px of the computed vertical center snaps cleanly to the center position and tags the measurement badge with
(Centered). - Floating Measurement Badge:
- A dark pill badge floats right above the active handle, displaying real-time distance readouts in pixels (e.g.,
Top: 22px (Centered)). - Automatically dismisses upon mouse release and updates document undo/redo history and sidebar thumbnails.
- Symmetrical Adjustment Mode (Alt + Drag):
- Holding the
Altkey while dragging applies identical padding deltas to both opposite edges simultaneously (top/bottom or left/right).
π οΈ Interactive Stability & Handle Collision Fixes (style.css, extensions/system-patches.js)
- Anti-Flicker Hover Tracking:
- Resolved mouse-over chattering where guidelines and handles would flicker rapidly when moving the cursor across the text box.
- Established bidirectional hover event coordination between the text element on the canvas and the selection overlay container.
- Replaced hover transform scaling with color and shadow highlights, guaranteeing fixed hit boundaries under the cursor.
- Zero-Margin Collision Separation:
- Separated inner margin drag handles laterally (offset by 22px to 28px) from the eight outer midpoint resize handles.
- When text margins are set to zero or near-zero, the margin handles remain distinct from the outer bounding box and resize handles.
- Clamped visual handle position by 5px inward when margin is zero, and constrained edge hit areas with the
.at-edgeselector. - Elevated outer resize handle priority to
z-index: 100005, allowing effortless text box resizing even when inner text frames are expanded to the edge.
π¨οΈ Print Shadow Underlay Engine Polish (extensions/print-engine.js)
- Eliminated Black Outline & Gap Artifacts in Print:
- Corrected regex color token parsing in
parseBoxShadowForPrintto prevent CSS dimension units (such aspx,em,pt) from being misinterpreted as color names when parsing complex shadows likergba(15, 23, 42, 0.25). - Implemented an offscreen caster coordinate system (+5000px displacement) in Canvas 2D shadow underlay generation, ensuring solid black caster shapes are never drawn into visible canvas space.
- Guarantees printed text cards, panels, and styled containers produce soft, authentic drop shadows identical to in-editor rendering.
π§ System Synchronization & Version Bump (v5.17.1)
- About Dialog (
extensions/ui-interactions.js): Subtitle updated toFree Online Desktop Publishing Tool β’ v5.17.1. - Service Worker Cache (
sw.js): Cache identifier bumped toopen-publisher-v5-17-1-1. - Export Template Modal (
ui/modals/export-template-modal.js): Version metadata and README exports bumped to5.17.1. - Asset Cachebusters (
index.html): Updated query tags for all scripts, stylesheets, and icons to?v=5.17.1. - Internal Template Engine (
elements/templates/templates.js,ui/dashboard.js,ui/menus.js): Synchronized internal template asset cachebusters to?v=5.17.1.
β Checklist Completed
- [x] Design smaller, discrete margin drag handles distinct from outer square resize handles
- [x] Implement
.text-margin-container,.text-margin-guide-box,.text-margin-handle, and.text-margin-badgeinstyle.css - [x] Add extended hit-area (
::before) for easy handle grabbing without misclicks - [x] Implement
window.renderTextMarginControlsinextensions/system-patches.js - [x] Hook text margin controls into selection overlay fast path and full rebuild paths
- [x] Support real-time dragging in both
extensions/system-patches.jsandcanvas/interaction-mouse.js - [x] Support canvas zoom and rotation transformations during margin dragging
- [x] Implement real-time floating measurement badge with pixel distance display
- [x] Implement double-click auto-centering on vertical margin handles using DOM Range height calculation
- [x] Add 4px center snap detection with
(Centered)badge label - [x] Add
Alt + Dragsymmetrical margin adjustment mode - [x] Fix print engine shadow color extraction regex and implement offscreen caster rendering
- [x] Resolve mouse-over guide box flickering with stable resting opacity and bidirectional hover binding
- [x] Eliminate handle collision at zero padding via lateral offset separation and elevated resize z-index
- [x] Wire up undo/redo history push and sidebar thumbnail update on drag completion
- [x] Support full dark mode and high-contrast theming
- [x] Bump application version, About dialog, Service Worker, and cachebusters to
v5.17.1 - [x] Verify complete workflow and visual alignment with automated Playwright browser tests
π Version 5.17.1 - Open Publisher