[okular] [Bug 497715] "Continuous view" and "Show scrollbars" settings not correctly applied on startup

Andrea Ippolito bugzilla_noreply at kde.org
Fri Feb 14 06:50:08 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=497715

--- Comment #12 from Andrea Ippolito <andrea.ippo at gmail.com> ---
(In reply to John Veness from comment #11)
> To be honest, I think(In reply to Katharta from comment #9)
> > Could a possible compromise perhaps be for Okular to provide an option to
> > force continuous mode on or off, overriding built-in PDF settings
> > permanently?
> 
> To be honest, that is how I would expect the existing "Open in continuous
> mode by default" setting to work. I'm not sure why it would need a separate
> setting.

My understanding is that Okular tries to respect the preference embedded in the
PDF, and default technically does mean "in absence of something else" (or
"further instructions on how to render", in this case). If the PDF file
provides a preference, it makes sense that the default behavior doesn't
trigger.

IMO it's quite subtle and honestly I'd be fine with always ignoring whatever
the file says, since I know how I want my PDFs displayed.

But to make everyone happy, I think the solution could be to just add another
value to the list of options (mind you, not an override flag).

The feature could then be called something like: View mode, with values
"continuous", "single page", ..., "specified by document"

"Specified by document" could be the preset value, and behind the scenes it
could fallback to whatever mode is currently the preset in Okular, if the PDF
you opened doesn't express a preference.

This way users who don't have a strong feeling about the view mode would just
get what the PDF file says, and fallback to whatever the current preset is
today.

Users who feel strongly about this could just set the view mode they prefer,
and it'll always apply, no matter what.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list