Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background window not grayed out when a modal window is open on Linux/Gnome #2388

Open
Zlika opened this issue Oct 11, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Zlika
Copy link

Zlika commented Oct 11, 2024

I repost this bug from eclipse-platform/eclipse.platform.swt#1416 because I don't know if it's a SWT or platform.ui problem. Sorry for that.

Describe the bug
When a modal dialog box is open, the default behavior under Gnome is to gray out the background window. This was the (expected) behavior on old versions of the Eclipse IDE (up to Eclipse 4.4/SWT 3.103). However, more recent versions of Eclipse/SWT (starting from Eclipse 4.5/SWT 3.104 up to the latest version) seem to change this behavior, and the background is no longer grayed out when a modal dialog is open.

To Reproduce
Open a recent version Eclipse under Linux/Gnome and open the "About Eclipse" modal dialog: the background is not grayed out.

Expected behavior
The background should be grayed out when a modal dialog box is open to be consistent with the Gnome look'n feel.

Screenshots
"About Eclipse" dialog box with Eclipse 4.4:
eclipse4 4
"About Eclipse" dialog box with Eclipse 4.5:
eclipse4 5

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
    Debian 12.6 with Gnome Desktop

  2. JRE/JDK version
    Any.

Version since
Eclipse or SWT version since when the behavior is seen: Eclipse 4.5 / SWT 3.104.

Workaround (or) Additional context
I would love to know if a workaround exists.

@Zlika Zlika added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant