Closed Bug 135455 Opened 24 years ago Closed 24 years ago

Missing chatzilla icon in Window dropdown menu

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fredbezies, Assigned: bugzilla)

References

Details

(Whiteboard: [driver:asa])

Attachments

(3 files, 4 obsolete files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9+) Gecko/20020404 BuildID: 2002040403 All is in the summary. Reproducible: Always Steps to Reproduce: 1.Go to window menu 2.Look at chatzilla menu line Actual Results: No icon Expected Results: Chatzilla icon I had only looked in classic theme.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Is this some sort of winXP issue? I don't understand why chatzilla "needs" an icon in the Window menu when no other app does. -> xpapps, recommend wontfix|invalid
Assignee: hyatt → blaker
Component: XP Toolkit/Widgets: Menus → XP Apps: GUI Features
QA Contact: shrir → paw
ALL the apps in the "window" menu have icons now (except chatzilla - hence this bug).
Comment on attachment 77686 [details] [diff] [review] Fix to make the irc graphic in the statusbar appear in window menu r=rginda
Attachment #77686 - Flags: review+
I don't think this is the proper patch. If you look at the fix for bug 128959, it uses separate images than are in the component bar. See attachment 76991 [details] [diff] [review].
The reason for this, by the way, is they eventually will be slightly different images so they look better in the menus. See bug 128965 for the new icons.
Depends on: 128965
I agree that this should all be in a css file, but this will fix the problem at hand. And since the statusbar icon is hardcoded into this file, I just made the patch in this file too.
I was referring more to the *-16.gif icons than the .css file. There should be a separate 16x16 icon for this.
I don't think it should be trivial. It looks rather strange not having the icon there.
Severity: trivial → normal
OS: Windows XP → All
Hardware: PC → All
Attached patch Patch part 1: XUL file (obsolete) — — Splinter Review
Same strategy as attachment 77686 [details] [diff] [review], but uses a 16x16 gif image.
Attachment #77686 - Attachment is obsolete: true
Chatzilla icon, 16x16, for the Window menu. This file needs to be placed in the chatzilla/images-folder.
I agree that on the long run we should not hardcode gif-path and name in chatzillaOverlay.xul, but this can be changed later together with the taskbar-icon. Right now this fixes the Window-menu. blaker, rginda, wouly you please take a look at the patch?
Keywords: patch, review
grumble grumble... I disagree that this should be hardcoded, but if I want that fixed I guess Ill file a bug myself and make a patch :)
Blocks: 138000
This patch adds a menu icon for chatzilla. Beside the changes to the xul-file, I created a new file chatzillaOverlay.css in the skin-subdirectory of chatzilla. This file also contains a reference to the chatzilla-taskbar-icon that was also hardcoded in the xul-file. Note: For the patch to work, the new files chatzillaOverlay.css and chatzilla-16.gif have to placed into the correct directories. Known issues: Somebody please add whatever license block is appropriate. This patch was made on W2K with patchmaker. I am not sure if this is the correct way to submit new files.
Attachment #79359 - Attachment is obsolete: true
http://mozilla.org/performance/tinderbox-tests.html Please runt the window open tests (Txul) with the patch to see if the extra css file causes any noticable perf hit.
Comment on attachment 79663 [details] [diff] [review] Patch, Part 1, V0.2: does not hardcode image paths any more r=andreww providing: 1) be sure to include the right license header text 2) you need a classic skin version of the .css file as well or chatzilla wont work when using classic. These can be basically the same, but they need to be in two different locations (one for modern, one for classic) You will probably also need to change some jar.mn files as well to get the .css file in the right place.
If you need any help testing or getting the right jar.mn stuff I'd be happy to help.
andreww: chatzilla has no classic skin currently. Neither in the chatzilla.jar nor the classic.jar there is a classic skin provided, so chatzilla always picks its files from modern (if there's only one skin for a package installed, it always is using that one)
re: Comment 15, from Robert: I run the window open test on W2K on a Pentium III 700. current code (taskbar icon hardcoded, no menu icon), 3 runs: Run# 1 2 3 avg of 3 ---------------------------------------- Avg 388 389 387 388 Min 370 370 370 370 Max 421 421 421 421 Median 381 381 381 381 new patch v0.2 (taskbar and menu icon in new Overlay-file), 4 runs: Run# 1 2 3 4 avg of 3 ------------------------------------------------- Avg 389 382 385 384 385 Min 370 370 370 361 368 Max 421 421 421 420 421 Median 381 371 380 381 378 old patch (taskbar and menu icon hardcoded), 3 runs: Run# 1 2 3 avg of 3 ---------------------------------------- Avg 388 390 391 390 Min 371 371 371 371 Max 430 421 431 427 Median 381 381 381 381 -> avg. time and txul median are the same or slightly smaller with the patch v0.2 (chatzillaOverlay.css) applied.
ups, sorry about that, it looked nice in the input field. The tabs have been changed to newline somehow. Next try: Window open test on W2K on a Pentium III 700. current code (taskbar icon hardcoded, no menu icon), 3 runs: Run# 1 2 3 avg of 3 ---------------------------------------- Avg 388 389 387 388 Min 370 370 370 370 Max 421 421 421 421 Median 381 381 381 381 new patch v0.2 (taskbar and menu icon in new Overlay-file), 4 runs: Run# 1 2 3 4 avg of 3 ------------------------------------------------- Avg 389 382 385 384 385 Min 370 370 370 361 368 Max 421 421 421 420 421 Median 381 371 380 381 378 old patch (taskbar and menu icon hardcoded), 3 runs: Run# 1 2 3 avg of 3 ---------------------------------------- Avg 388 390 391 390 Min 371 371 371 371 Max 430 421 431 427 Median 381 381 381 381 -> avg. time and txul median are the same or slightly smaller with the patch v0.2 (chatzillaOverlay.css) applied.
andreww: 1) Who is the right person to add the the right license header? I definitively need some help here in deciding which to put (BTW, presently there is no license header at all in chatzillaOverlay.xul, maybe we should put that too?). 2) As Robert Kaiser mentioned in comment 18, there is presently no classic theme for chatzilla, modern is picked up in all cases. I have tested my patch with both classic and modern. I also need help/advice how to add 2 files to the distribution, namely chatzillaOverlay.css and chatzilla-16.gif.
The correct license header is probably the MPL tri-license - this is a recent file, and rginda's given relicensing permission. Gerv
yes, tri-license please. And add the new files to jar.mn. Why add a "icon-chatzilla16" class when we can just key off the "tasksMenuIRC" ID? Other than that, it looks good to me.
The newly added file now has a MPL-tri-license-header, please check if it is correct (I could just guess what to put). I also added the two new files to the jar.mn-file. I removed the tasksMenuIRC-ID, since I need to add the "menuitem-iconic"-class anyway, and the tasksMenuIRC-ID is used nowhere else in the source any more.
Attachment #79663 - Attachment is obsolete: true
Andreas: Did you create the patch as an employee of "New Dimensions Consulting"? If not, put your own name in the .css as the Original Author. As for contributor lines, I'd say that * Andreas Premstaller <andreas.premstaller@uibk.ac.at> is more common than * Andreas Premstaller, andreas.premstaller@uibk.ac.at
I asked for help with the license header in comment 21. Can somebody please tell me what exactly to put in the fields Original Code, Initial Developer and Contributors, if this is of any importance. Christian, by Original Author, what do you mean, Initial Developer? I put Chatzilla, New Dimensions Consulting, and rginda and myself to this new file, following what is found in most other chatzilla-files. I am a free contributor. I put New Dimensions Consulting since I figured that this file, while new, was part of chatzilla where the Initial Developer is NDC. Should I put myself in that field?
>Christian, by Original Author, what do you mean, Initial Developer? yes, I did mean initial developer, sorry. > I put New Dimensions Consulting since I figured that this file, >while new, was part of chatzilla where the Initial Developer is NDC. Should I >put myself in that field? Yes. That field is for the author of that specific file, which is you. (unless you copied that file from somewhere, in which case you leave the license intact and only add yourself as a contributor)
*** Bug 138522 has been marked as a duplicate of this bug. ***
License, next try. And yes, there still is some code attached... :-)
Attachment #79936 - Attachment is obsolete: true
please style based on the ID, not a class name. IDs can be useful for other reasons, and are probably faster to match against than a class name for CSS purposes.
Robert, here are the requested changes. However, this now differs from the syntax common to the other xxxOverlay-files (xxx=mail, tasks, ...), and at the moment the ID is not used at any other place in the code.
Comment on attachment 80118 [details] [diff] [review] Patch, Part 1, V05, style menuitem-icon based on ID, not on class r=rginda
Attachment #80118 - Flags: review+
shouldn't the chatzilla menu item go into the file->new submenu too. All the other guys are there :-) Or is it a whole other bug?
re: comment 33, i would say no. for me that would clearly depend on bug 76175.
who can sr this? rginda, could you please drive this in since I will be away from all computers the next two weeks :-). Thanks!
Comment on attachment 80118 [details] [diff] [review] Patch, Part 1, V05, style menuitem-icon based on ID, not on class sr=ben@netscape.com
Attachment #80118 - Flags: superreview+
Comment on attachment 80118 [details] [diff] [review] Patch, Part 1, V05, style menuitem-icon based on ID, not on class a=asa (on behalf of drivers) for checkin to the 1.0 branch. Rob, can you get this landed today or tomorrow?
Attachment #80118 - Flags: approval+
andreww, if rginda doesn't get to this soon can you land it for us?
Whiteboard: [driver:asa]
Checked in to branch and trunk.
Checked in to branch and trunk.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
adding branch resolution keyword.
Keywords: fixed1.0.0
*** Bug 141705 has been marked as a duplicate of this bug. ***
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: