Closed
Bug 870901
Opened 12 years ago
Closed 11 years ago
Make Edit control customizable
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: mconley, Assigned: mikedeboer)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:M6])
Attachments
(1 file, 8 obsolete files)
25.03 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
The Cut/Copy/Paste button in the panel needs to be able to be removed.
When it goes into a toolbar, it should be icons only, but still bound in the cut/copy/paste order.
The old individual cut, copy and paste buttons should be removed.
Reporter | ||
Updated•12 years ago
|
Blocks: australis-cust
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → mdeboer
Updated•12 years ago
|
Status: NEW → ASSIGNED
Comment 1•12 years ago
|
||
I just removed the existing buttons; please remember to update the code here:
https://hg.mozilla.org/projects/ux/diff/a17f84ab819e/browser/base/content/browser.js
as it'll need to check for the existence of the new edit controls.
Assignee | ||
Comment 2•12 years ago
|
||
This patch also re-adds the edit control styles that were removed from bug 873518.
Attachment #756517 -
Flags: review?(mconley)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #756517 -
Attachment is obsolete: true
Attachment #756517 -
Flags: review?(mconley)
Attachment #756551 -
Flags: review?(mconley)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #756551 -
Attachment is obsolete: true
Attachment #756551 -
Flags: review?(mconley)
Attachment #756576 -
Flags: review?(mconley)
Assignee | ||
Comment 5•12 years ago
|
||
Unbitrotted patch.
Attachment #756576 -
Attachment is obsolete: true
Attachment #756576 -
Flags: review?(mconley)
Attachment #756594 -
Flags: review?(mconley)
Reporter | ||
Comment 6•12 years ago
|
||
Can't seem to copy and paste non-form page content:
http://screencast.com/t/uV5AHpu932
Comment 7•12 years ago
|
||
(In reply to Mike Conley (:mconley) from comment #6)
> Can't seem to copy and paste non-form page content:
>
> http://screencast.com/t/uV5AHpu932
Is that a regression from this patch, or a separate bug that was already present?
(In reply to Jared Wein [:jaws] from comment #7)
> (In reply to Mike Conley (:mconley) from comment #6)
> > Can't seem to copy and paste non-form page content:
> >
> > http://screencast.com/t/uV5AHpu932
>
> Is that a regression from this patch, or a separate bug that was already
> present?
I've seen this for a little while now.
Reporter | ||
Comment 9•12 years ago
|
||
(In reply to Guillaume C. [:ge3k0s] from comment #8)
> (In reply to Jared Wein [:jaws] from comment #7)
> > (In reply to Mike Conley (:mconley) from comment #6)
> > > Can't seem to copy and paste non-form page content:
> > >
> > > http://screencast.com/t/uV5AHpu932
> >
> > Is that a regression from this patch, or a separate bug that was already
> > present?
>
> I've seen this for a little while now.
Ok, if that's the case, we don't block on it, but we should file a follow-up bug. I'll do that now.
Reporter | ||
Comment 10•12 years ago
|
||
Filed bug 878106.
Assignee | ||
Comment 11•12 years ago
|
||
I added the noautoclose=true attribute to the panel in bug 870897
Attachment #756594 -
Attachment is obsolete: true
Attachment #756594 -
Flags: review?(mconley)
Attachment #756822 -
Flags: review?(mconley)
Assignee | ||
Comment 12•12 years ago
|
||
Unbitsnotting
Attachment #756822 -
Attachment is obsolete: true
Attachment #756822 -
Flags: review?(mconley)
Attachment #756833 -
Flags: review?(mconley)
Reporter | ||
Comment 13•12 years ago
|
||
Comment on attachment 756833 [details] [diff] [review]
Re-add edit controls and make them customizable
Review of attachment 756833 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
::: browser/components/customizableui/src/CustomizableWidgets.jsm
@@ +383,5 @@
> return node;
> }
> + }, {
> + id: "edit-controls",
> + name: "Edit Controls",
If this lands first, please update your localization strings patch to account for this widget (and the zoom widget, I guess)
@@ +415,5 @@
> + label: "Paste",
> + tooltiptext: "Paste"
> + }];
> +
> + function setAttributes(aNode, aAttrs) {
See my comment in the Zoom control review about making this available to all widgets in CustomizableWidget.jsm.
Attachment #756833 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 14•12 years ago
|
||
Carrying over r=mconley
Attachment #756833 -
Attachment is obsolete: true
Attachment #757343 -
Flags: review+
Comment 15•12 years ago
|
||
Pushed: http://hg.mozilla.org/projects/ux/rev/ea38f867cc07
Note that this didn't touch the hunk I mentioned in comment #1, and possibly should have.
Mike (Conley), can we make that code just check for one of the buttons, or is the overflow stuff in the navbar going to make that not always work and should we check for all 3? Mike (de Boer) also told me he didn't see any issues enabling/disabling the buttons as-is. Just needinfo'ing you here to see what we do about this, if anything.
Flags: needinfo?(mconley)
Whiteboard: [Australis:M6] → [Australis:M6][fixed-in-ux]
Reporter | ||
Comment 16•12 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #15)
> Pushed: http://hg.mozilla.org/projects/ux/rev/ea38f867cc07
>
> Note that this didn't touch the hunk I mentioned in comment #1, and possibly
> should have.
>
Good point. I'll file a follow-up.
> Mike (Conley), can we make that code just check for one of the buttons, or
> is the overflow stuff in the navbar going to make that not always work and
> should we check for all 3?
I think we should be fine just checking for the root item - the cut, copy and paste buttons will always be contained in it, overflowed or not.
> Mike (de Boer) also told me he didn't see any issues enabling/disabling
> the buttons as-is. Just needinfo'ing you here to see what we do about this,
> if anything.
Yep, should still be fine.
Flags: needinfo?(mconley)
Reporter | ||
Comment 17•12 years ago
|
||
Backed out due to possibly introducing leaks:
https://hg.mozilla.org/projects/ux/rev/29f42f35c30e
Whiteboard: [Australis:M6][fixed-in-ux] → [Australis:M6]
Assignee | ||
Comment 18•12 years ago
|
||
addressed memory leak
Attachment #757343 -
Attachment is obsolete: true
Attachment #757676 -
Flags: review+
Assignee | ||
Comment 19•12 years ago
|
||
Unbitrotted patch. Carrying over r=mconley
Attachment #757676 -
Attachment is obsolete: true
Attachment #757872 -
Flags: review+
Comment 20•12 years ago
|
||
Pushed again: https://hg.mozilla.org/projects/ux/rev/eef2d494d353
Whiteboard: [Australis:M6] → [Australis:M6][fixed-in-ux]
Comment 21•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M6][fixed-in-ux] → [Australis:M6]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•