-
Notifications
You must be signed in to change notification settings - Fork 116
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
The first tab is not properly activated when opening the "Run configurations" dialog #859
Comments
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
|
OK, if I understand it right, this must be a regression in 4.30 from commit 96daf27 If I understand it right, the first shown tab of any launch configuration type may be not properly initialized now? @HeikoKlare, @fedejeanne: this looks like a major regression for me & the fix should be in 4.30. |
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
It's not a regression but that commit was supposed to fix the same issue and it only did it partially: The UI looked good, everything was there, but the
That is correct, which is why I would like to have this PR merged asap.
Again: this is not a regression but an already existing issue. The thing is that since not many tabs are making use of the |
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
If this not a regression and |
The regression happened in eclipse-pde/eclipse.pde#674. The problem that caused that regression existed for a long time (it was not introduced recently) but #674 merely exposed it and it can be reproduced as follows:
Previous regressions were added over the years (every time a tab overrides Since #674 was recently added, I think we should merge this PR before RC2. |
It seems to me this is probably worth re-spinning RC1 to ensure it's well tested before the final RC2 build... |
Which regression? If I understood it right, not activating the first tab was always the case, according to @HeikoKlare ? @merks : the fix proposed here would affect ALL contributed launch configuration tabs, not only Tracing one from PDE, and I simply fear that "unexpected" tab activation that was never working before would cause more troubles for all kinds of custom launch configurations as the "not properly activated" Tracing tab in PDE, especially it is so short before release. |
I agree. It would even be an option to revert the PDE fix and reapply it for 4.31 to avoid any kind of regression, wouldn't it? As far as I understood, the bug did not produce any unintended behavior visible for the user before the PDE fix.
@iloveeclipse Just to be sure that we do not rely on false assumptions: I cannot remember having mentioned that, as I have not analyzed that issue at all. Do you mean @fedejeanne? |
@HeikoKlare : I maybe misunderstood this comment: #859 (comment)
|
@iloveeclipse Alright, that comment was by @fedejeanne 🙂 |
I think this is a better option, and that could go into RC2 without RC1 respin. Can someone please prepare this PR & also give an assessment which effects it might have. |
That would be an option too. Sadly I won't be able to make it today since I need to leave the office. @HeikoKlare would you be so kind? :-) |
I can "technically" prepare a reverting PR and say that from my understanding this will make performance of the launch configurations dialog worse (like it has been before the PDE fix). Since I was not involved in the PDE fix, I cannot make any further statements on the effects without taking some time to understand it in more detail. Maybe you can at least share your expectations w.r.t. that @fedejeanne? Or maybe @HannesWell can assess possible effects (except for the performance one), since he reviewed the PR? |
I've created eclipse-pde/eclipse.pde#925 that contains a revert commit of the PDE fix. |
I only expected it to loose the performance gain and nothing else. Luckily, this was confirmed: I tested eclipse-pde/eclipse.pde#925 and it's looking good. Thank you for your help! |
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Also add a new test bundle that contains the proper regression test. Bundle: org.eclipse.debug.ui.tests Class: LaunchConfigurationTabGroupViewerTest This class also contains a regression test for eclipse-platform#766 Fixes: eclipse-platform#859
Add some tests to check that no unnecessary de/activation of tabs is happening and add some assertions to existing tests too. These improvements are necessary in order to guarantee that fixing eclipse-platform/eclipse.platform.swt#46 do not change the existing behavior of LaunchConfigurationTabGroupViewer. Contributes to eclipse-platform#859 Contributes to eclipse-platform/eclipse.platform.swt#46
Add some tests to check that no unnecessary de/activation of tabs is happening and add some assertions to existing tests too. These improvements are necessary in order to guarantee that fixing eclipse-platform/eclipse.platform.swt#46 do not change the existing behavior of LaunchConfigurationTabGroupViewer. Contributes to eclipse-platform#859 Contributes to eclipse-platform/eclipse.platform.swt#46
Add some tests to check that no unnecessary de/activation of tabs is happening and add some assertions to existing tests too. These improvements are necessary in order to guarantee that fixing eclipse-platform/eclipse.platform.swt#46 do not change the existing behavior of LaunchConfigurationTabGroupViewer. Contributes to #859 Contributes to eclipse-platform/eclipse.platform.swt#46
When opening the Run Configurations Dialog, the
activated
method of the first tab in the currently selected Run Configuration is not invoked.How to reproduce
activated
method inorg.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab
(just call thesuper
implementation in it)sdk.product
in debug modemain
method and run itThe text was updated successfully, but these errors were encountered: