Closed
Bug 239940
Opened 22 years ago
Closed 19 years ago
about:config - support for copying both name and value
Categories
(SeaMonkey :: UI Design, enhancement)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: marcia, Assigned: jag+mozilla)
References
Details
Attachments
(2 files, 3 obsolete files)
|
13.30 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
|
4.98 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
STEPS:
If you are trying to document a preference, you have to copy and paste twice
(once for name, once for value).
It would be easier if there were a way to copy both in one menu command. That
would save a lot of people a lot of time.
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
Updated•19 years ago
|
Severity: normal → enhancement
OS: Windows XP → All
Hardware: PC → All
Comment 1•19 years ago
|
||
I chose the format NAME:VALUE. I also took the liberty of binding
this command to the Accel+C key.
Attachment #252772 -
Flags: superreview?(neil)
Attachment #252772 -
Flags: review?(neil)
Comment 2•19 years ago
|
||
Alternatively we could make the Edit/Copy menuitem do this.
Comment 3•19 years ago
|
||
This is not intended to replace attachment 252772 [details] [diff] [review];
you might not like this approach or you might want a context menuitem anyway.
Attachment #252921 -
Flags: review?
Comment 4•19 years ago
|
||
Comment on attachment 252921 [details] [diff] [review]
Fix Ctrl+C and Edit/Copy only
Due to bugzilla dataloss you'll have to read my previous comment yourself :-(
Attachment #252921 -
Flags: review? → review?(mano)
Comment 5•19 years ago
|
||
(In reply to comment #2)
> Alternatively we could make the Edit/Copy menuitem do this.
Excellent, I didn't know how to fix that.
I'd still like to have it on the context menu though. Thunderbird for example
has about:config as a popup without menubar (launched from Preferences),
so there is no Edit menu.
Comment 6•19 years ago
|
||
Comment on attachment 252772 [details] [diff] [review]
Patch rev. 1
>+function copyPref()
>+{
>+ gClipboardHelper.copyString(gPrefView[view.selection.currentIndex].prefCol + ':' +
>+ gPrefView[view.selection.currentIndex].valueCol);
>+}
>+
Since we use that pref object twice I think it deserves a local, as in attachment 252921 [details] [diff] [review] (which needs to be changed to call copyPref of course). I also now think that we should use ";" as the separator and not ';' or "\t".
>+ <key key="©Pref.key;" modifiers="accel" oncommand="copyPref();"/>
Given attachment 252921 [details] [diff] [review] we'll need to remove this ;-)
>-<!ENTITY new.accesskey "N">
>+<!ENTITY new.accesskey "e">
Apparently consonants are preferred so this should be a w.
Attachment #252772 -
Flags: superreview?(neil)
Attachment #252772 -
Flags: superreview+
Attachment #252772 -
Flags: review?(neil)
Attachment #252772 -
Flags: review+
Comment 7•19 years ago
|
||
Comment on attachment 252772 [details] [diff] [review]
Patch rev. 1
Checked in with the points in comment 6 addressed.
Comment 8•19 years ago
|
||
Neil, I tried your patch (in SeaMonkey and Firefox) and it seems the Copy
menu item isn't highlighted in some situations.
For SeaMonkey:
1. type about:config ENTER in location bar (page loads, focus is on Filter)
2. TAB once (focus is on the list)
3. click on a row
4. click on the Edit menu => Copy is grey
For Firefox (the above seems to work)
1. type about:config ENTER in location bar (page loads, focus is on Filter)
2. click on a column header, e.g. "Preference Name"
3. click on a row
4. click on the Edit menu => Copy is grey
clicking in the Filter text box and then clicking on a row seems to fix it.
Also, CTRL+C works fine even though the menu item is grey...
Comment 9•19 years ago
|
||
I moved the addition of the controller until after the view was created.
I fixed the updating by calling updateCommands from the onselect handler.
Attachment #252921 -
Attachment is obsolete: true
Attachment #252949 -
Flags: review?(mats.palmgren)
Attachment #252949 -
Flags: review?(mano)
Attachment #252921 -
Flags: review?(mano)
Comment 10•19 years ago
|
||
Comment on attachment 252949 [details] [diff] [review]
Fix Edit/Copy
r=mats
Attachment #252949 -
Flags: review?(mats.palmgren) → review+
Comment 11•19 years ago
|
||
I think this broke 'about:config' in Camino: see bug 368457.
Comment 12•19 years ago
|
||
Not only does this add the controller to the tree but it now removes it too!
Attachment #252949 -
Attachment is obsolete: true
Attachment #253532 -
Flags: review?
Attachment #252949 -
Flags: review?(mano)
Comment 13•19 years ago
|
||
Comment on attachment 253532 [details] [diff] [review]
Fix Edit/Copy with Mano's comments
Sigh, when is Bugzilla going to fix its data loss issue :-(
Attachment #253532 -
Flags: review? → review?(mano)
Comment 14•19 years ago
|
||
Attachment #253532 -
Attachment is obsolete: true
Attachment #253547 -
Flags: review?(mano)
Attachment #253532 -
Flags: review?(mano)
Comment 15•19 years ago
|
||
Comment on attachment 253547 [details] [diff] [review]
Really fix Edit/Copy
r=mano
Attachment #253547 -
Flags: review?(mano) → review+
Comment 16•19 years ago
|
||
My patch is now in so this is all fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•