Skip to content

Stop navigating next going up/down two pages - #987

Closed
aanthoonyy wants to merge 2 commits into
pwmt:developfrom
aanthoonyy:bugfix/singlepagemodescroll
Closed

aanthoonyy wants to merge 2 commits into
pwmt:developfrom
aanthoonyy:bugfix/singlepagemodescroll

Conversation

@aanthoonyy

Copy link
Copy Markdown
Contributor

Work in progress for addressing regression found in #981 (comment)

@aanthoonyy

aanthoonyy commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Although everything appears to work as intended, I'm not confident about the code currently. I will spend some time revising my solution but for the time being I did want to get a fix going since it was my bug.

@colingeniet would you mind taking a look at this and making sure your issues are resolved.

@colingeniet

Copy link
Copy Markdown

Thanks a lot!

I tested with a mix of navigate and scrolling, and switching single page mode on/off.

It mostly works, but I managed hit #983, except on the vertical axis (so position was stuck at the very beginning of the document). I don't have a reliable way to cause it, but it happened twice (and I didn't manage to make it happen on the dev branch). Sorry for the bad news...

@aanthoonyy

Copy link
Copy Markdown
Contributor Author

Yeah I saw it did that too but not every time

I wasn't aware of #981. I'll keep an eye on that pr and play around it more when I have time this week

@sebastinas

Copy link
Copy Markdown
Member

I am somewhat missing what you are trying to fix. Could you please expand?

@aanthoonyy

Copy link
Copy Markdown
Contributor Author

Sorry I'm figuring out grad school stuff rn, I'll give a proper explanation in a couple days

@aanthoonyy

Copy link
Copy Markdown
Contributor Author

Sorry for leaving this hanging @sebastinas

I hope these screenshots clear it up

Before
Before toggling single page mode. Looking at page 12
image

After toggling single page mode. Looking at page 12 still
image

After toggling off single page mode. Looking at top of the page
image

After
Before toggling single page mode. Looking at page 12
image

After toggling single page mode. Looking at page 12 still
image

After toggling off single page mode. Looking at page 12 still, not page one
image

I kinda remember there being another bug, but the only bug I see is not being able to scroll after exiting normal mode. I didn't cause this I'm pretty sure as it exists on develop as well.

@aanthoonyy
aanthoonyy marked this pull request as ready for review August 1, 2026 20:08
@aanthoonyy aanthoonyy changed the title Work in progress for navigating next going up/down two pages Stop navigating next going up/down two pages Aug 13, 2026
@aanthoonyy

Copy link
Copy Markdown
Contributor Author

@sebastinas anything that you need cleared up here? We can close this pr as well if its not wanted/needed

@sebastinas

Copy link
Copy Markdown
Member

My problem with this PR is that it looks like a workaround for an issue elsewhere. If some navigation command moves too far, we should fix this at the source.

sebastinas added a commit that referenced this pull request Sep 14, 2026
This should be a proper fix for the issue reported in #987.
@aanthoonyy

Copy link
Copy Markdown
Contributor Author

I'll take a look. I assume the 'fix me' notes are for me?

@sebastinas

Copy link
Copy Markdown
Member

See #1030

@aanthoonyy

Copy link
Copy Markdown
Contributor Author

Ok, you can close this if he's got it

@sebastinas

Copy link
Copy Markdown
Member

Thanks for looking into!

@sebastinas sebastinas closed this Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants