Closed
Bug 1376856
Opened 7 years ago
Closed 7 years ago
Focus is lost in chatzilla after typing in the input box and hitting enter/return
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | + | fixed |
firefox56 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | --- | unaffected |
People
(Reporter: Gijs, Assigned: m_kato)
References
Details
(Keywords: regression, stale-bug)
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
masayuki
:
review+
jcristau
:
approval-mozilla-beta+
|
Details |
STR:
1. open chatzilla ( installed from https://addons.mozilla.org/en-US/firefox/addon/16 )
2. type /nick foopy
3. hit enter/return
ER:
cursor remains in the input box and blinks, focus remains in the input box
AR:
cursor disappears, typing doesn't do anything, but input box still has focus highlight (on OS X, at least)
mozregression shows this regressed with bug 1370806. This reproduces on OS X, Windows and Linux. Could you take a look? Not sure if this is XUL-specific or if this change in behaviour is web-observable (which would not be so good).
Flags: needinfo?(masayuki)
Flags: needinfo?(m_kato)
Reporter | ||
Comment 1•7 years ago
|
||
Requesting tracking in case this affects the web. If it doesn't, it probably doesn't need to track, but my understanding is that XUL inputs are thin wrappers around html ones, so my default assumption is that the same issue is web-observable unless there's evidence otherwise.
Reporter | ||
Updated•7 years ago
|
Has Regression Range: --- → yes
Has STR: --- → yes
Assignee | ||
Comment 2•7 years ago
|
||
Caret seems to be after bonus node?
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #2)
> Caret seems to be after bonus node?
I'm not sure what this means and if it was a question for me - if so, please request needinfo. :-)
Flags: in-testsuite?
Assignee | ||
Comment 4•7 years ago
|
||
(In reply to :Gijs from comment #3)
> (In reply to Makoto Kato [:m_kato] from comment #2)
> > Caret seems to be after bonus node?
>
> I'm not sure what this means and if it was a question for me - if so, please
> request needinfo. :-)
Sorry for comment. That is root cause of this issue. This issue is kind of bug 1368544 and mozInlineSpellChecker::SpellCheckAfterEditorChange will return error...
Updated•7 years ago
|
status-firefox54:
--- → unaffected
status-firefox-esr52:
--- → unaffected
Updated•7 years ago
|
Flags: needinfo?(masayuki)
Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Assignee | ||
Comment 5•7 years ago
|
||
No longer occurs on 56 after landing bug 1375910. For 55, I might have to back out bug 1370806 from 55 tree.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8883241 [details]
Bug 1376856 - Backed out bug 1370806 part 2 from Firefox 55.
https://reviewboard.mozilla.org/r/154168/#review159324
Attachment #8883241 -
Flags: review?(masayuki) → review+
Updated•7 years ago
|
Assignee | ||
Comment 8•7 years ago
|
||
Comment on attachment 8883241 [details]
Bug 1376856 - Backed out bug 1370806 part 2 from Firefox 55.
Approval Request Comment
[Feature/Bug causing the regression]:
Bug 1370806
[User impact if declined]:
When using chatzilla that is old extension, focus might be lost by [enter] key.
[Is this code covered by automated tests?]:
No.
[Has the fix been verified in Nightly?]:
Yes
[Needs manual test from QE? If yes, steps to reproduce]:
please if possible. comment #0 has reproduce step.
[List of other uplifts needed for the feature/fix]:
Nothing
[Is the change risky?]:
Low. This is backed out only.
[Why is the change risky/not risky?]:
Back to old behavior.
[String changes made/needed]:
No.
Attachment #8883241 -
Flags: approval-mozilla-beta?
Updated•7 years ago
|
Flags: qe-verify+
Comment 9•7 years ago
|
||
Comment on attachment 8883241 [details]
Bug 1376856 - Backed out bug 1370806 part 2 from Firefox 55.
backout to fix a regression in beta55
Attachment #8883241 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•7 years ago
|
||
backout bugherder uplift |
Comment 11•7 years ago
|
||
I think this patch can actually land in m-c too, since this code right now is just doing unnecessary work... Selection::Collapse() already calls Clear() which does RemoveAllRanges().
Comment 12•7 years ago
|
||
This is an assigned P1 bug without activity in two weeks.
If you intend to continue working on this bug for the current release/iteration/sprint, remove the 'stale-bug' keyword.
Otherwise we'll reset the priority of the bug back to '--' on Monday, August 28th.
Keywords: stale-bug
Assignee | ||
Comment 13•7 years ago
|
||
This is workitem for test since we have already fixed on all channel. Down to P3.
Priority: P1 → P3
Assignee | ||
Updated•7 years ago
|
status-firefox60:
--- → unaffected
status-firefox61:
--- → unaffected
Assignee | ||
Comment 14•7 years ago
|
||
Original issue is fixed, so mark as WFM
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•