[upstream] openoffice tango document icon is blurry when upscaled

Bug #163898 reported by Benjamin_L
8
Affects Status Importance Assigned to Milestone
OpenOffice
Confirmed
Unknown
openoffice.org (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

Yet another one

----
I'm currently experimenting with Avant Window Navigator on latest hardy and awn uses big icons for everything so icons that are not available as scalable or bigger ones are quite obvious as they are unsharp and not very pretty.

I'll continue to report icon bugs as I discover them.

See screenshot:
http://www.lebsanft.org/unsharp2.png

description: updated
Chris Cheney (ccheney)
Changed in openoffice.org:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote : Re: openoffice document icon is blurry when upscaled

That icon appears to be the one that is from openoffice's internal theming which does not use svg. There are scalable application icons available under /usr/share/icons/Human/scalable/apps/ that you can use. I don't think that the icon that you showed in the screenshot is normally used outside of openoffice itself. If it is please let me know where else it is used. Therefore I don't think this is really a bug.

Thanks,

Chris Cheney

Changed in openoffice.org:
status: Confirmed → Incomplete
Chris Cheney (ccheney)
Changed in openoffice.org:
importance: Wishlist → Undecided
Revision history for this message
Benjamin_L (benjamin-lebsanft) wrote :

So awn needs to change the location it searches for icons?

Revision history for this message
Chris Cheney (ccheney) wrote :

Yes, probably so. The icons that are generally used for openoffice applications are the ones named in the /usr/share/applications/ooo-*.desktop files. Which are located in

/usr/share/icons/hicolor/*/apps/ooo-*.png
/usr/share/icons/Human/*/apps/ooo-*.png

Changed in openoffice.org:
status: Incomplete → Invalid
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

I'd like to reopen this one. This is a bug in OO.o, and not in AWN. The icon OO.o uses for document windows is the same as that which is used in the toolbar for 'New Text/Chart/Base/Draw': in both place, it is blurry. This icon is different from that of each OO.O app in the themes.

What could be nice is that document windows use the icons for the corresponding OO.o app, this would be more consistent. And for 'New', different icon sizes should be shipped.

Changed in openoffice.org:
assignee: nobody → desktop-bugs
status: Invalid → Confirmed
Revision history for this message
Michael Monreal (mimox) wrote :

>> What could be nice is that document windows use the icons for the corresponding OO.o app
I second this. Mime icons make only sense in multi-document apps. While you could see OOo als multi-doc, as we have the app-(part) specific icons, let's use those.

Inside OOo we already have a nicely sized mime icon for 16x16 toolbars, providing the 22x22 (pr whatever the large toolbar is) should be trivial.

Revision history for this message
Chris Cheney (ccheney) wrote :

Ah I see what you are talking about now, the same icon that shows up when using alt-tab in metacity. The icons inside OOo (and this one too) are in a tarball under /usr/lib/openoffice/share/config/images_*.zip , they are not in the normal Gnome/KDE /usr/share/icons location. I am not sure how OOo transfers the image to the window manager, but even the low resolution image isn't on the disk in an uncompressed state (afaik). And I doubt there are any higher resolution copies of this image in the tarball since it would not get used by anything, except for this new window manager you are talking about.

Chris

Chris

Revision history for this message
Michael Monreal (mimox) wrote :

No this does not only affect AWN. Open writer, minimize it and alt-tab. You should see it (even better if you are using compiz). I don't know what gtk_window_set_icon_name does under the hood but that would be the right behavior. We have the required icons in hicolor/*/apps/* now, so why not make good use of them?

Revision history for this message
Chris Cheney (ccheney) wrote :

To get OpenOffice to use those icons would probably require rewriting how OOo works with all its images since it gets all of them out of the images_*.zip file. So just because we have some icons does not make it easy to use them. If you look a bit closer at how OOo works it does not use normal image themes at all. It has a few images in the normal locations but those are only for use by window managers/file managers/etc (mime icons, etc).

Chris

Revision history for this message
Michael Monreal (mimox) wrote :

Sure that but we a not talking about replaying the main interface icons but "only" the (internal) WM icon. I certainly don't feel like diving into a codebase like OOo but I suppose changing that can't bee too hard for a person who is experienced with OOo?

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Sure, using gtk_window_set_icon_name() would make more sense, we could report a bug upstream about that. And in the toolbar, this icon looks blurry too, so this is also a problem within OO.O itself.

Revision history for this message
Chris Cheney (ccheney) wrote :

I doubt upstream will fix this but I will send it to them to see what they say.

Changed in openoffice.org:
status: Confirmed → Triaged
Changed in openoffice.org:
assignee: desktop-bugs → nobody
Chris Cheney (ccheney)
Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

About the window icon issue, which is not dealt with by the upstream bug report: OO.o can do what they want internally to manage their icon themes. But as soon as we talk about window icons, we're not in OO.o: those are managed by the system (the window manager). Thus is makes much more sense that they give the window manager an icon name (just like using gtk_window_set_icon_name() ), and not an icon from the internal stock. On GNOME, OO.o developers can assume there's a system icon theme installed that will handle this gracefully.

Revision history for this message
Colon247 (colon247) wrote :

The original bug on this is that AWN show that ugly blurry icon from the Open Office program itself. AWN comes with the ability to change the icon per application. What you do is simply right click the icon you see on the dock and click change icon. Simply look for the png you want and presto you have a new neat looking icon. It is that easy. Well at least on the latest version of awn running on Ubuntu. Hope that helps work around this bug!

Changed in openoffice:
status: Unknown → Confirmed
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.