FBReaderJ icon indicating copy to clipboard operation
FBReaderJ copied to clipboard

Delete bookmark not updating the marked text background sometimes.

Open frodberserk opened this issue 10 years ago • 4 comments

I tried to delete a bookmark by clicking on it, showing a PopupMenu and clicking a delete button inside it. On clicking delete, I used:

myInterface.deleteBookmark(SerializerUtil.serialize(bookmark));

It is deleting the bookmark successfully, but the background of highlighted text is still marked sometimes, even though there is no bookmark. It disappears when I turn to other page and turn back to that page. Any ideas?

frodberserk avatar Feb 20 '15 00:02 frodberserk

Ok I figured out a something. This always happens when there is single bookmark left on the page. When there are multiple bookmarks on the page, all the bookmarks are cleared successfully, except the last one.

frodberserk avatar Feb 20 '15 00:02 frodberserk

I can't seem to reproduce this. Which release are you using? Upstream or from google play store?

liquiddandruff avatar Feb 20 '15 01:02 liquiddandruff

Downloaded the source code from here.

frodberserk avatar Feb 20 '15 01:02 frodberserk

This happens to me too, sometimes.

If I repeat the process two or three times, the bookmark is deleted.

FBReader Premium Motorola Xoom 1st Gen. Android 4.0.4

mantonelli avatar May 13 '16 19:05 mantonelli