Bug 504036

Summary: Arianna renders background of any epub page black
Product: [Applications] Arianna Reporter: David Coutinho <dCo3lh0>
Component: generalAssignee: Carl Schwan <carl>
Status: REPORTED ---    
Severity: normal CC: shved.personal
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: OpenMandriva   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of Arianna displaying a book index with issue.
Log of the terminal output of Arianna.

Description David Coutinho 2025-05-11 01:40:04 UTC
Created attachment 181155 [details]
Screenshot of Arianna displaying a book index with issue.

SUMMARY

STEPS TO REPRODUCE
1. Open Arianna
2. Open Ebook
3. Look at any page

OBSERVED RESULT
Any book opened, the background of the rendered ebook, outside of the main element containing the body of the book is rendered black not following the theme

EXPECTED RESULT
Arianna rendering background of the ebook following the theme.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenMandriva ROME / Plasma 6
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 David Coutinho 2025-05-11 01:48:08 UTC
Created attachment 181156 [details]
Log of the terminal output of Arianna.

Terminal Log:

$ arianna
"Running on http://127.0.0.1:45961/ (Press CTRL+C to quit)"
qrc:/content/ui/main.qml:81: TypeError: Cannot read property 'hideSidebar' of null
search started
qml: opening book file:///mnt/Arquivos/Biblioteca do calibre/X Author/X book.epub  to  "epubcfi(/6/12!/4/2,/2,/18/5:77)"
file:///usr/lib64/qt6/qml/org/kde/kirigami/PageRow.qml:1098:5: QML RowLayout: StackView has detected conflicting anchors. Transitions may not execute properly.
qml: WEB: 2 Uncaught ReferenceError: openSync is not defined 1 
qml: WEB: 2 Uncaught ReferenceError: reader is not defined 1 
qml: opening book file:///mnt/Arquivos/Biblioteca do calibre/X Author/X book.epub  to  "epubcfi(/6/12!/4/2,/2,/18/5:77)"
qml: WEB: 0 window.innerHeight 855 420 qrc:/content/ui/reader.js
qml: WEB: 1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. 562 qrc:/content/ui/foliate-js/paginator.js
qml: WEB: 1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. 0 blob:qrc:/434bc898-b1d4-4faa-b287-9f212588b63e
qml: WEB: 2 ResizeObserver loop completed with undelivered notifications. 0 qrc:/content/ui/main.html
Comment 2 shved 2025-08-16 01:07:49 UTC
Bump

Can reproduce this on Plasma 6.4.4. Also, just found that this bug occurs only when the dark mode was already active. If I open a book in light mode (in which arianna renders background correctly) and then switch to dark, then there absolutely normal document background.