Open Bug 1405213 Opened 9 years ago Updated 4 years ago

The mouse caret is wrongly moved when you left / right click under a word on "Firefox Notes"

Categories

(Core :: DOM: Editor, defect, P3)

All
Windows
defect

Tracking

()

Tracking Status
firefox56 --- affected
firefox57 --- wontfix
firefox58 --- affected

People

(Reporter: mcoman, Unassigned)

References

Details

Attachments

(2 files)

Attached image caret.gif —
[Affected versions]: - Firefox Notes 1.8.0dev - Firefox 56 and up [Affected Platforms]: - All Windows [Prerequisites]: - Have a Firefox profile with the latest "Firefox Notes" add-on version (1.8.0dev) installed. [Steps to reproduce]: 1. Open the browser with the profiles from prerequisites. 2. Write a string in the "Notes" sidebar. 3. Left / right click anywhere under a word and observe the mouse caret position. [Expected result]: - Mouse caret remains in the same position. [Actual result]: - The mouse caret is moved in the word, above the mouse cursor. [Notes]: - The issue is also reproducible with the TxP version of "Firefox Notes". - If you right click under a misspelled word, the dictionary options are wrongly displayed in the context menu. - Attached a screen recording of the issue.
Flags: needinfo?(amckay)
I can't reproduce this, the mouse carat isn't moved horizontally when I click anywhere below the text from the TestPilot add-on at: https://testpilot.firefox.com/experiments/notes I'm not sure what the bug in WebExtensions here, its more likely in the sidebar code in Firefox but I'm not sure. I suggest getting a simpler use case if that's possible. Does this also occur if you don't run notes in the sidebar, you do this by accessing the page at: moz-extension://[internal uuid]/sidebar/panel.html Internal uuids can be found on about:debugging.
Flags: needinfo?(amckay)
Attached image issue.gif —
Yes the issue is also reproducible if I've opened "Firefox Notes" from "moz-extension://[internal uuid]/sidebar/panel.html" on Windows 10 x64. Attached a screen recording of the issue.
In that case the issue is more than likely in Firefox or the libraries used. At this point WebExtensions is just showing the page. Would suggest contacting the addon author.
Component: WebExtensions: General → General
Product: Toolkit → Firefox
The GitHub issue suggests this is a bug in contenteditable, so moving to the right component: https://github.com/mozilla/notes/issues/266
Component: General → Editor
Product: Firefox → Core
Is this on Windows only? I cannot reproduce this on my macOS 10.13.
Flags: needinfo?(marius.coman)
Yes, the issue is reproducible only on Windows.
Flags: needinfo?(marius.coman)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: