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

Incorrect scaling of program icons #186

Open
HeikoKlare opened this issue Jan 17, 2025 · 3 comments
Open

Incorrect scaling of program icons #186

HeikoKlare opened this issue Jan 17, 2025 · 3 comments
Assignees
Labels
Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature
Milestone

Comments

@HeikoKlare
Copy link
Contributor

Under specific conditions, program icons are not scaled correct.
E.g., do the following:

  • In a workspace, create a file using a program icon within an project.
  • Set your monitor scaling to 100%
  • Restart the application with -Dswt.autoScale.updateOnRuntime=true
  • Do not expand the project with the file using the program icon (i.e., until now, that program icon should not have been loaded)
  • Change the monitor scaling to 150%
  • Expand the project with the file using a program icon

You will see that the program icons are scaled according to the original zoom rather than the current one:

Image

@HeikoKlare HeikoKlare added this to HiDPI Jan 17, 2025
@HeikoKlare HeikoKlare converted this from a draft issue Jan 17, 2025
@HeikoKlare HeikoKlare added Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature labels Jan 17, 2025
@HeikoKlare HeikoKlare added this to the 4.35 M3 milestone Jan 17, 2025
@amartya4256
Copy link

Can you tell me what is the zoom of your primary monitor? Since the retrieved size of the program icons before scaling is related to primary monitor zoom, it might be important to know that too.

@HeikoKlare
Copy link
Contributor Author

Primary monitor zoom is according to the described workflow. The workflow just assumes/requires a single monitor.

@amartya4256 amartya4256 self-assigned this Jan 26, 2025
@amartya4256 amartya4256 moved this from 🔖 Ready: Atomic to 🏗 In Work: Long in HiDPI Jan 26, 2025
@amartya4256 amartya4256 moved this from 🏗 In Work: Long to 🏗 In Work: Short in HiDPI Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature
Projects
Status: 🏗 In Work: Short
Development

No branches or pull requests

2 participants