Closed
Bug 736014
Opened 14 years ago
Closed 14 years ago
"Copy rule" with some text selected copies that text additionally
Categories
(DevTools :: Inspector, defect, P1)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Firefox 14
People
(Reporter: rimas, Assigned: miker)
References
Details
(Whiteboard: [ruleview])
Attachments
(1 file)
|
2.17 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Open style inspector's Rules tab
2. Right-click on the name or value of any property. At least in Linux, the name/value will be selected and the context menu shown
3. Click on "Copy rule"
4. Paste the text elsewhere.
Here's an example of what I get when pasting:
body {
font: 14px/1.428 "Lucida Grande","Lucida Sans Unicode",Lucida,Arial,Helvetica,sans-serif;
14px/1.428 "Lucida Grande","Lucida Sans Unicode",Lucida,Arial,Helvetica,sans-serifcolor: rgb(51, 51, 51);
}
As you can see, the value was selected, because it gets pasted twice. This does happen with the latest nightly.
Comment 1•14 years ago
|
||
I think it's in Aurora too.
| Assignee | ||
Updated•14 years ago
|
Priority: -- → P1
Whiteboard: [ruleview]
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•14 years ago
|
||
I have tried to prevent the right mouse button from focusing the property editor but the context menu forces the element to focus in order to get the popupNode. Not showing the context menu would be confusing so allowing the editor to open, copy the rule and trim the cruft method is the best work around.
I don't think this is important enough to get into Aurora though.
Attachment #606211 -
Flags: review?(paul)
Comment 3•14 years ago
|
||
Comment on attachment 606211 [details] [diff] [review]
Patch
I think it's quite important as it just breaks the "copy rule" feature. Let's get that in Aurora.
Attachment #606211 -
Flags: review?(paul) → review+
Comment 4•14 years ago
|
||
Once this has landed, we should request for aurora approval.
Whiteboard: [ruleview] → [ruleview][land-in-fx-team]
Comment 5•14 years ago
|
||
Whiteboard: [ruleview][land-in-fx-team] → [ruleview][fixed-in-fx-team]
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [ruleview][fixed-in-fx-team] → [ruleview][fixed-in-fx-team
Target Milestone: --- → Firefox 14
Comment 7•14 years ago
|
||
This is still broken.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [ruleview][fixed-in-fx-team → [ruleview]
| Assignee | ||
Updated•14 years ago
|
Status: REOPENED → ASSIGNED
| Assignee | ||
Comment 8•14 years ago
|
||
Interesting, I don't see how it was possible for this to happen. I have rewritten the "Copy Rule" code in bug 740603 so hopefully this is fixed.
| Assignee | ||
Comment 9•14 years ago
|
||
This works fine for me.
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•