Closed
Bug 796148
Opened 13 years ago
Closed 13 years ago
Implement a 'gear menu'
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(1 file, 1 obsolete file)
34.05 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
We'll soon have two checkboxes in the debugger frontend UI: 'Pause on exceptions' and 'Hide non-enumerable properties'. Probably more in the near future. A gear-like menu holding all these options (like the Inspector used to have) is mandatory.
Comment 1•13 years ago
|
||
Here is an old patch from the pause-on-exceptions bug that displayed it as an option in a gear menu. It may be a good starting point.
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #1)
> Created attachment 666918 [details] [diff] [review]
> Old, bitrotted patch
>
> Here is an old patch from the pause-on-exceptions bug that displayed it as
> an option in a gear menu. It may be a good starting point.
Thanks!
Assignee | ||
Comment 3•13 years ago
|
||
I'm having a hard time deciding where to put this button. On the left? Right? Inspector had it on the left. I think it should be on the right (think of Australis menus).
Comment 4•13 years ago
|
||
(In reply to Victor Porof [:vp] from comment #3)
> I'm having a hard time deciding where to put this button. On the left?
> Right? Inspector had it on the left. I think it should be on the right
> (think of Australis menus).
I think it would make more sense on the right, especially if we move the close and full-screen buttons over there, as Brian suggested. But let's hear it from the horse's mouth :-)
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 5•13 years ago
|
||
There.
Attachment #666918 -
Attachment is obsolete: true
Attachment #674591 -
Flags: review?(past)
Comment 6•13 years ago
|
||
Comment on attachment 674591 [details] [diff] [review]
v1
Review of attachment 674591 [details] [diff] [review]:
-----------------------------------------------------------------
Nice! Perhaps the close button is special, but why don't you move the 'fullscreen' icon to the right as well, so that the gear doesn't feel lonely?
::: browser/locales/en-US/chrome/browser/devtools/debugger.dtd
@@ +36,5 @@
> <!ENTITY debuggerUI.closeButton.tooltip "Close">
>
> +<!-- LOCALIZATION NOTE (debuggerUI.prefsButton.tooltip): This is the tooltip for
> + - the button that opens up an options context menu for the debugger UI. -->
> +<!ENTITY debuggerUI.prefsButton.tooltip "Preferences">
Didn't we use 'Options' for the inspector gear menu? Does anyone remember? Does it matter?
@@ +47,5 @@
> <!-- LOCALIZATION NOTE (debuggerUI.showNonEnums): This is the label for the
> - checkbox that toggles visibility of hidden (non-enumerable) variables and
> - properties in stack views. -->
> <!ENTITY debuggerUI.showNonEnums "Show hidden properties">
> +<!ENTITY debuggerUI.showNonEnums.key "N">
Wouldn't 'H' make more sense, being the first letter of hidden?
::: browser/themes/winstripe/jar.mn
@@ +379,5 @@
> skin/classic/aero/browser/devtools/splitview.css (devtools/splitview.css)
> skin/classic/aero/browser/devtools/styleeditor.css (devtools/styleeditor.css)
> skin/classic/aero/browser/devtools/debugger.css (devtools/debugger.css)
> skin/classic/aero/browser/devtools/magnifying-glass.png (devtools/magnifying-glass.png)
> + skin/classic/aera/browser/devtools/option-icon.png (devtools/option-icon.png)
Typo: aero
Attachment #674591 -
Flags: review?(past) → review+
Assignee | ||
Comment 7•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #6)
> Comment on attachment 674591 [details] [diff] [review]
> v1
>
> Review of attachment 674591 [details] [diff] [review]:
> -----------------------------------------------------------------
>
Thanks!
> Nice! Perhaps the close button is special, but why don't you move the
> 'fullscreen' icon to the right as well, so that the gear doesn't feel lonely?
>
Ok.
> ::: browser/locales/en-US/chrome/browser/devtools/debugger.dtd
> @@ +36,5 @@
> > <!ENTITY debuggerUI.closeButton.tooltip "Close">
> >
> > +<!-- LOCALIZATION NOTE (debuggerUI.prefsButton.tooltip): This is the tooltip for
> > + - the button that opens up an options context menu for the debugger UI. -->
> > +<!ENTITY debuggerUI.prefsButton.tooltip "Preferences">
>
> Didn't we use 'Options' for the inspector gear menu? Does anyone remember?
> Does it matter?
>
Yeah, checked bug 724509, we used "Inspector Options". I'll change.
> @@ +47,5 @@
> > <!-- LOCALIZATION NOTE (debuggerUI.showNonEnums): This is the label for the
> > - checkbox that toggles visibility of hidden (non-enumerable) variables and
> > - properties in stack views. -->
> > <!ENTITY debuggerUI.showNonEnums "Show hidden properties">
> > +<!ENTITY debuggerUI.showNonEnums.key "N">
>
> Wouldn't 'H' make more sense, being the first letter of hidden?
>
How about when we'll get "Hide foobarbaz"? I can change it to H, but I'm curious about what you think.
Assignee | ||
Comment 8•13 years ago
|
||
(In reply to Victor Porof [:vp] from comment #7)
>
> How about when we'll get "Hide foobarbaz"? I can change it to H, but I'm
> curious about what you think.
Or maybe P for 'properties'?
Comment 9•13 years ago
|
||
(In reply to Victor Porof [:vp] from comment #8)
> (In reply to Victor Porof [:vp] from comment #7)
> >
> > How about when we'll get "Hide foobarbaz"? I can change it to H, but I'm
> > curious about what you think.
>
> Or maybe P for 'properties'?
Using 'F' for foobarbaz would be OK I'd think. But 'P' is OK, too.
Assignee | ||
Comment 10•13 years ago
|
||
Green on try: https://tbpl.mozilla.org/?tree=Try&rev=b21791666650
Assignee | ||
Comment 11•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 12•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 19
Comment 13•12 years ago
|
||
please change it back to a gear and stop mimicking chrome... D:
Assignee | ||
Comment 14•12 years ago
|
||
(In reply to rexyrexy2 from comment #13)
> please change it back to a gear and stop mimicking chrome... D:
It is a gear.
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•