-
Notifications
You must be signed in to change notification settings - Fork 144
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
Set the selection to 1st CTabItem when it is created for the first time #1044
Set the selection to 1st CTabItem when it is created for the first time #1044
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good to me, please test and confirm below:
- various combination of Snippet76.java, changing order of CTabFolder and TabFolder
- Since this is a change in custom widget, test it on all 3 platforms(Win, Cocoa and Linux)
- Also Eclipse self hosted mode as well.
Now without the pr i see as below -> I have tested with TabFolder and CTabFolder order change via the "modified Snippet76", it all works fine now. @niraj-modi Can others also test this fix and let me know if that works for you on mac and linux please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the unnecessary this.
qualifier I think would better match the style of the rest of the code.
...les/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
Outdated
Show resolved
Hide resolved
9586db1
to
bfc4175
Compare
0d87f61
to
731fe6c
Compare
731fe6c
to
5ca254b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@deepika-u Can you confirm if it was tested on Mac and Linux as well as it is common code for custom Control? |
Can anyone help me test this on Linux please? |
@deepika-u The patch looks good on Mac. The first CTabItem is getting highlighted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry for the late reply. |
This change causes regression, see eclipse-platform/eclipse.platform#1239 |
Also please investigate another regression here: eclipse-platform/eclipse.platform.ui#1736 |
Please hurry with a fix or revert meanwhile because this regression also fails unrelated PRs in platform.ui. |
Let's revert this to unblock platform.ui while @deepika-u investigates the issues. |
This change has been reverted. |
Update the selectedIndex when the 1st CTabItem is created.
Fixes #46
Can one of you review please
@merks
@niraj-modi
@sravanlakkimsetti