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

TableItem height not reset after being set from CDDS_SUBITEMPREPAINT callback #234

Open
amartya4256 opened this issue Feb 7, 2025 · 0 comments · May be fixed by eclipse-platform/eclipse.platform.swt#1812
Assignees
Labels
Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Milestone

Comments

@amartya4256
Copy link

amartya4256 commented Feb 7, 2025

How to reproduce

  • Start the OpenType Dialog on 100% monitor.
  • Move to 150% monitor on the right side.
  • A CDDS_SUBITEMPREPAINT callback is executed, changing table.itemHeight to some value from -1.
  • Move it back to 100% monitor
  • The Items have more height
  • Move it to 250% monitor on the left.
  • The items are too small.

Initially at 100%:

Image

After moving to 150% and back to 100%:

Image

After moving to 250%:

Image

@amartya4256 amartya4256 added this to HiDPI Feb 7, 2025
@amartya4256 amartya4256 converted this from a draft issue Feb 7, 2025
@amartya4256 amartya4256 self-assigned this Feb 7, 2025
@amartya4256 amartya4256 added SWT Issue for SWT Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature labels Feb 7, 2025
@amartya4256 amartya4256 added this to the 4.35 M3 milestone Feb 7, 2025
@amartya4256 amartya4256 moved this from 🏗 In Work: Short to 👀 In Review in HiDPI Feb 7, 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 SWT Issue for SWT
Projects
Status: 👀 In Review
Development

Successfully merging a pull request may close this issue.

1 participant