Bug 434523

Summary: Default window size is tiny when opening PDFs.
Product: [Applications] okular Reporter: Ben Mordecai <benfmordecai>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ben Mordecai 2021-03-17 01:42:01 UTC
SUMMARY
On Windows 10, when Okular is set as the default pdf viewer pdfs open to a tiny size of 642x512 pixels. Most pdfs are letter or A4 sized by default, so opening at this window size is not a very sensible default and it can interrupt the workflow. This remains true regardless of your default zoom setting. Another alternative is for Okular to open to a window size of the last time you opened Okular. 

STEPS TO REPRODUCE
1. Set Okular as default pdf viewer
2. Open a pdf
3. 

OBSERVED RESULT
Window size is 642x512

EXPECTED RESULT
Window size to be larger.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-18 16:47:22 UTC
The default window size is quite small on Linux too. Probably hasn't been updated in years and years, despite screen resolutions getting larger overall. In general setting a large default size isn't a problem for resizable windows as the window will simply be maximized by the window manager if it's too big for the screen.
Comment 2 Ben Mordecai 2021-03-24 12:12:17 UTC
(In reply to Nate Graham from comment #1)
> The default window size is quite small on Linux too. Probably hasn't been
> updated in years and years, despite screen resolutions getting larger
> overall. In general setting a large default size isn't a problem for
> resizable windows as the window will simply be maximized by the window
> manager if it's too big for the screen.

I agree. It also just sets first impressions for the app when it appears more polished. I think it would be logical to match similar defaults to what leading commercial apps are doing with window sizes.