Open Bug 1895463 Opened 5 months ago Updated 3 months ago

There should be a clear separation between the multiple selections of text that are translated

Categories

(Firefox :: Translations, enhancement)

Desktop
All
enhancement

Tracking

()

Tracking Status
firefox-esr115 --- disabled
firefox125 --- disabled
firefox126 --- disabled
firefox127 --- affected

People

(Reporter: danibodea, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Note

  • When a user selects multiple strings of text and triggers the Select Translations panel, there should be a clear separation between the translated parts in the panel.

Found in

  • Nightly 127.0a1

Affected versions

  • Nightly 127.0a1

Tested platforms

  • Affected platforms: all
  • Unaffected platforms: none

Steps to reproduce

  1. Ensure Select Translations is enabled.
    browser.translations.select.enable = TRUE
  2. Load a webpage that is displayed in a different language than the browser's (and supported).
    https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Accueil_principal
  3. Select multiple bits of text (using the mouse, while holding down the CTRL button)
  4. Open the context menu and select the "Translate Selection to <browser language>" option.

Expected result

  • The panel should show a clear separation between the multiple translated bits of text.

Actual result

  • The panel displays the multiple translated selections of text one after the other and even joins the 2 parts together

Regression range

  • Not a regression.

Additional notes

Blocks: 1870363
Severity: -- → S3
Has STR: --- → yes
OS: Unspecified → All
Hardware: Unspecified → Desktop

Thanks for filing. This needs to be fixed in the multiple text selection code itself, and is an existing issue.

nsContextMenu.selectionInfo.fullText doesn't add spaces between different chunks of text.

Blocks: 1896392
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: