Closed
Bug 584847
Opened 14 years ago
Closed 14 years ago
Inspector panel buttons should have a pressed state (reticle)
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: msucan, Assigned: msucan)
Details
(Keywords: polish, Whiteboard: [patchclean:0930])
Attachments
(2 files, 3 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Currently, there are no visual indicators when the user is inspecting or not, or when the Style or DOM panels are enabled or not.
We should make sure that the buttons on the Inspector toolbar stay pressed when their functionality is enabled.
Updated•14 years ago
|
Whiteboard: [kd4b6]
Updated•14 years ago
|
Whiteboard: [kd4b6] → [kd4b7]
Updated•14 years ago
|
Severity: normal → blocker
Updated•14 years ago
|
Severity: blocker → normal
Whiteboard: [kd4b7]
Updated•14 years ago
|
Blocks: devtools924
Updated•14 years ago
|
Assignee: nobody → mihai.sucan
Assignee | ||
Comment 1•14 years ago
|
||
Proposed patch. The toolbar looks nicer now. :)
Attachment #476359 -
Flags: feedback?(rcampbell)
Assignee | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [patchclean:0917]
Comment 2•14 years ago
|
||
Comment on attachment 476359 [details] [diff] [review]
proposed patch
this is not really the styling I was hoping for with this bug.
I'd prefer to find some toolbar and button styling similar to what's in the bookmarks toolbar, but haven't had a chance to go digging for it. Maybe you'd like to
Attachment #476359 -
Flags: feedback?(rcampbell) → feedback-
Comment 3•14 years ago
|
||
Comment on attachment 476359 [details] [diff] [review]
proposed patch
Talked with mihai in irc and it sounds like this styles correctly on linux, so I'm betting we can either add in mac and windows styling on top or afterwards.
f+
Attachment #476359 -
Flags: feedback- → feedback+
Assignee | ||
Comment 4•14 years ago
|
||
Updated patch. This fixes a typo.
Thanks Robert for the feedback+!
Attachment #476359 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Whiteboard: [patchclean:0917] → [patchclean:0930]
Assignee | ||
Comment 5•14 years ago
|
||
Comment on attachment 479781 [details] [diff] [review]
updated patch
Asking for review from Dolske.
Attachment #479781 -
Flags: review?(dolske)
Comment 6•14 years ago
|
||
one comment on the unittest. We're checking the checked state on these buttons after the UI is closed. Seems kind of wrong. A better test would be to test the opening and closing of the panels and inspect mode with the inspector UI up.
Comment 7•14 years ago
|
||
sorry to follow-up with yet another comment about that test, but another alternative could be to put the individual panel check state tests (whew) into each panel's test. I.e., test the Style panel's check state in the style panel tests. Check the DOM panel tests in the DOM panel's tests, etc.
I'll leave which method you choose up to you.
Assignee | ||
Comment 8•14 years ago
|
||
Patch update 3.
Thanks Robert for your suggestion - good points. I have included code that toggles each panel on/off (and inspection), to check if their states are properly updated. I included this change in the initialization test, because to me it feels like these things belong there. The panel-specific tests are related to the panel implementations - not the more general aspects of how the Inspector works (open/close of each panel and all that). I hope this is fine.
Attachment #479781 -
Attachment is obsolete: true
Attachment #480147 -
Flags: review?(dolske)
Attachment #479781 -
Flags: review?(dolske)
Comment 9•14 years ago
|
||
an attempt at better bookmark styling for the Mac, impacts other platforms or requires updating to toolbar styling on windows and linux.
Reusing bookmark toolbar style rules to create "checked" buttons on the toolbar. Seems to blend well with the rest of the UI. Not sure if I should copy and paste those rules into another selector or not.
comments welcome.
Updated•14 years ago
|
No longer blocks: devtools924
Assignee | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> Created attachment 480594 [details] [diff] [review]
> Inspector toolbar update, with Mac styling
>
> an attempt at better bookmark styling for the Mac, impacts other platforms or
> requires updating to toolbar styling on windows and linux.
>
> Reusing bookmark toolbar style rules to create "checked" buttons on the
> toolbar. Seems to blend well with the rest of the UI. Not sure if I should copy
> and paste those rules into another selector or not.
>
> comments welcome.
On Linux there's some added padding for the inspector buttons.
If I copy the new CSS rule from the pinstripe theme over to the gnomestripe theme, the toolbar looks bad. I think on Linux the default was fine. Maybe we can do the style changes only for Mac?
Also, the patch does not include the changes I did for update 3 (attachment 480147 [details] [diff] [review]).
Comment 11•14 years ago
|
||
I changed this on the mac and windows (though incomplete there), to make it work. I think to do this properly we'll need to create a separate inspector toolbar button class and copy in the bookmark styling there. As it is, I've added the classes to the xul definitions which blew away your changes.
We probably need a combination of the two versions to work on all platforms.
Assignee | ||
Comment 12•14 years ago
|
||
(In reply to comment #11)
> I changed this on the mac and windows (though incomplete there), to make it
> work. I think to do this properly we'll need to create a separate inspector
> toolbar button class and copy in the bookmark styling there. As it is, I've
> added the classes to the xul definitions which blew away your changes.
>
> We probably need a combination of the two versions to work on all platforms.
Indeed. Shall I combine the two patches then? With the changes you suggested.
Comment 13•14 years ago
|
||
go for it!
Assignee | ||
Comment 14•14 years ago
|
||
Patch update 4.
I have combined the two patches. Please let me know if it's fine. If yes, I'll replace the one that is currently waiting for review.
Thanks!
(Please note that I was able to test only on Linux.)
Attachment #480594 -
Attachment is obsolete: true
Attachment #481902 -
Flags: feedback?(rcampbell)
Comment 15•14 years ago
|
||
Comment on attachment 480147 [details] [diff] [review]
patch update 3
AIUI this code isn't enabled in FF4 any more, so clearing review. Reflag when we start working on post-FF4 things.
Attachment #480147 -
Flags: review?(dolske)
Assignee | ||
Comment 16•14 years ago
|
||
This is no longer a valid bug report. Plans have changed.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Comment 17•13 years ago
|
||
Comment on attachment 481902 [details] [diff] [review]
patch update 4 (mac styling)
oh geez. This is old.
Attachment #481902 -
Flags: feedback?(rcampbell)
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•