• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Plugins
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by tomers - 2010-04-14
Last edited by Uchida - 2010-06-06

FS#11201 - Viewer: Bookmarks data gets deleted

To reproduce:
1. Create several bookmarks (lines gets highlighted)
2. Go to line 1 of the text file (browse up all the way)
3. Change alignment direction

Expected behavior:
Bookmarks are preserved; Bookmarked lines are still highlighted.

Observed behavior:
All bookmarks now point to the same line (line 1 at page 1). That line is highlighted.

- The bug does not occurs for any line other than the first line in the text file is browsed to (step 2).

- The bug is caused by wrong calculation in calc_page()

Closed by  Uchida
2010-06-06 10:11
Reason for closing:  Not a Bug
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

this is the design.

It is thought that this is not problem but correct movement.
To become such movement, I create the logic.

Because the text viewer moves by each line, any bookmark is specified by each line.
When the text viewer moves the bookmark to the first page, moreover, when returning it to the movement by each line, it cannot be returned to original position.

"page" is a unit of the appearance, and it changes under various conditions.
for example,
all bookmarks move to the first line. ⇒ the settings change (page and the position of bookmarks change) ⇒ all bookmarks move to the first line ⇒…

all bookmarks move from the original place into quite another place.
This is a problem.


Available keyboard shortcuts


Task Details

Task Editing