style editor: pasting code via context menu duplicates code
Categories
(DevTools :: Style Editor, defect)
Tracking
(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox136 unaffected, firefox137 fixed, firefox138 fixed)
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox136 | --- | unaffected |
firefox137 | --- | fixed |
firefox138 | --- | fixed |
People
(Reporter: soeren.hentzschel, Assigned: tschuster)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
STR:
- Copy some code
- Open the style editor
- Use the context menu to paste the copied code
Actual:
The code is pasted twice.
Expected:
The code is pasted once.
Pasting via keyboard shorcut does not have this problem.
Comment 1•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Style Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 2•5 months ago
|
||
Turns out my first version of D238048 was actually correct. We seem to
get "command" events even for events not defined in <commandset
id="sourceEditorCommands">.
Assignee | ||
Updated•5 months ago
|
Comment 5•5 months ago
|
||
bugherder |
Comment 6•5 months ago
|
||
The patch landed in nightly and beta is affected.
:tschuster, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox137
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 7•5 months ago
|
||
Not sure if we need to uplift this, it doesn't seem super critical to me.
Comment 8•5 months ago
|
||
(In reply to Tom Schuster from comment #7)
Not sure if we need to uplift this, it doesn't seem super critical to me.
that's a regression, potentially super annoying and since I was told uplift are cheap, we might do it. Tom can you request it please?
Assignee | ||
Comment 9•5 months ago
|
||
Comment on attachment 9473928 [details]
Bug 1955854 - Only handle Style Editor specific commands. r?#devtools-reviewers,bomsy
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: Pasting in the Style Editor is broken
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Simple patch
- String changes made/needed:
- Is Android affected?: Yes
Updated•4 months ago
|
Updated•4 months ago
|
Comment 11•4 months ago
|
||
uplift |
Updated•4 months ago
|
Description
•