Bug 94547 - Maintain aspect ratio when scaling mail folder icons
Summary: Maintain aspect ratio when scaling mail folder icons
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: folder list (show other bugs)
Version: 1.5.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-12-06 17:13 UTC by Tristan Miller
Modified: 2008-09-16 20:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2004-12-06 17:13:57 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    SuSE RPMs

Steps to reproduce:

1. right click on a mail folder
2. Properties
3. General
4. check Folder Icons->Use custom icons
5. click Normal icon button
6. Browse...
7. Navigate through your file system to find and select any non-square graphic file (i.e., a graphic with dimensions w×h, where w != h)
8. Open

Observed behaviour:

The icon shown is now scaled to 16×16, resulting in an ugly, stretched appearance.

Expected behaviour:

If w > h, the icon should have been scaled to 16×(16h/w) and vertically centered.
If h > w, the icon should have been scaled to (16w/h)×16 and horizontally centered.
Comment 1 Dominik Tritscher 2008-09-14 18:14:43 UTC
This seems to be fixed in KDE4 (testing with kmail from trunk r860647).
Comment 2 Jaime Torres 2008-09-16 20:04:06 UTC
works for me also in trunk.