kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Some ePub files with images render incorrectly

Open GeorgesStavracas opened this issue 3 years ago • 6 comments

Observed behavior

Some ePub files have page-long images that act as page backgrounds, and the custom style that Kolibri's ePub viewer plugin applies might break the width of these images, making them invisible.

Errors and logs

(No error logs are produced)

Expected behavior

Background images of ePub files are rendered correctly (image below is "censored")

expected-foliate

User-facing consequences

The pages look broken :)

broken

Steps to reproduce

Open ePub files with large background images. Notice they don't show up in the viewer. (Sorry I can't really share these files here! Please see screenshots above)

Context

  • develop branch (4cfe068e5010d7b7d4f9586144efd734434bce0f)
  • Fedora 38, Endless OS 5
  • Any browser (tested with Firefox, Chromium, and GNOME Web)

GeorgesStavracas avatar May 11 '23 13:05 GeorgesStavracas

Could you share the epub so I can reproduce this and give some recommendations?

bjester avatar May 11 '23 21:05 bjester

@bjester I may be able to do so, but only privately, since the ePub files that reproduce this issue cannot be made public. Would you be comfortable with me mailing the email that is on your GitHub profile with the details?

GeorgesStavracas avatar May 15 '23 12:05 GeorgesStavracas

I actually managed to create an ePub file that is minimal reproducer of the issue: reproducer.epub

See the comparison below:

Captura de tela de 2023-05-15 14-05-07-obfuscated

Edit: you can test this file by importing it from the channel with token zibav-baraz too

GeorgesStavracas avatar May 15 '23 17:05 GeorgesStavracas

Hi @GeorgesStavracas @bjester I’d like to work on this issue is it still open? if yes could you please assign it to me?

kunal-595 avatar Oct 07 '25 15:10 kunal-595

Hi! 👋

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

We really appreciate your willingness to help—you're welcome to find a more suitable issue, and let us know if you have any questions. 😊

learning-equality-bot avatar Oct 07 '25 15:10 learning-equality-bot

Hi @radinamatic - this issue is still valid in the latest version of Kolibri. I've created a new channel containing the provided reproducer.epub file since the previous is not working anymore: domod-kavof

pcenov avatar Oct 13 '25 13:10 pcenov