Comments (17)
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.
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.
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.
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.
from apple.
After iOS update to version 18... it works!
I'm a bit puzzled.
from apple.
Solar Powered and Quartiers chinois still use category image in this screenshot…
from apple.
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.
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.
I figured, but you're the only tester we have! Hope it works well on current stable!
from apple.
Current Testflight for macOS (published 3days ago) still exhibits the bug
![Screenshot 2024-06-27 at 16 22 23](https://private-user-images.githubusercontent.com/57929/343861689-3942ff62-842e-46fc-835f-4c259715b9b0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNjg5MDYsIm5iZiI6MTcyMTI2ODYwNiwicGF0aCI6Ii81NzkyOS8zNDM4NjE2ODktMzk0MmZmNjItODQyZS00NmZjLTgzNWYtNGMyNTk3MTViOWIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDAyMTAwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlN2IxMjRlMjRmZmU0NGI4NGJlOTE4ZTQ2ZWRkMzVkNzIzZTg2MmRkMGM5MGE2ZjM0NmNiYjNjZjNlOGQ0YTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ymBp7_7rCJaNyufMH5OC2Yw-wrmPKZzPKy7p3nO1clM)
from apple.
@rgaudin Thx, I wonder if there is not a cache somewhere which would make the test of the patch complicated!?
from apple.
Current Testflight for macOS (published 3days ago) still exhibits the bug
![]()
@rgaudin can you tell me which icon is wrong ?
from apple.
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.
I think I have the same file, on the current main branch it looks good after adding it.
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.
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.
Moving to 3.5.0
from apple.
Related Issues (20)
- Opening corruped file leads to crash HOT 16
- Content default positioning is not always correct
- iOS: Unable to open file (which works in Kiwix elsewhere) HOT 13
- DMG has not been published HOT 1
- NIghly build CD has failed
- No search result when the key word more than 1 byte with Chinese zim files HOT 6
- Double-clicking on a ZIM in finder opens a new Kiwix window HOT 4
- Crash 3.4.0 - Kiwix: OPDSParser.parse(data:) +36 HOT 2
- Crash 3.4.0 - Kiwix: u_setDataDirectory_73 + 48
- Crash 3.4.0 - libxml2.2.dylib: xmlMallocZero +48 HOT 4
- Crash 3.4.0 - Levenshtein.calculate(_:_:) +72
- Crash 3.4.0 - Kiwix: u_setDataDirectory_73 + 112 HOT 1
- Crash 3.4.0 - SwiftUI: specialized _ArrayBuffer._consumeAndCreateNew(bufferIsUnique:minimumCapacity...
- Crash 3.4.0 -[UIPopoverPresentationController presentationTransactionWillBegin] + 2672
- Add support for multiple reader windows HOT 1
- Moving Zim Files from Download folder to another Drive/Folder HOT 3
- Library loading is blocking the main thread HOT 1
- Resolve Swift Package Dependencies Automatically
- Remove BackPorts dependency
- No book found line for "lowtech"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple.