Skip to content

[fix] Red squares instead of gif images #101

Open
Dzordzu wants to merge 1 commit into
apache:masterfrom
Dzordzu:fixed-icons
Open

[fix] Red squares instead of gif images #101
Dzordzu wants to merge 1 commit into
apache:masterfrom
Dzordzu:fixed-icons

Conversation

@Dzordzu

@Dzordzu Dzordzu commented Jan 2, 2025

Copy link
Copy Markdown

Issue

Red squares are displayed in places where gif symbols were present.

Changes

  • Changed gif to png in all consts
  • Converted gif files to png
  • Updated xmls to include pngs

Image

Left side - issue
Right side - resolved (this PR)

image

Important notes

After the startup and before clicking 'LDAP Servers' and 'Search Logs' are still in red squares. After clicking the problem disappears.

image

* Changed gif to png in all consts
* Converted gif files to png
* Updated xmls to include pngs
@Dzordzu

Dzordzu commented Jan 2, 2025

Copy link
Copy Markdown
Author

Some background

After a recent update of the system my installation of the apache-directory-studio become unusable. I tried to build it from the source, but the effect was the same. After that I started my little investigation and found a similar issue in eclipse in 2024 (5yr ago)

System spec

  • Apache Directory Studio Version: 2.0.0.v20210717-M17
  • openjdk 17.0.13 2024-10-15
  • OpenJDK Runtime Environment 17.0.13_p11 (build 17.0.13+11)
  • OpenJDK 64-Bit Server VM 17.0.13_p11 (build 17.0.13+11, mixed mode, sharing)
  • 6.9.8-gentoo-dist
  • Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)

@Dzordzu

Dzordzu commented Jan 2, 2025

Copy link
Copy Markdown
Author

Also... reviewing it will be cumbersome. I'm sorry, but I couldn't find better way to do this

@Dzordzu Dzordzu changed the title Fixed issue with red squares [fix] Red squares instead of gif images Jan 2, 2025
@elecharny

Copy link
Copy Markdown
Contributor

Hi,
sorry for the (very) delayed response...

Seems connected to https://learn.microsoft.com/en-us/answers/questions/2543500/why-do-i-have-red-squares-instead-of-images-or-gif, but you didn't provided the OS you are running Studio on.

We could switch from gif to png.

Thanks for the report!

@Dzordzu

Dzordzu commented Jun 21, 2026

Copy link
Copy Markdown
Author

Hi!
I think I've provided all specs that were relevant to the issue. That includes the OS, kernel info, java-related stuff versions etc.

Also the link you pointed to seems irrelevant. The response present there suggest switching from IE to other browsers - quite useless for user (of a rolling release linux distro) having issues with the java app ;)

@elecharny

Copy link
Copy Markdown
Contributor

Indeed, I missed the added comment about the specs.
My perception is that this is somehow a cache issue: the gif images are expected to have been cached, but can't be found. Switching to png would only solve the pb for you, as the system will load the png and store it in the cache, but the initial issue (gif not anymore in the cache but the system thinks there are in) would remain.

Anyway, you wrote that you update your system, I guess you just updated your gentoo, or something more? I know its one year later, but do you remember what was updated?

Do you still have the issue with Studio?

PS: I really don't mind switching from gif to png, but I'm trying to understand what has caused the issue. I have Studio running on either Mac OS or Ubuntu with no issue regarding the image, but I want to get rid of "it works on my machine" vs "it fails on yours" ;-)

@Dzordzu

Dzordzu commented Jun 22, 2026

Copy link
Copy Markdown
Author

IIRC that was a system upgrade that mostly touched some java packages. And I recall removing (moving) entire config of AD Studio and still seeing that issues - the thing is I dunno if I also removed its cache dir.

I'll need to check if the UI is back to normal in that matter. After my stupid-but-working fix I did not focus on the UI too much. As long as AD Studio is readable I'm happy with it.

Btw, thanks for the reply! Even after some time it's good to see that this project is not fully dead. It's the last free, easy and working desktop browser for LDAP. I really liked it, and would be sad if it was archived or left to die ;)

@Dzordzu

Dzordzu commented Jun 22, 2026

Copy link
Copy Markdown
Author

Yep. It must have been some cache. After 1yr it looks to be working fine. However that's (little to say) interesting behavior.

Again thanks for the response!

@elecharny

Copy link
Copy Markdown
Contributor

Hi,

it's not going to die :-) We are currently working for a long needed release (5 years!) en the coming weeks.

Do you mind if I keep the gifs for the next release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants