[okular] [Bug 385200] Low resolution rendering when using display scaling on HiDPI monitor

Markus Krötzsch bugzilla_noreply at kde.org
Mon Oct 2 07:14:55 UTC 2017


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

--- Comment #5 from Markus Krötzsch <markus at semantic-mediawiki.org> ---
A follow up for people who try to use the above advice to get a working version
of KDE:

The compiled version of Okular does not quite behave as expected. The
high-quality image will only be obtained when starting the application from
within the build directory (by calling ./shell/okular). I had tried to install
the new version locally by creating a symlink to the compiled file <path to
okular>/build/shell/okular in /usr/local/bin/. At first, this seems to work
(Okular will show the right version v1.3.70, no matter if started from terminal
or directly from within KDE), but the rendering will be as it was in the old
version. This even happens when starting Okular from the terminal from within
the build/shell directory.

It seems that Okular is using some globally registered KDE parts instead of its
own locally compiled ones. This unexpected behaviour might cause users to think
that the new version is not fixing the bug.

To make it work, I created a script /usr/local/bin/okular with the following
lines:

#/bin/sh

cd <path to my okular directory>/build
./shell/okular "$@"

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


More information about the Okular-devel mailing list