Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]仍有部分书内链接跳转异常 #34

Open
2 of 5 tasks
Curious-r opened this issue Apr 26, 2022 · 0 comments
Open
2 of 5 tasks

[Bug]仍有部分书内链接跳转异常 #34

Curious-r opened this issue Apr 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Curious-r
Copy link

Curious-r commented Apr 26, 2022

Bug description / Bug 描述

上次提交后,大部分书内链接跳转行为已经恢复正常,但仍有小部分链接不能正常跳转到目的地。
经过反复测试,跳转不正常的书内链接有这样的共性:它们处在所处章节的第一页。
将书籍解包后,查看这些不能正常跳转的链接(实际为html锚点),确认书籍本身无错误,正常跳转的链接和不正常跳转的链接都具有正确的锚点标记。

Reproduce steps / 复现问题的步骤

1.打开干净阅读
2.点击《万历十五年》
3.打开目录,跳转至任何正式章节(第一到第七)
4.若本章第一页包含注释,点击它们,不能正常跳转
5.点击不在本章第一页的任何注释,可以正常跳转

注意:上述所说的一页,在双栏显示情况下指的是其中一栏。当调整阅读器宽度使注释标记不显示在本章第一页时,跳转会随之变得正常。反之,原本跳转正常的注释标记,若调整阅读器宽度使其显示在本章第一页,跳转也会随之变得不正常,说明跳转问题可能与代码对本章首页的处理相关。

Expected behavior / 预期行为

所有正确排版的书籍内链接都能正常跳转

Screenshot / 截图

跳转前
image

点击注释[1]跳转后(异常)
image

点击注释[2]跳转后(异常)
image

点击注释[3]跳转后(正常)
image

Application source / 应用来源

  • Microsoft Store
  • Github
  • Others / 其它

Other sources

No response

System version

  • Windows 11 21H2 (Build 22000)
  • Others / 其它

Other system versions / 其它系统版本

Dev 22598

Device / 运行设备

Tablet/平板或笔记本

Remark / 备注

No response

We are the world / 人人为我,我为人人

No response

@Curious-r Curious-r added the bug Something isn't working label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants