[SOLVED] Unit Dependencies window — what does the red cross icon mean? lazarus / 13-General ---------------------------------------------------------------------- flowCRANE · 2022-09-02 14:22 What does the red icon with a cross next to some files in the Unit Dependencies window mean? Honestly, I have no clue, and no hint shows up with information explaining what's going on. An example in the attachment for an empty application project. ---------------------------------------------------------------------- balazsszekely · 2022-09-02 14:43 @furious programming QuoteWhat does the red icon with a cross next to some files in the Unit Dependencies window mean? Honestly, I have no clue, and no hint shows up with information explaining what's going on. An example in the attachment for an empty application project.\ I did take a quick look. Long story short, if unit A uses another unit in the implementation section, then Unit A will have that red overlay icon. PS: The icon name is: pkg_core_overlay.png, you can find it in $(LazarusDir)\Images\packages. ---------------------------------------------------------------------- flowCRANE · 2022-09-02 15:00 Ok, thank you @GetMem. If so, this overlay icon should be changed to something else, because adding unit to the uses list in the implementation section is not an error. Isn't it? ---------------------------------------------------------------------- balazsszekely · 2022-09-02 15:16 Quote from: furious programming on September 02, 2022, 05:00:14 pmOk, thank you @GetMem. If so, this overlay icon should be changed to something else, because adding unit to the uses list in the implementation section is not an error. Isn't it? Are you aware that with your latest comment, you basically auto- assigned yourself to design a new icon? ---------------------------------------------------------------------- marcov · 2022-09-02 15:54 I agree somewhat with Furious. The color Red should be saved for something that is wrong. ---------------------------------------------------------------------- balazsszekely · 2022-09-02 16:48 Quote from: marcov on September 02, 2022, 05:54:10 pmI agree somewhat with Furious. The color Red should be saved for something that is wrong. I also agree, but it's a low priority issue. If I change pkg_core_overlay with pkg_hierarchical, the dialog looks like this(see attached image). The tree like image suggest, that the unit depends on other units. This could be a quick solution. ---------------------------------------------------------------------- wp · 2022-09-02 17:40 I can ask Roland, maybe he has an idea for a better icon. ---------------------------------------------------------------------- flowCRANE · 2022-09-02 17:55 Quote from: GetMem on September 02, 2022, 05:16:35 pmAre you aware that with your latest comment, you basically auto-assigned yourself to design a new icon? Currently I have no good idea for the new overlay. Maybe the icon with two pages? ---------------------------------------------------------------------- balazsszekely · 2022-09-02 18:34 Quote from: wp on September 02, 2022, 07:40:31 pmI can ask Roland, maybe he has an idea for a better icon. That would be great! Roland can solve this issue in no time. Perhaps we should also implement some kind of legend, where each icon has a clear description. Again very low priority.