eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

Find/replace overlay: cannot see underscores on Linux

Open trancexpress opened this issue 7 months ago • 6 comments

When I use the find-replace overlay and input a string with underscores, I cannot see them:

Image

This is with:

Eclipse SDK
Version: 2025-06 (4.36)
Build id: I20250414-1800

Screenshot is with Adwaita, I see the problem also with Breeze. I'm on RHEL 9.2 with KDE 5.27, if that makes a difference.

trancexpress avatar May 05 '25 11:05 trancexpress

Probably should be added to the list of medium issues in: https://github.com/eclipse-platform/eclipse.platform.ui/issues/2021

Unless I'm doing something wrong? I'm using a new workspace and Adwaita to check if the issue exists, to my knowledge those settings are as default as possible.

trancexpress avatar May 05 '25 11:05 trancexpress

I've added the issue with medium priority to the umbrella issue.

I tried to reproduce the issue via WSL, but there it looks as intended (on both X11 and Wayland): Image

Still your setup sounds rather default, so I would expect to see the same behavior as you do on a native Linux system. Maybe someone with a Linux system at hand can confirm. Otherwise I will have a look once I have my Linux laptop at hand again.

HeikoKlare avatar May 05 '25 12:05 HeikoKlare

This is how it looks on Fedora 42 with Adwaita:

Image

So this seems to have been fixed with newer versions, maybe even newer RHEL 9.x.

akurtakov avatar May 05 '25 14:05 akurtakov

I can't reproduce it with 4.35 (RHEL 9.2), so it must be some regression in 4.36.

Note: if one resizes editor area after entering text in the overlay search, underscore is shown.

iloveeclipse avatar May 05 '25 14:05 iloveeclipse

I can't reproduce it with 4.35 (RHEL 9.2), so it must be some regression in 4.36.

That's interesting. Then the regression must come from somewhere else than the find/replace overlay itself, as that one was not changed during 4.36 development (https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay/FindReplaceOverlay.java).

HeikoKlare avatar May 05 '25 14:05 HeikoKlare

That's interesting. Then the regression must come from somewhere else than the find/replace overlay itself, as that one was not changed during 4.36 development

I've double checked, in fact that was already on 4.35 - my previous test was using remote RHEL 7.9 window where everything was still OK.

iloveeclipse avatar May 05 '25 14:05 iloveeclipse