Bug 438490 - okular or epub backend logging non errors to stderr and .xsession-errors
Summary: okular or epub backend logging non errors to stderr and .xsession-errors
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 20.12.3
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-12 03:31 UTC by bandidoirlandes
Modified: 2021-06-14 23:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bandidoirlandes 2021-06-12 03:31:15 UTC
SUMMARY
okular libepub filling .xsession-errors with cruft .. example https://paste.ubuntu.com/p/HbkrGRkFRR/  host info https://paste.ubuntu.com/p/sYjNpM4hrC/  okular 20.12.3

STEPS TO REPRODUCE
1. install ubuntu or kubuntu install okular
2. download epub https://www.gutenberg.org/ebooks/1342.epub
3. open epub from filemanager and with the example jane austen epub adds 25k logs to my .xsession-errors  frech install from user of #kubuntu same results

OBSERVED RESULT
Lots and lots of information

EXPECTED RESULT
opened ebook with not hundreds of lines of extra informational logs.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Seems that if you open the epub from terminal or filemanger it will either output the information/errors to stdrr or to .xession-errors 

<kubuntu-irc> noob: i opened it from a temrinal, though, and all the stuff you have in the log went there
<kubuntu-irc> okay if i open the file from the fiile browser (dolphin) then indeed this stuff goes to xsession-errors
Comment 1 Bug Janitor Service 2021-06-14 23:06:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/442
Comment 2 Albert Astals Cid 2021-06-14 23:38:11 UTC
Git commit 8f269d1884604ff67167e4a03416c184ede5297c by Albert Astals Cid.
Committed on 14/06/2021 at 23:05.
Pushed by aacid into branch 'release/21.04'.

epub: switch epub logs to warning

No need to show info level to users

M  +1    -1    generators/epub/epubdocument.cpp

https://invent.kde.org/graphics/okular/commit/8f269d1884604ff67167e4a03416c184ede5297c