Open Bug 1793586 Opened 2 years ago Updated 1 year ago

Text recognition modal's line breaks aren't consistent when pulling continuous script texts from images

Categories

(Core :: DOM: Core & HTML, defect)

Unspecified
macOS
defect

Tracking

()

Tracking Status
firefox105 --- affected
firefox106 --- affected
firefox107 --- affected

People

(Reporter: pmagyari, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Note

  • Make sure "dom.text-recognition.enabled"=true in about:config.

Found in

  • Firefox Beta 106.0b7

Affected versions

  • Firefox 105.0.1
  • Firefox Beta 106
  • Firefox Nightly 107

Tested platforms

  • MacOS 10.15.7
  • MacOS 11.6
  • MacOS 12.4

Steps to reproduce

  1. Open Firefox
  2. Navigate to: https://i.imgur.com/Jhyl0Fy.png
  3. Right-click on the image to open the context menu and select "Copy text from image"

Expected result

  • Line breaks are added consistently (just like in the case of texts that have punctuation).

Actual result

  • Line breaks are not added consistently (or in some cases at all) in case of texts without punctuation.

Additional note

  • When pulling long continuous script text both the horizontal and vertical scrollbars overlap the text.

Regression range

  • This is not a regression.
Has STR: --- → yes
Assignee: nobody → gtatum
Assignee: gtatum → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: