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

Minimize/Maximize Icons Scaled Incorrectly #117

Open
HeikoKlare opened this issue Aug 26, 2024 · 1 comment
Open

Minimize/Maximize Icons Scaled Incorrectly #117

HeikoKlare opened this issue Aug 26, 2024 · 1 comment
Assignees
Labels
HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Milestone

Comments

@HeikoKlare
Copy link
Contributor

HeikoKlare commented Aug 26, 2024

The minimize/maximize icons of part stacks are scaled incorrectly under specific conditions. This is how it looks like:
Image

Note: I was only able to produce this issue in dark mode so far.

How to reproduce

You can reproduce the behavior as follows:

  1. Set up at least two monitors with different zoom values (e.g., 100% and 125%)
  2. Start an Eclipse application with rescaling on runtime activated (and auto scale mode quarter).
  3. Place the workbench window on the 100% monitor. Note: if you move it between both monitors now, the minimize/maximize icons will be rescaled correctly.
  4. Move the workbench window from the 100% to the 125% monitor.
  5. Change focus to another application on the 100% monitor.
  6. Move the workbench window from the 125% to the 125% monitor.

Now the icons are scaled incorrectly for the active part stack. As soon as you switch focus to some other application again, the icons will be rescaled correctly.

Image

@HeikoKlare HeikoKlare added SWT Issue for SWT HiDPI A HiDPI-Related Issue or Feature labels Aug 26, 2024
@vi-eclipse vi-eclipse deleted a comment Aug 26, 2024
@akoch-yatta akoch-yatta self-assigned this Aug 26, 2024
@akoch-yatta
Copy link

Had a look at it and know where the issue comes from. I'll try to find a good fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Projects
Status: 🏗 In Work: Short
Development

No branches or pull requests

2 participants