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

State of button not correctly applied after rescaling #136

Open
akoch-yatta opened this issue Oct 30, 2024 · 2 comments
Open

State of button not correctly applied after rescaling #136

akoch-yatta opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Milestone

Comments

@akoch-yatta
Copy link

I stumbled upon a button state that is not correctly applied after rescaling on int200
Primary 175% -> 200%
Image
Secondary 125% -> 100%
Image

In the toolbar on top the state is applied correctly, so it is not a general issue

Assumption
This image is probably in an ImageList as well. Perhaps this image is in some kind different, that applying the disabled state is not done correctly.

@akoch-yatta akoch-yatta converted this from a draft issue Oct 30, 2024
@akoch-yatta akoch-yatta added this to the 4.34 M3 milestone Oct 30, 2024
@akoch-yatta akoch-yatta added SWT Issue for SWT Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature labels Oct 30, 2024
@akoch-yatta akoch-yatta modified the milestones: 4.34 M3, 4.35 M1 Nov 8, 2024
@akoch-yatta akoch-yatta moved this from 🏗 In Work: Short to 🔖 Ready: Atomic in Eclipse Dec 2, 2024
@HeikoKlare HeikoKlare modified the milestones: 4.35 M1, 4.35 M2 Dec 2, 2024
@akoch-yatta
Copy link
Author

The icon is provided by org.eclipse.ui.examples.readmetool

@HeikoKlare
Copy link
Contributor

I can reproduce this issue with the described setup/workflow:

  • primary monitor 175%, secondary monitor 125%
  • start runtime application (including the org.eclipse.ui.examples.readmetool plug-in), enable "monitor-specific UI scaling"
  • move window from primary to secondary monitor

The icon is properly disabled on original/primary monitor but will show up as enabled on the secondary monitor.

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 SWT Issue for SWT
Projects
Status: 🔖 Ready: Atomic
Development

No branches or pull requests

3 participants