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

Cursor focus moves when switching between normal and small fonts #245

Closed
videosmith opened this issue Mar 3, 2024 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@videosmith
Copy link

Bug Description
When cycling between normal and small font sizes, unless beginning of paragraph coincides with the middle of the prompt window, cursor position moves.
Also appears to occur when paragraph spacing is >000%

Steps to Reproduce

  1. Load attached long test file
  2. Pick a paragraph, center the beginning in the middle of a full-screen QPrompt window, and place the cursor at the beginning.
  3. Cycle between the normal and AA font sizes, cursor should remain where it was placed.
  4. In the normal size, slightly scroll the script so the selected paragraph is either lower or higher than the center.
  5. Repeat the cycling. Cursor should reposition at another place in the script.
  6. Place cursor at the beginning of a paragraph, adjust paragraph spacing, cursor moves.

Expected behavior
Cursor should always position where is was placed regardless of script position

screen

test.html.zip

Device information

  • Operating System: Debian Bookworm, latest updates
@Cuperino Cuperino added the duplicate This issue or pull request already exists label Mar 3, 2024
@Cuperino
Copy link
Owner

Cuperino commented Mar 3, 2024

Appears to be a duplicate of: #223

@videosmith
Copy link
Author

videosmith commented Mar 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants