Skip to content

Find location Issue with high DPI scaling #1947

Description

@1-2-3

Description

Win10, the display scale of the system is 125%, MarkText version is v0.16.1 when the document content is more than one page, the use of the search function, find the next matching text automatic positioning function failed. If the display scale of the system is adjusted to 100%, the automatic locating function of finding the next matching text will return to normal.

  • Can you reproduce the issue?

Steps to reproduce

  1. Set the system display scaling ratio to 125% in Windows 10
  2. Open the document with marktext
  3. Ctrl + F, Look for the text that appears on the next page; the document does not automatically scroll to where the text appears
  4. Set the system display scaling ratio to 100% in Windows 10
  5. Repeat steps 2 and 3 to find that the function is back to normal

Expected behavior: The find function is also normal at 125% of system display

Actual behavior: The find function is also normal at 125% of system display

Link to an example: [optional] The find function is only normal if the system displays a 100% ratio

gif:

marktext

Versions

  • Mark Text: v0.16.2
  • Operating system: Win10 19042.450

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/ui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions