Closed
Bug 646519
Opened 14 years ago
Closed 13 years ago
DOM Inspector's window icon isn't shown in FF4
Categories
(Other Applications :: DOM Inspector, defect)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glenn, Assigned: javirid)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
2.31 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier:
DOM Inspector's window icon is no longer being used in FF4.
This looks like it's due to this change:
https://developer.mozilla.org/en/Bundles#Platform-specific_files
I often have 2-3 Inspector windows open along with 3-4 Firefox windows, and they're much harder to distinguish now. I've temporarily worked around this locally by moving the WINNT icon into the main component (chrome/icons/default/winInspectorMain.ico).
Reproducible: Always
Can confirm on Linux too, FF5 and FF7. The DOM Inspector icon is the same as the main FF icon.
Assignee | ||
Updated•13 years ago
|
OS: Windows Server 2003 → All
Hardware: x86 → All
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → leofigueres
Assignee | ||
Comment 2•13 years ago
|
||
I have been able to fix it in both Windows and Linux (here I had to switch to Gnome to see the icon, as Unity doesn't likes to show it on a bar).
The problem is that the solution doesn't allow to use the icon file for OS/2, as it share name with Windows one.
I will try to fix it for OS/2 also. Anyone have an idea? There is a way to install files depending of the OS by using flags. But it is seems that this is useless for this directory. Will try, anyway.
My patch installs ico and xpm files to the directory chrome/icons/defaults instead of the now disallowed platform/ directory, as "recommended" by extensions documentation at MDN.
Comment 3•13 years ago
|
||
I'm not sure we even build for OS/2 anymore, so I wouldn't spend too much time worrying about it.
Assignee | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•13 years ago
|
||
Changes location of the window icons for Linux and Windows, following the new policy of XUL that doesn't allow resources to have platform specific directories.
As icons are loaded by name and OS/2 uses exact match name as Windows, OS/2 icons are removed from the repository.
Attachment #575682 -
Flags: review?(Sevenspade)
Assignee | ||
Comment 5•13 years ago
|
||
ping
Updated•13 years ago
|
Attachment #575682 -
Flags: review?(neil)
Comment 6•13 years ago
|
||
Comment on attachment 575682 [details] [diff] [review]
Applies to the no-platform-especific-dirs policy and removes OS/2 icon.
>+ $(NSINSTALL) -D $(FINAL_TARGET)/chrome/icons/default
>+ $(INSTALL) $(srcdir)/resources/content/res/Linux/winInspectorMain.xpm $(FINAL_TARGET)/chrome/icons/default
>+ $(INSTALL) $(srcdir)/resources/content/res/Linux/winInspectorMain16.xpm $(FINAL_TARGET)/chrome/icons/default
>+ $(NSINSTALL) -D $(FINAL_TARGET)/chrome/icons/default
Don't need to do this twice. r=me with the second one removed.
Attachment #575682 -
Flags: review?(neil) → review+
Assignee | ||
Comment 7•13 years ago
|
||
Patch with the additional useless NSINSTALL removed.
Asking for check-in if nor Neil neither Colby has anything to comment.
Thank you for the review, Neil.
Attachment #575682 -
Attachment is obsolete: true
Attachment #575682 -
Flags: review?(Sevenspade)
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 8•13 years ago
|
||
Comment on attachment 582609 [details] [diff] [review]
patch
(Marking r+ for completeness)
Attachment #582609 -
Flags: review+
Comment 9•13 years ago
|
||
Pushed changeset d4753a1a170f to dom-inspector.
Updated•13 years ago
|
Blocks: DOMi2.0.11
You need to log in
before you can comment on or make changes to this bug.
Description
•