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

TOC navigation does not work. #2261

Closed
1 task done
CyrusYip opened this issue Jun 27, 2020 · 9 comments
Closed
1 task done

TOC navigation does not work. #2261

CyrusYip opened this issue Jun 27, 2020 · 9 comments

Comments

@CyrusYip
Copy link

CyrusYip commented Jun 27, 2020

Description

TOC navigation does not work on marktext 0.16.2 on Kubuntu 20.04 and windows10 2004.

  • Can you reproduce the issue?

Steps to reproduce

  1. open a file
  2. Ctrl + J
  3. Click a heading on the sidebar

Expected behavior:
Current page jumps to the heading
deepin-screen-recorder_typora_20200627160122

Actual behavior:
Current page just moves a bit.
deepin-screen-recorder_marktext_20200627155038

Link to an example: [optional]

Versions

  • Mark Text version: 0.16.2
  • Operating system: Kubuntu 20.04 / Windows10 2004
@pitastrudl
Copy link

Same issue on XUbuntu 18.04, version 0.16.2

@4l1fe
Copy link

4l1fe commented Aug 7, 2020

Same issue Kubuntu 18.04, Marktext 0.16.2.

I figured out it happens after zooming out over 100%. When i get back to 100% navigation works well.

@otie
Copy link

otie commented Apr 26, 2021

Can confirm the zoom-issue. If scale in windows 10 is set to something else than 100% the issue described above occurs. Works perfect with 100% scale.

@fsourd
Copy link

fsourd commented Apr 29, 2021

To refine, it seems to work if the scale factor is integer --force-device-scale-factor=2, which can be useful for 4K screens.

@YalandHong
Copy link

Possible duplicate of #1775

The problem also seems to appear when you search the document, i.e. using Ctrl+F.

Please close this issue if it helps. There're way too many duplicate issues in this repo. Thanks!

@CyrusYip
Copy link
Author

100% and 200% scale work for me.

marktext --force-device-scale-factor=1
marktext --force-device-scale-factor=2

Thanks to @4l1fe and @fsourd .

@CyrusYip
Copy link
Author

I closed this issue because it's a duplicate of #1775

@dessalines
Copy link

This is still an issue:

Mark Text: v0.16.3
Node.js: 12.18.3
Electron: 11.1.1
Chromium: 87.0.4280.88
OS: Linux x64 5.10.80-1-lts

@YalandHong
Copy link

This is still an issue:

Mark Text: v0.16.3
Node.js: 12.18.3
Electron: 11.1.1
Chromium: 87.0.4280.88
OS: Linux x64 5.10.80-1-lts

Yes, but it's a dup of #1775. Please upvote that issue and report your problems there. Thanks!

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

No branches or pull requests

7 participants