GithubHelp home page GithubHelp logo

Comments (17)

rgaudin avatar rgaudin commented on July 18, 2024 1

The code change itself won't change the image data already written into the local DB, before the fix.

OK that explains it. Are we OK with this? If yes then this ticket should be closed

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

Not sure how this is done, but there is a primitive in libkiwix which shiukd be used:
https://libkiwix.readthedocs.io/en/latest/api/classkiwix_1_1Book_1_1Illustration.html?highlight=Illustration

I suspect that because the logo of the ZIM is accessed directly and because we have changed in the path the URL, then something is wrong. Please read https://wiki.openzim.org/wiki/Metadata

from apple.

rgaudin avatar rgaudin commented on July 18, 2024

The reader is using its url property

book->getIllustrations().at(0)->url

Documentation is of no help here but a quick glimpse at the code have me believe that url is only set when read from XML or from OPDS so in apple reader's case, only if downloaded from the catalog. I could confirm this with a test.

@BPerlakiH, we should use getData() indeed.
A quick hack could be returning a base64 image/png url as this is used as an URL 😝

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

Makes sense, metadata should be retrieved from online catalogue AFAP, but if no entry there, ALL metadata (illustration included) should come from the ZIM file.

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

Still not working:
image

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

After iOS update to version 18... it works!
image

I'm a bit puzzled.

from apple.

rgaudin avatar rgaudin commented on July 18, 2024

Solar Powered and Quartiers chinois still use category image in this screenshot…

from apple.

rgaudin avatar rgaudin commented on July 18, 2024

Given you use this device to test the app, I'm not sure it's a wise choice to be on a beta system… but there's no downgrade possible so it's too late now 😀

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

Given you use this device to test the app, I'm not sure it's a wise choice to be on a beta system… but there's no downgrade possible so it's too late now 😀

Yes, but see it the other way: we prefer to detect problems with iOS18 earlier, better than waiting the system is live.

@rgaudin How does you iOS device behaves regarding this very specific issue? Is rhat fixed for you?

from apple.

rgaudin avatar rgaudin commented on July 18, 2024

I figured, but you're the only tester we have! Hope it works well on current stable!

from apple.

rgaudin avatar rgaudin commented on July 18, 2024

Current Testflight for macOS (published 3days ago) still exhibits the bug

Screenshot 2024-06-27 at 16 22 23

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

@rgaudin Thx, I wonder if there is not a cache somewhere which would make the test of the patch complicated!?

from apple.

BPerlakiH avatar BPerlakiH commented on July 18, 2024

Current Testflight for macOS (published 3days ago) still exhibits the bug

Screenshot 2024-06-27 at 16 22 23

@rgaudin can you tell me which icon is wrong ?

from apple.

rgaudin avatar rgaudin commented on July 18, 2024

The one you see top left. that's not a zim icon but the other category icon in the app.

Only zim added via catalog shows their icons

from apple.

BPerlakiH avatar BPerlakiH commented on July 18, 2024

I think I have the same file, on the current main branch it looks good after adding it.
Screenshot 2024-06-29 at 00 40 53

I have the same result using the TestFlight version.
The code change itself won't change the image data already written into the local DB, before the fix.
Can you try to unlink the file, and add it again?

from apple.

BPerlakiH avatar BPerlakiH commented on July 18, 2024

I think the same happened for @kelson42 as well, after the iOS update, the files must have been re-added to the local DB, and from then on they were fixed.

from apple.

kelson42 avatar kelson42 commented on July 18, 2024

Moving to 3.5.0

from apple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.