Presentation mode: Esc unexpectedly closes SumatraPDF
[!NOTE] Environment: SumatraPDF 3.7.22488 x64, pre-release, portable on Windows 11 23H2 (10.0.22631.5039). See below for more details.
Description
The guide on using presentation mode states that the Esc key should end presentation mode:
Press F5 to start presenting and Esc to stop.
However, in the current pre-release, pressing Esc while in presentation mode closes the SumatraPDF.
This behavior may be influenced by the setting EscToExit = true.
To Reproduce
- In Advanced settings set
EscToExittotrue. - Call Presentation mode (Ctrl+L, F5, Shift+F11).
- Press Esc.
- The SumatraPDF has closed.
Expected behavior
Presentation mode should have stopped. The program should not have closed.
Environment Detailed
SumatraPDF v3.7.22488 64-bit Built on: Sep 24 2026 21:17:03 Git: 012d997f6a3a5c5c97b878e1a340db3bffde8c0e Type: dll, portable Pre-release: yes OS: Windows 10.22631, build 22631, 64-bit OS architecture: 64-bit WebView2: 149.0.4022.80 Physical memory: 15,98 GB (20% in use) Processors: 4 Processor: Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz Screen: 2560x1440, DPI 96 (100%) Locale: ru-RU Theme: TC Light
Source: sumatrapdfreader/sumatrapdf