Recent

Author Topic: Icon file was loaded on macOS, but Linux app version shows broken icon  (Read 1272 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2574
    • UVviewsoft
File cudatext.ico was painted on macOS editor, and was OK applied to project settings on Windows.
=> Linux version of app now shows distorted icon, and IDE shows distorted icon in the project options too. And 'Browse for icon file' dialog in IDE shows distorted icon too.

 Screenshot added, and icon file added.
Is it bug of Lazarus on Linux?

I use FPC 3.2.3, Lazarus Git main.
Ubuntu 22.04 x64.
« Last Edit: May 17, 2025, 03:32:26 pm by AlexTP »

Ally

  • Jr. Member
  • **
  • Posts: 70
Linux can use *.ico, but only in a very limited way. Currently, the user interfaces and file managers can only read the first, uncompressed, icon in the ICO file.
I have changed the sort order in the attached icon. For me, icons sorted in this order work under both Windows and Linux.

n7800

  • Sr. Member
  • ****
  • Posts: 360
I remembered seeing a discussion of a similar issue on the bug tracker. Maybe someone will find some useful information.

Ally

  • Jr. Member
  • **
  • Posts: 70
Enclosed is a completely revised icon.
Together with all single icons in the formats .SVG and .PNG.

AlexTP

  • Hero Member
  • *****
  • Posts: 2574
    • UVviewsoft
Thanks @Ally, I used your fixed .ico file, I hope it won't break icon look on macOS/Win64.

What did you mean with 'a completely revised icon'? what is changed?
« Last Edit: May 19, 2025, 01:32:41 pm by AlexTP »

Ally

  • Jr. Member
  • **
  • Posts: 70
Hello AlexTP,

the new icon consists of the attached drawing files.
I have redrawn them with Inkscape. I made sure that the edges consist of whole pixels to avoid blurring.

AlexTP

  • Hero Member
  • *****
  • Posts: 2574
    • UVviewsoft
Thanks, but I don't see a benefit. I used your 1st cudatext.ico yet.


Ally

  • Jr. Member
  • **
  • Posts: 70
Hello AlexTP,

here are two more designs. Both are a bit more optimized and design two has a slight color gradient.
Maybe you have a use for it, if not, just delete it. ;)

AlexTP

  • Hero Member
  • *****
  • Posts: 2574
    • UVviewsoft
Thanks, but current icon was ok.

 

TinyPortal © 2005-2018