Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
PrettySumatraPDFinstead ofSumatraPDF, including user guides, troubleshooting, LaTeX integration, and uninstallation instructions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]RELEASE_NOTES_v1.0.1.mdfile and links, and updated screenshot paths for improved clarity and consistency. [1] [2] [3] [4]UI and toolbar improvements:
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.