Skip to content

Merge Fixes into master#15

Merged
JaviLendi merged 8 commits into
masterfrom
Fixes
May 30, 2026
Merged

Merge Fixes into master#15
JaviLendi merged 8 commits into
masterfrom
Fixes

Conversation

@JaviLendi

@JaviLendi JaviLendi commented May 30, 2026

Copy link
Copy Markdown
Owner

This pull request includes updates to documentation and UI styling as part of the first official release of PrettySumatraPDF v1.0.1. The main changes are rebranding all documentation and references from SumatraPDF to PrettySumatraPDF, the introduction of new release notes, and visual improvements to the toolbar UI for a more modern and compact appearance.

Documentation rebranding and release updates:

  • Updated all documentation files to consistently refer to the application as PrettySumatraPDF instead of SumatraPDF, including user guides, troubleshooting, LaTeX integration, and uninstallation instructions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
  • Renamed and updated release documentation to reflect v1.0.1, including a new RELEASE_NOTES_v1.0.1.md file and links, and updated screenshot paths for improved clarity and consistency. [1] [2] [3] [4]

UI and toolbar improvements:

  • Refined the toolbar's compact mode by reducing gaps and button padding, and adjusted brand spacing for a denser, more modern look. [1] [2] [3]
  • Enhanced the theme control group dropdown and menu with improved sizing, transitions, and alignment for better usability and appearance. [1] [2] [3]
  • Minor JavaScript cleanup in the toolbar to improve key handling logic. (F1d8d9f4L1R1)
  • Updated responsive CSS for mobile to ensure the modern theme switch remains hidden on smaller screens.

These changes ensure the application branding is consistent, documentation is up to date for the new release, and the UI delivers a more polished and user-friendly experience.

JaviLendi added 8 commits May 29, 2026 19:20
Remove the full-screen check that previously disabled annotation support. Updated NewBuildMenuCtx (Menu.cpp) and HybridToolbarCanAnnotate (BridgeDispatcher.cpp) so annotation availability relies on EngineSupportsAnnotations (and presentation mode for the toolbar) rather than excluding full-screen windows.
Add WM_DISPLAYCHANGE handling in WndProcSumatraFrame to recreate the toolbar (if present), clear lastLayoutState cache, and call RelayoutFrame when the display changes. Also insert a return to the preceding case to avoid fall-through. This ensures the UI is rebuilt and layout is recalculated on display/resolution/DPI changes. (src/SumatraPDF.cpp)
Replace the old modern-theme-switch control with a compact custom dropdown for theme selection and wire up new JS state handlers. Adds setThemeState/hybridToolbarSetThemeState and click handlers to update aria states, toggle theme/system/invert commands, and keep document-invert in sync. Numerous CSS refinements for the toolbar and dropdowns: updated paddings, radii, sizes (btn--icon width reduced), rounded dropdown trigger, menu styling, and theme-control-group layout. Also simplify keyboard handling (check blockedKeys directly) and minor spacing tweaks for compact toolbar items.
Tighten toolbar spacing and refine responsive compaction behavior. CSS: reduce gaps/paddings (brand margin-right 8→0, compact gap 6→2, btn padding 5→4), shrink mobile paddings and toolbar-item padding, add negative left margin and small pagination/button/icon size tweaks, increase grp-zoom height and adjust compact icon dimensions. JS: add clearAutoCompactState() and measure against the full (uncompacted) toolbar before deciding, simplify compaction condition (overflow vs spare room) and consistently clear auto-hidden state so compaction decisions are more stable on resize/screen changes.
Rename and rebrand project references from SumatraPDF to PrettySumatraPDF across docs and UI, update attribution and links to the fork repository, and bump app version. Changes include: updating multiple markdown docs (Corrupted-installation, DDE-Commands, Debugging-Sumatra, Failed-to-load-libmupdf, LaTeX-integration, Uninstalling-SumatraPDF) and README to reference PrettySumatraPDF and add a fork notice; adjust About page (src/HomePage.cpp) to update links, subtitle, About window title, and replace custom-drawn logo with the app icon; and update version constants and app name in src/Version.h (version -> 1.0.1, kAppName -> "PrettySumatraPDF").
Move and update release docs for v1.0.1, add release notes, and update installer artifacts. RELEASE_DRAFT.md and RELEASE_NOTES_v1.0.0.md were moved to docs/releases and updated to reference v1.0.1 (release date 2026-05-30) and use relative links; a new docs/releases/RELEASE_NOTES_v1.0.1.md was added. Installer README updated to reference PrettySumatraPDF-Setup-1.0.1.exe, and the installer binary in scripts/installer/dist was replaced with the 1.0.1 build.
@JaviLendi
JaviLendi merged commit 9938c76 into master May 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant