Skip to content

Links in empty Package Explorer are cut off #2003

Closed

Description

@iloveeclipse

I'm using Windows 11 with 125% monitor scaling.
It looks like one of the recent changes broke the dimensions calculation for Link elements, because they are cut off now:

Image

Switching "Monitor specific UI scaling" off fixes the problem:

Image

Note: I have a notebook with a single built-in monitor and no other monitors connected to it.

Activity

  1. iloveeclipse commented on Apr 6, 2025

    @iloveeclipse
    MemberAuthor

    @HeikoKlare : eclipse-platform/eclipse.platform.ui#2868 is the trigger for the preference being enabled now, but I guess the real bug in in SWT.

  2. self-assigned this
    on Apr 7, 2025
  3. fedejeanne commented on Apr 7, 2025

    @fedejeanne
    Member
  4. fedejeanne commented on Apr 7, 2025

    @fedejeanne
    Member

    My initial analysis revealed that the issue is in the GridLayout class, which sometimes passes the wrong childHeight to setBounds(...) here:

    child.setBounds (childX, childY, childWidth, childHeight);

    I noticed that this only happens with certain widths and when changing to monitors with zoom != 100. Decreasing the width of the panel forces a recalculation and it fixes the issue. Increasing the width again reproduces the issue.

    I'm going to look at it more in detail later this week and try to propose a fix. If anyone has an idea, it's appreciated.

  5. fedejeanne commented on Apr 8, 2025

    @fedejeanne
    Member

    Caused by #1769 (@akoch-yatta)

  6. HeikoKlare commented on May 5, 2025

    @HeikoKlare
    Contributor

    Reopening as the solution attempt introduced a regression and had to be reverted: #2095

    We will propose an updated fix soon.

  7. deepika-u commented on May 20, 2025

    @deepika-u
    Contributor

    Hi, I still see this issue on latest build Eclipse SDK Version: 2025-06 (4.36), Build id: I20250519-1800, OS: Windows 11, v.10.0, x86_64 / win32, Java vendor: Oracle Corporation, Java runtime version: 24+36-3646, Java version: 24

    I am on default scaling provided by windows 11(125% recommended) on my laptop.

    Image

  8. HeikoKlare commented on May 20, 2025

    @HeikoKlare
    Contributor

    I can confirm that this also happens for me in the Git repositories view with the same configuration:
    Image

    It does not occur for the package explorer though.

  9. added a commit that references this issue on Jul 14, 2025
  10. fedejeanne commented on Aug 5, 2025

    @fedejeanne
    Member
  11. HeikoKlare commented on Aug 5, 2025

    @HeikoKlare
    Contributor

    Just for the sake of completeness: the additionally reported Git repositories view issue has been resolved in EGit: eclipse-egit/egit@bd9874c

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

Metadata

Metadata

Assignees

Labels

WindowsHappens on Windows OSbugSomething isn't workingregressionSomething that used to work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions