Skip to content

Go back to 3.5 style of drawing first window (or 3.5 + Progress Bar) #5530

@irtcloud

Description

@irtcloud

SumatraPDF version

  • Pre-release 3.7.18300

Describe the bug

Like in #5529 I said:

So if WindowState = 2 (maximized) then:

- Old 3.5 style was best (draw window of maximized size in bg, then show only after file load).

- 3.6 style is ok but not great as empty window of maximized size is drawn, then we wait for file to load.

- But 3.7 style is fully broken as first empty window of not-maximized size is drawn, then file is loaded and then window is maximized. But if file loading is slow then maximize command is getting lost and window remains of not-maximized size only. 👎

On app load why we need to see first empty window of maximized size (like in 3.6) or not-maximized size (like in 3.8.18300)? Then if file is large and load is slow, we see empty app window is "Not responding" (Windows message because it thinks app is hanging). Then finally file is loading. This is not good look.

In 3.5 style app window is drawn only after file loading is 100%. This is best. 👍

If you want to make app even better, then do like 3.5 only (draw window of maximized or other correct Settings size in bg, then show only after file load), but to show file load you can show one small progress bar in center of screen ("Loading SumatraPDF..."). After 100% load remove progress bar and show window like 3.5 style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions