Skip to content

Don't set focus on preference page creation #1326

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nitind
Copy link

@nitind nitind commented Mar 8, 2025

Fixes #1204, and properly refers to BREE JRE

@donat donat self-requested a review March 11, 2025 08:47
Copy link
Contributor

@donat donat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!
I have one request before I can merge your changes. I'd be happy discuss that separately.

@@ -214,7 +214,6 @@ private void updateSelectedState(Button selectedRadioButton, List<Button> allRad
for (Button radioButton : allRadioButtons) {
if (radioButton.equals(selectedRadioButton)) {
radioButton.setSelection(true);
radioButton.setFocus();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intent here with not specifying the version was to allow the active target definition to select the Java version. That way, we can always select the lowest required java version for a given Eclipse platform version.

❌ This change should not be part of this PR.

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.

GradleWorkbenchPreferencePage steals focus when first created
2 participants