Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2024, 04:39 PM   #1
LuisNeto
Member
LuisNeto began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
Bug: Highlights saved with wrong heading

I found a bug in my Kobo Libra 2 where highlights made are saved with a wrong heading, and therefore displayed under the wrong heading in the Annotations list.

This seems to be happening with books which, within the same HTML/XHTML content files, have multiple headings that are listed in the table of contents.

The bug occurs when a highlight is made in a "page" where a section ends and another one begins.
It occurs in in EPUB and KEPUB files (including purchased from Kobo), but there are differences in how the bug manifests itself.
I have attached photos showing the bug in EPUB and KEPUB files.

Steps to reproduce:

I will describe the bug using the book "The Almanack of Naval Ravikant". The EPUB is distributed for free on its official website.

I'll use a chapter in this book is called "Learning Happiness", with various sections, each starting with a heading.
An example of two consecutive sections are "Envy Is the Enemy of Happiness" and "Happiness It Built by Habits".

I'll start with the EPUB file:
  1. Navigate to the page where one section ends and the other section begins
  2. Make a highlight in the section that ends and another one in the section that begins on that page, as shown in this photo:
    Click image for larger version

Name:	1 - EPUB - text.jpg
Views:	358
Size:	161.8 KB
ID:	206202.
    Observe the heading shown at the top. It corresponds to the section that ends.
  3. Navigate to the Annotations list.
Result: Both highlights are shown as if they belong to the "Envy Is the Enemy of Happiness" section. The second highlight should be under "Happiness Is Built by Habits"
Click image for larger version

Name:	2 - EPUB - list.jpg
Views:	365
Size:	119.1 KB
ID:	206203

Now with the same book as a sideloaded KEPUB:
  1. Here is the page showing the highlights. Also observe that, contrary to what happened with the EPUB, the heading shown at the top corresponds to the section that begins.
    Click image for larger version

Name:	3 - KEPUB - text.jpg
Views:	377
Size:	185.9 KB
ID:	206204
  2. Navigate to the Annotations list.
Result: Both highlights are shown as if they belong to the "Happiness Is Built by Habits" section. The first highlight should be under "Envy Is the Enemy of Happiness"
Click image for larger version

Name:	4 - KEPUB - list.jpg
Views:	349
Size:	109.5 KB
ID:	206205

This shows that Kobo is saving each highlight against the heading that is shown at top of the page, rather than looking up the actual heading.

There is more... here's what I see happening when it's an EPUB: if I quit the book and open it again, the Annotations list now shows the correct headings! Something happens under the hood which updates the highlights.

But this does not happen for KEPUB files - it remains incorrect.

I am planning to report this to Kobo.
It would be interesting to hear if others are able to reproduce this too.

Last edited by LuisNeto; 02-04-2024 at 04:43 PM.
LuisNeto is offline   Reply With Quote
Old 02-04-2024, 04:56 PM   #2
LuisNeto
Member
LuisNeto began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
To expand on what I wrote above:

1)
Despite the problem fixing itself for EPUB files, it should save it correctly from the beginning.

2)
I've actually analysed this at database level with the EPUB, before and after quitting the book, and I could see that the value of ContentID in the Bookmark table had been updated.

After making the highlight and before quitting the book, the value ended in
Code:
file:///(...).xhtml#idParaDest-40
.

After quitting, it has changed to
Code:
file:///(...).xhtml#idParaDest-41
.

Last edited by LuisNeto; 02-04-2024 at 05:00 PM.
LuisNeto is offline   Reply With Quote
Reply

Tags
annotations, bug, firmware, highlights, kobo


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter Heading formate displayed wrong in Kobo Kaylee Skylyn ePub 9 07-26-2015 01:13 AM
Bug or What am I doing wrong? BadAngel Library Management 9 12-29-2014 08:03 PM
Touch [2.1.5] bug: annotations not saved _pietro Kobo Reader 18 02-21-2013 05:19 AM
Fetched News saved to wrong location on Sony PRS-505 shoukyd Devices 5 02-25-2011 09:49 PM
Bug with saved searches in 0.7.32 dasimser Calibre 3 12-04-2010 09:22 AM


All times are GMT -4. The time now is 08:35 AM.


MobileRead.com is a privately owned, operated and funded community.