Open Bug 456577 Opened 15 years ago Updated 5 months ago

FF overrides mwm's Xresource-assigned icon when iconifying its own windows


(Firefox :: Shell Integration, defect)

3.0 Branch





(Reporter: aremo, Unassigned)




User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008071611 Red Hat/3.0.1-1.el5 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008071611 Red Hat/3.0.1-1.el5 Firefox/3.0.1

Mwm (the Motif window manager) has been instructed (via X resources) to use a certain icon for Firefox.

This works until a Firefox window is restored and iconified again. Upon re-iconifying, FF overrides the user-specified icon.

Reproducible: Always

Steps to Reproduce:
1. put the following line in your ~/.Xdefaults:
Mwm*Firefox*iconImage: /path/to/png_icon_48x48_of_your_choice.png

2. issue the command 'xrdb ~/.Xdefaults';

3. start mwm and Firefox;

4. iconify all Firefox windows.
Actual Results:  
The iconified windows bear a small icon, not the one specified.

Expected Results:  
The iconified windows should bear the icon specified in the ~/.Xdefaults file.

5. keeping Firefox's windows iconified, restart mwm via its "Root menu" (right-click on desktop);

6. Firefox's iconified windows now bear the correct icon (as specified in ~/.Xdefaults) until the next restoration and iconification.
A workaround for this problem is including this line:

Mwm**iconImageMinimum:          32x32

in your ~/.Xdefaults file. This prevents the ugly small icon from overriding the nice large icon of your choice. Of course, Firefox *shouldn't* replace the user-chosen icon in the first place, whether the above Xresource is specified or not.
Hi! Sorry that nobody has taken a look at this report yet and given feedback - manpower and time are unfortunately always limited in voluntarily-driven projects.

Can you please update to a recent and supported version, create a new profile (see and for more information), and test this again? 

If you still see this problem in the new profile, please add a comment to this report and tell us your exact version (by updating the "Version" field of this bug report) and your operating system (Windows, Mac OS, Linux, etc.). 

If the problem still happens but does not happen in the new profile, please enter the address "about:support" in the address bar and attach (using the "Add an attachment" link above) the output for your original profile (not the new profile), as the "Modified Preferences" section could be interesting. 

If the problem does not happen anymore at all, please set the status of this report to RESOLVED > WORKSFORME. Thanks for your help!
Version: unspecified → 3.0 Branch
Flags: needinfo?(aremo)
Yes, it still happens, even with a new profile. Firefox 16.0.2 and OpenMotif 2.3.3 on Linux.
Flags: needinfo?(aremo)
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.