Bookmarks Ordering Issue as per the first number in the numbering format
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 283
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
Bookmarks are created using the format "Page x". However, the ordering of the bookmarks is inaccurate
### Current Behavior(Steps to recreate):
Bookmarks are ordered as per the first number in the page number.
Say if you bookmark pages 1,3,10,17 and 20 you get:
Page 1
Page 10
Page 17
Page 20
Page 3
Note the pattern for the first numbers: 1,1,1,2,3
### Expected Behavior:
Last bookmark should appear last in the bookmarks list, being the highest number in that list.
This is what I expected:
Page 1
Page 3
Page 10
Page 17
Page 20
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ordering with bookmarks for pages 1, 3, 10, 17, and 20. Trace the bookmark-list ordering from the document reader entry point and identify where the page labels are compared. Done means numeric page ordering is used so the list appears as Page 1, Page 3, Page 10, Page 17, Page 20.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100