-
Notifications
You must be signed in to change notification settings - Fork 210
Fixes #912 - Avoid lower corners when drawing square tabs #1333
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
Fixes #912 - Avoid lower corners when drawing square tabs #1333
Conversation
Test Results 900 files ±0 900 suites ±0 47m 8s ⏱️ -55s For more details on these failures and errors, see this check. Results for commit 27c9bec. ± Comparison against base commit 68d706e. ♻️ This comment has been updated with latest results. |
can you show a before / after screenshot? |
@BeckerWdf the "bad" one is on the linked issue with a small main method. The line that's heading to the lower right is usually invisible because tabs have content, but occasionally a small part can appear if eg. you also have toolbar actions and they need to wrap. |
the build says: |
can you rebase your change to the newest master and let's check again if the version number of the effected bundle must be increased? |
It looks like the version number for org.eclipse.e4.ui.workbench.renderers.swt was already increased by this commit: So it should only be a rebase on top of master and (force) push of your change. |
The last points in the polyline were visiting the lower right and lower left corners of the CTabFolder's client area before heading back to the starting point. These are now removed. This makes "computeSquareTabOutline" behave the same way as "computeRoundTabOutline" does, which did not attempt to draw lines outside of the tab itself (also a horizontal leading/trailing line when in active mode).
Failures and errors are summarized here in the Linux build: https://github.com/eclipse-platform/eclipse.platform.ui/actions/runs/7060822162/job/19221154039?pr=1333#step:7:21292
|
They are unrelated. See: #1351 |
Thanks @apeteri for the fix. |
The last points in the polyline were visiting the lower right and lower left corners of the CTabFolder's client area before heading back to the starting point. These are now removed.
This makes "computeSquareTabOutline" behave the same way as "computeRoundTabOutline" does, which did not attempt to draw lines outside of the tab itself (also a horizontal leading/trailing line when in active mode).