Skip to content

Progress bar is off in splash screen #2031

Closed

Description

@fedejeanne

Describe the bug
The progress bar is off when I start Eclipse with a zoom level of 175%

Hint: Ignore the black splash screen, it has already been reported here: for eclipse-platform/eclipse.platform.ui#2897.

Image

To Reproduce

  • Set the zoom level in Windows to 175%
  • Monitor-specific scaling should be active
  • Restart Eclipse

Expected behavior
It should look like this:

Hint: again, ignore the black splash screen

Image

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux (Haven't tested it)
    • macOS (Haven't tested it)

Version since
Caused by #2030 (@akurtakov )

Activity

  1. HeikoKlare commented on Apr 17, 2025

    @HeikoKlare
    Contributor

    Caused by #2030 (@akurtakov )

    Is the issue caused by setting useCairoAutoScale to true in DPIUtil even on non-Linux systems? So isn't the solution simply to initialize useCairoAutoScale = Platform.PLATFORM.equals("gtk") (and in the best case make that value a constant (i.e. final)?

  2. akoch-yatta commented on Apr 17, 2025

    @akoch-yatta
    Contributor

    Caused by #2030 (@akurtakov )

    Is the issue caused by setting useCairoAutoScale to true in DPIUtil even on non-Linux systems? So isn't the solution simply to initialize useCairoAutoScale = Platform.PLATFORM.equals("gtk") (and in the best case make that value a constant (i.e. final)?

    Probably yes.

  3. HeikoKlare commented on Apr 17, 2025

    @HeikoKlare
    Contributor

    Yeah, #2030 broke auto-scaling completely, not only for the splash screen:

    Image

    Should be easily resolved via:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions