Skip to content

Amartya4256/c tab folder fix float aware #2211

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

amartya4256
Copy link
Contributor

This PR is to show that properly utilizing the float aware residuals indeed fixes the border issue of CTabFolder. We need a cleaner approach for this.

Copy link
Contributor

github-actions bot commented Jun 6, 2025

Test Results

104 files   -    441  104 suites   - 441   4s ⏱️ - 34m 5s
 66 tests  -  4 333   65 ✅  -  4 316  0 💤  -  18  1 ❌ +1 
213 runs   - 16 510  212 ✅  - 16 371  0 💤  - 140  1 ❌ +1 

For more details on these failures, see this check.

Results for commit fd97443. ± Comparison against base commit 0a68dea.

This pull request removes 4333 tests.
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicASCII_dollarSign
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicASCII_emptyString
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicASCII_letterA
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicASCII_letters
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicUTF16LE_null
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicUTF16_AsciiLetters
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicUTF16_Asciiletter
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicUTF16_LotsOfLetters
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicUTF16_letter
AllGTKTests org.eclipse.swt.tests.gtk.Test_GtkConverter ‑ test_HeuristicUTF16_letters
…

♻️ This comment has been updated with latest results.

This commit moves the classes MonitorAwareRectangle and
MonitorAwarePoint to Rectangle and Point as a static class and renames
them to WithMonitor to allow them to be used as Rectangle.WithMonitor
and Point.WithMonitor.

contributes to
eclipse-platform#62 and
eclipse-platform#128
@amartya4256 amartya4256 force-pushed the amartya4256/CTabFolder_fix_float_aware branch from 8cedf34 to 2a34655 Compare June 12, 2025 11:46
This commit introduces Rectangle.OfFloat and Point.OfFloat classes as an
extension of Rectangle and Point respectively to improve scaling
precision in the DPIUtil by using residuals obtained from rounding.

Contributes to
eclipse-platform#62 and
eclipse-platform#128
@amartya4256 amartya4256 force-pushed the amartya4256/CTabFolder_fix_float_aware branch from 2a34655 to fd97443 Compare June 13, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant