sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

The total number of pages disappears from the toolbar

Open zoharl3 opened this issue 5 months ago • 4 comments

SumatraPDF version

  • Version [e.g. 3.6.17, pre-release]

Describe the bug When setting ReuseInstance = false,

Image

when opening another document.

zoharl3 avatar Aug 16 '25 20:08 zoharl3

The scale of the top bars should not change due to ReUseInstance as it should be unrelated here the file is opened with ReUse false and true More likely are monitor DPI system font size and toolbar font settings

Image Image

GitHubRulesOK avatar Aug 16 '25 21:08 GitHubRulesOK

My DPI is set high, and this is how the first instance looks like

Image

I don't see the relation, and why the flag changes the appearance when opening another document.

Are you using the latest pre-release?

zoharl3 avatar Aug 16 '25 21:08 zoharl3

The increased scale of the fonts suggests an unusual set of system circumstances. It is possible the second window called is using different system scale since you can see mine at default settings has much smaller SYSTEM font proportions. without more details as to screen settings and thus potential effects the developer @kjk may not be able to track a problem by emulation.

If I oversize the toolbar then there is not enough room for the number of pages.

Image If I set reuse instance to false the new window will adjust but I am using at 100% recommended Image

GitHubRulesOK avatar Aug 16 '25 21:08 GitHubRulesOK

I changed system> display> "Change the size of text, apps, and other items" back to 100%. Same issue. Here is the same doc opened side-by-side:

Image

This is a single screenshot of two instances. It doesn't have to be the same doc. No such issue in v3.5.2. It's this specific combination of flags:

RememberOpenedFiles = true
RememberStatePerDocument = true
RestoreSession = false
ReuseInstance = false

zoharl3 avatar Aug 17 '25 18:08 zoharl3