Bug 152598 - New application and .odf icons are blurry on Windows taskbar at default 24x24px
Summary: New application and .odf icons are blurry on Windows taskbar at default 24x24px
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Galdam Jitsu
URL:
Whiteboard: target:7.6.0 target:7.5.0.0.beta2 tar...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-19 19:15 UTC by Pedro
Modified: 2023-03-13 07:25 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Icons in Windows 10 taskbar look very blurry (97.16 KB, image/png)
2022-12-19 19:15 UTC, Pedro
Details
Small icon in Start Menu also looks blurry (7.56 MB, image/png)
2022-12-19 19:17 UTC, Pedro
Details
Screenshot of LO 7.6 start menu icons on Windows 10 (115.03 KB, image/png)
2022-12-20 23:27 UTC, Stéphane Guillou (stragu)
Details
Icons in taskbar still are not looking good. (7.10 MB, image/png)
2022-12-22 10:02 UTC, Pedro
Details
Image with correct resolution size (716.88 KB, image/png)
2022-12-22 11:05 UTC, Pedro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro 2022-12-19 19:15:12 UTC
Created attachment 184246 [details]
Icons in Windows 10 taskbar look very blurry

The new application and .odf icons are not showing at proper resolution size on the taskbar and Start menu.
The taskbar icon uses 24x24 size, but I think they down-scale bigger icon sizes for this. Therefore the icons look very blurry.
For the Start menu I don't know.
Comment 1 Pedro 2022-12-19 19:17:26 UTC
Created attachment 184247 [details]
Small icon in Start Menu also looks blurry

Small icon (Impress icon) in Start Menu also looks blurry compared to medium icon (Base icon).
Comment 2 Pedro 2022-12-19 19:20:54 UTC
Tested version

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: pt-PT (pt_PT); UI: en-US
Calc: threaded
Comment 3 Heiko Tietze 2022-12-20 11:09:40 UTC
Stephane, is it possible for you to confirm the issue?
Comment 4 Stéphane Guillou (stragu) 2022-12-20 23:27:45 UTC
Created attachment 184278 [details]
Screenshot of LO 7.6 start menu icons on Windows 10

I think I am seeing the same as you. I used the magnifier to 200%, and placed some other default Windows apps closeby to compare. We could probably use a higher density.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4b67515418ee4f10071b3f0f2275ba37f32b0ae5
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded
Comment 5 Heiko Tietze 2022-12-21 06:32:30 UTC
Although the MSO Word icon looks more blurry to me than our Writer icon MSO seems to store the icons as resources in wordicon.exe (and co) but has a few *.ico in the office folder. One is lync.ico with these sizes: 16, 24, 32, 48, 64, 72, 96, 256 + 20, 40, 60 (plus some duplicates and a few icons with higher contrast; in total 23).

The MSDN page [1] says: "Application icons and Control Panel items: The full set includes 16x16, 32x32, 48x48, and 256x256 (code scales between 32 and 256). The .ico file format is required. For Classic Mode, the full set is 16x16, 24x24, 32x32, 48x48 and 64x64."

Our previous icons were 16, 22, 24, 32, 48, 64, 128, 256
the new icons are in 16, 32, 64, 128, 256

The MSDN page continues: "Quick Launch area: Icons will scale down from 48x48 in Alt+Tab dynamic overlays, but for a more crisp version, add a 40x40 to .ico file....
Additional sizes: These are useful to have on hand as resources to make other files (for example, annotations, toolbar strips, overlays, high dpi, and special cases): 128x128, 96x96, 64x64, 40x40, 24x24, 22x22, 14x14, 10x10, and 8x8."

Seems we are missing 24px and 48px, not sure about 22px and the 40px. Assigning the ticket proactively :-)

[1] https://learn.microsoft.com/en-us/windows/win32/uxguide/vis-icons
Comment 6 Heiko Tietze 2022-12-21 06:35:17 UTC
Addendum: 20/40px are used at 125% scaling and 120dpi (stated in the MSDN page)
Comment 7 Commit Notification 2022-12-21 13:35:55 UTC
galjit committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b0331b9839888028c44f3139e32043f0550b9450

tdf#152598 Add more assets into .ico files

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Commit Notification 2022-12-21 16:53:25 UTC
galjit committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/e74c1fb53bd436a67b7588791a2390e63463a5df

tdf#152598 Add more assets into .ico files

It will be available in 7.5.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Pedro 2022-12-22 10:02:30 UTC
Created attachment 184310 [details]
Icons in taskbar still are not looking good.

Tested in latest dev version:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2ce749a428d1df2c659ecfdaf2e151dd07d3f1b3
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: pt-PT (pt_PT); UI: en-US
Calc: threaded

In the Start menu the issue is fixed (as visible in attached picture), but in the taskbar Windows still isn't using the correct icons. They're still blurry.
Please don't mark bugs as fixed prior to testing from someone that confirms the fix.
Comment 10 Pedro 2022-12-22 11:05:12 UTC
Created attachment 184311 [details]
Image with correct resolution size

Correct resolution size. Don't know why it blew up the size so much.
Comment 11 Commit Notification 2023-03-11 18:09:48 UTC
Galdam committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d147ca1543ef91c54bee203cf71745b216e3b257

tdf#152598 Update .ico files

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2023-03-11 19:57:01 UTC
Galdam committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/940e0bd5161602572c8860fb59b157d5545a9c07

tdf#152598 Update .ico files

It will be available in 7.5.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.