Cannot focus cursor in the textarea in the sidebar webextension
Categories
(WebExtensions :: General, defect, P2)
Tracking
(firefox-esr60 unaffected, firefox64 unaffected, firefox65 wontfix, firefox66 wontfix)
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox64 | --- | unaffected |
| firefox65 | --- | wontfix |
| firefox66 | --- | wontfix |
People
(Reporter: vladikoff, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
166.12 KB,
image/gif
|
Details |
Updated•7 years ago
|
Updated•7 years ago
|
| Reporter | ||
Comment 1•7 years ago
|
||
[Regression window]:
Considering the fact that this issue is not reproducible on latest Firefox Release and Beta builds, using the Mozregression tool I've managed to find the following regression window:
Last good revision: f17b7ba6d0aa737d4f69a0fc3206da8c539225e5
First bad revision: 8e88421b280c2afda62f4ba704ce29701c30549f
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f17b7ba6d0aa737d4f69a0fc3206da8c539225e5&tochange=8e88421b280c2afda62f4ba704ce29701c30549f
From the pushlog it seems that the Bug 1506547 has caused this regression.
Updated•7 years ago
|
Updated•7 years ago
|
Comment 2•7 years ago
|
||
What editor is this using? Is there any chance to upload to this bug an HTML test-case that reproduces the issue?
Comment 3•7 years ago
|
||
Moving to layout, P2 for now to figure out what's going on and if it's an issue with my patch or with the Notes experiment.
Random other question: Is there a way to inspect the HTML that the extension installs?
Comment 4•7 years ago
|
||
From a brief glance at https://github.com/mozilla/notes/blob/master/src/sidebar/index.html, it looks like this is using the "CKEditor".
To inspect/debug, you can go to about:debugging, scroll down to where Firefox Notes is, select "Debug". On the inspector pane of the window that opens, look to the top-right of the toolbar, there's two buttons. Select the left most one (not the ..., the split window like one), select "sidebar/index.html" and that should let you inspect it.
Comment 5•7 years ago
|
||
Ok, so the good think is that all the CKEditor demos work on Nightly, so there's definitely something specific to the add-on.
That's great, because I did check CKEditor before landing my patch, since it caused problems in some of the bugs that caused the hacks that my patch removed to creep in our codebase ;)
Anyhow, that's great to know, thanks! I'll try to take a look.
Comment 6•7 years ago
|
||
Ok, so this was fun as hell to find. The reason this bug happens only for the extension is:
The low-risk fix is:
https://github.com/mozilla/notes/pull/1431
Now, why in the world is there a -moz-user-select: none rule for the root element for web-extensions? I don't know. :bwinton, maybe you know?
There's a further incompatibility issue here, which is that we don't allow selecting elements with -moz-user-select: none if they're editables... Maybe we should change that.
Comment 7•7 years ago
|
||
I filed bug 1518339 for the interop issue between Blink and WebKit.
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
I wasn't involved in browser-style when it was created, I assumed this select statement was done for a reason. Removing it will affect all extensions that choose to enable browser_style. I think this should be thought through more.
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Per bug 1383910 comment 7 and the phabricator discussion this is the intended behavior, so I don't think there's a point in keeping this open. My fix to the extension should be merged instead, I guess, and we can fix bug 1518339 too on the layout side.
| Reporter | ||
Comment 11•7 years ago
|
||
This is now fixed in the Notes 4.1.2 release, sorry about the delay!
Comment 12•7 years ago
|
||
And I think this was resolved without my input, so I'm clearing my needinfo. 😉
Updated•7 years ago
|
Description
•