Scroll down instead of up when xreader regains focus
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 283
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
* Xreader version: 2.0.2
* Distribution: Linux Mint 19.1
Issue
If xreader regains focus and is in "Page view" mode, it switches to the wrong page (next page instead of previous page) when performing a scroll up action.
Steps to reproduce
Open any pdf in "Page view" mode, select any page but the first one, focus any other application than xreader, re-focus on xreader, perform a single scroll up action.
Expected behaviour
Previous page should be displayed.
Other information
NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
xreader version: 2.0.2
I tried to compile and install the latest (2.2.2.) version of xreader but it failed when I tried to start xreader with
/usr/local/bin/xreader: symbol lookup error: /usr/local/bin/xreader: undefined symbol: ev_document_misc_get_screen_dpi_at_window
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 issue in xreader 2.0.2 on Linux Mint 19.1: use Page view, move away from xreader, refocus it, and scroll up. Trace the focus and scroll handling for Page view, then verify that scrolling up after refocus displays the previous page rather than the next one.
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
- 35/100