Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
354 stars 22 forks source link

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

Closed videosmith closed 3 months ago

videosmith commented 4 months ago

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

Cuperino commented 3 months ago

Appears to be a duplicate of: https://github.com/Cuperino/QPrompt-Teleprompter/issues/223

videosmith commented 3 months ago

My apologies. I did document more of why it happens due to vertical text positioning here.