Skip to content

Less than 120% Line Height Causing Multiple Extra Rectangles When Highlighting #28

@ddewett

Description

@ddewett

Issue: Using a line height under 120% causes extra highlighting rectangles to appear. Rectangles dynamically disappear when line height is greater than or equal to 120% (negative line heights also remove rectangles as this setting sets 120%).

Platform: Linux

Settings:

  • Font - Default
  • Font Size - 100%
  • Font Weight - 400
  • Word Spacing - 0px
  • Line Height - 100%
  • Reader Margins - 25%
  • Paragraph Spacing - default
  • Theme - Any

Steps:

  1. Display text that covers multiple lines.
  2. Highlight text with mouse and apply color using popup. I have not determined what is causing the extra rectangle, so highlighting large sections of text is the best option to see this effect.
  3. Some text will have multiple rectangles applied, this presents an inconsistent view to the user.

Showing one duplicate rectangle at 115%
Screenshot from 2024-01-10 21-10-19

Showing multiple duplicate rectangles at 110%
Screenshot from 2024-01-10 21-11-14

Showing no duplicate rectangles at 0%
Screenshot from 2024-01-10 21-11-00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions