pixelated icons in pop up windows

Bug #225953 reported by James Legg
4
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Confirmed
Unknown
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mozilla-firefox

The icons in the pop up windows for allowing cookies or java-script pop up windows displays incorrectly.

Steps to reproduce:
-Set privacy options to ask how long to keep cookies for.
-Visit a web page that sets a cookie.

or

-Use a website that pops up a message box.

What happens:
-Box appears with pixelated icon on the left edge.

What should happen:
-Box appears with nicely scaled pretty icon on the left edge.

My system:
Description: Ubuntu 8.04
Release: 8.04
using package firefox 3.0~b5+nobinonly-0ubuntu3

I'm using the Tango theme, which has scalable icons.
I've attached my gtkrc theme file.

Tags: likely-dup
Revision history for this message
In , Steve-england (steve-england) wrote :

please do not request blocking for bugs that are not confirmed.

Revision history for this message
In , Jakub 'Livio' Rusinek (liviopl-pl) wrote :

ping

Revision history for this message
James Legg (lankyleggy) wrote :

Binary package hint: mozilla-firefox

The icons in the pop up windows for allowing cookies or java-script pop up windows displays incorrectly.

Steps to reproduce:
-Set privacy options to ask how long to keep cookies for.
-Visit a web page that sets a cookie.

or

-Use a website that pops up a message box.

What happens:
-Box appears with pixelated icon on the left edge.

What should happen:
-Box appears with nicely scaled pretty icon on the left edge.

My system:
Description: Ubuntu 8.04
Release: 8.04
using package firefox 3.0~b5+nobinonly-0ubuntu3

I'm using the Tango theme, which has scalable icons.
I've attached my gtkrc theme file.

Revision history for this message
James Legg (lankyleggy) wrote :
Revision history for this message
James Legg (lankyleggy) wrote :
Revision history for this message
James Legg (lankyleggy) wrote :
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 225953] Re: pixelated icons in pop up windows

On Fri, May 02, 2008 at 11:17:09PM -0000, James Legg wrote:
>
> ** Attachment added: "Screenshot of pop up box in gmail"
> http://launchpadlibrarian.net/14100243/popup.png
>

this is an issue with your theme. it most likely doesn't provide the
properly sized (or even scalable) icon for the warning dialog

Please let us know which theme you use so we can reassign accordingly

 affects ubuntu/firefox-3.0
 status incomplete
 importance low
 tag likely-dup

 affects ubuntu/firefox
 status invalid

 - Alexander

Changed in firefox:
status: New → Invalid
Revision history for this message
James Legg (lankyleggy) wrote :

Which theme?
- The Firefox theme is Firefox (default).
- The Icon theme (as I specified before) is Tango, and it does have a scalable version of that icon.
- The GTK theme is the one specified by the gtkrc file I attached before.

I have found that switching the GTK theme (and restarting firefox) to one that requests larger icons stops this from happening (without changing the icon theme). Furthermore, the size of the icon in Firefox is actually what is wrong, other applications use a smaller icon, as requested in the gtkrc file. The Firefox version actually seems to be that small icon scaled up, so if the icon was the right size, it wouldn't be pixelated.

Also I have found the menu icon for "page info" in the tools menu was pixelated, and the menu icons are abnormally small on the GTK theme too, so it is probably ignoring this line of my gtkrc:
gtk-icon-sizes = "panel=16,16 : gtk-menu=8,8 : gtk-button=10,10 : gtk-small-toolbar=10,10 : gtk-large-toolbar=16,16 : gtk-dialog=24,24 : gtk-dnd=24,24"
Other applications follow that line well, so I still think this is a bug in Firefox and not the theme.

I hope this helps.

Revision history for this message
Alexander Sack (asac) wrote :

On Tue, May 13, 2008 at 04:52:26PM -0000, James Legg wrote:
> Which theme?
> - The Firefox theme is Firefox (default).
> - The Icon theme (as I specified before) is Tango, and it does have a scalable version of that icon.
> - The GTK theme is the one specified by the gtkrc file I attached before.
>
> I have found that switching the GTK theme (and restarting firefox) to
> one that requests larger icons stops this from happening (without
> changing the icon theme). Furthermore, the size of the icon in Firefox
> is actually what is wrong, other applications use a smaller icon, as
> requested in the gtkrc file. The Firefox version actually seems to be
> that small icon scaled up, so if the icon was the right size, it
> wouldn't be pixelated.
>
> Also I have found the menu icon for "page info" in the tools menu was pixelated, and the menu icons are abnormally small on the GTK theme too, so it is probably ignoring this line of my gtkrc:
> gtk-icon-sizes = "panel=16,16 : gtk-menu=8,8 : gtk-button=10,10 : gtk-small-toolbar=10,10 : gtk-large-toolbar=16,16 : gtk-dialog=24,24 : gtk-dnd=24,24"
> Other applications follow that line well, so I still think this is a bug in Firefox and not the theme.
>
> I hope this helps.
>

Yes, but i am not sure how firefox should support such kind of manual
tweaking. Willl think about it. if there is no answer in two weeks,
please ping this bug report again.

 - Alexander

Revision history for this message
James Legg (lankyleggy) wrote :

2008/5/13 Alexander Sack <email address hidden>:
...
>
> Yes, but i am not sure how firefox should support such kind of manual
> tweaking. Willl think about it. if there is no answer in two weeks,
> please ping this bug report again.
>
> - Alexander
>

Any resolution yet?

James

Revision history for this message
Alexander Sack (asac) wrote :

On Tue, May 27, 2008 at 03:16:21PM -0000, James Legg wrote:
> 2008/5/13 Alexander Sack <email address hidden>:
> ...
> >
> > Yes, but i am not sure how firefox should support such kind of manual
> > tweaking. Willl think about it. if there is no answer in two weeks,
> > please ping this bug report again.
> >
> > - Alexander
> >
>
> Any resolution yet?

No, in parallel we should start looking for existing bug reports in
bugzilla.mozilla.org. Maybe there is a match and someone is already
working on it.

 affects firefox
 status incomplete

if there is no such bug we should open one and follow up with the
required information there.

 - Alexander

Revision history for this message
James Legg (lankyleggy) wrote :

It seems to be a superset of the bug here:
"icons in menus do not respect gtk-icon-sizes" https://bugzilla.mozilla.org/show_bug.cgi?id=412073

Revision history for this message
Alexander Sack (asac) wrote :

On Tue, Jun 03, 2008 at 10:53:10AM -0000, James Legg wrote:
> It seems to be a superset of the bug here:
> "icons in menus do not respect gtk-icon-sizes" https://bugzilla.mozilla.org/show_bug.cgi?id=412073
>

Thanks. Connecting bugs accordingly.

 - Alexander

Revision history for this message
In , Alexander Sack (asac) wrote :

Confirming. We use this now to track ubuntu bug:

 https://bugs.edge.launchpad.net/ubuntu/+source/firefox/+bug/225953

Changed in firefox:
importance: Undecided → Unknown
status: Incomplete → Unknown
Revision history for this message
Alexander Sack (asac) wrote :

we will use the upstream task to track this. No ubuntu specific task required.

Changed in firefox-3.0:
status: Incomplete → Won't Fix
Revision history for this message
Alexander Sack (asac) wrote :

well. lets keep this open in ubuntu as well to better catch duplicates.

Changed in firefox-3.0:
status: Won't Fix → Triaged
Changed in firefox:
status: Unknown → Confirmed
Changed in firefox:
importance: Unknown → Medium
no longer affects: firefox-3.0 (Ubuntu)
Revision history for this message
In , Karlt (karlt) wrote :

This is essentially the cause of menu icon sizes changing with CSS pixel scaling.

Revision history for this message
In , Karlt (karlt) wrote :

I guess fixing this would require support from LookAndFeel and a new length unit or value.

Changed in firefox:
importance: Medium → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.