Bug 415708

Summary: Okular shows another version than shown during installation
Product: [Applications] okular Reporter: adalbert.hanssen
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: luigi.toscano
Priority: NOR    
Version First Reported In: 1.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description adalbert.hanssen 2019-12-30 15:27:30 UTC
SUMMARY


STEPS TO REPRODUCE
1. I first uninstalled a prevoiusly installed okular using 
sudo snap remove okular 

2. Then I newly installed it using 
snap install okular

During the installation I saw this on the terminal screen:

$ snap install okular
okular 19.04.2 aus KDE✓ installiert
$

3. However when I ask for the version of it doing like this, I get

$ /snap/bin/okular --version
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
okular 1.7.2
$ snap list --all
Name                     Version   Rev   Aufzeichnung  Herausgeber  Hinweise
core18                   20191126  1279  stable        canonical✓   base,deaktiviert
core18                   20191212  1288  stable        canonical✓   base
kde-frameworks-5-core18  5.61.0    32    stable        kde✓         -
okular                   19.04.2   63    stable        kde✓         -
snapd                    2.42.4    5643  stable        canonical✓   snapd,deaktiviert
snapd                    2.42.5    5754  stable        canonical✓   snapd
$


OBSERVED RESULT
okular tells that its version is 1.7.2

The same holds if I look into Help>About Okular


EXPECTED RESULT
version 19.04.2


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: KDE Frameworks 5.61.0
Qt Version:             Qt 5.12.3 (kompiliert gegen 5.12.3)

ADDITIONAL INFORMATION
this happens on a snap installed version of okular under Xubuntu 18.04
Comment 1 Luigi Toscano 2019-12-30 19:31:03 UTC
The correct version is the one shows in the about dialog. The version used by the distribution is an unintended side effect of the way Okular is distributed.
Comment 2 adalbert.hanssen 2019-12-31 09:10:58 UTC
(In reply to Luigi Toscano from comment #1)
> The correct version is the one shows in the about dialog. The version used
> by the distribution is an unintended side effect of the way Okular is
> distributed.

Thanks for the explanation. So this one is resolved.