From 93bac4355fcf5da3da4a8663ddd15e563d0e8fc4 Mon Sep 17 00:00:00 2001 From: Suby S Surendran Date: Thu, 19 Feb 2026 21:17:47 +0530 Subject: [PATCH] Plugin section via file import does not work as expected Changes the behavior so that no plugins are selected by default when importing from a p2f file. This allows users to explicitly select only the plugins they want to install. Fix: https://github.com/eclipse-equinox/p2/issues/1003 --- .../p2/importexport/internal/wizard/AbstractImportPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/AbstractImportPage.java b/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/AbstractImportPage.java index 9c37e4fb80..87aabba2ec 100644 --- a/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/AbstractImportPage.java +++ b/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/AbstractImportPage.java @@ -111,7 +111,7 @@ public boolean isChecked(Object element) { IInstallableUnit iu = ProvUI.getAdapter(element, IInstallableUnit.class); IQueryResult collector = profile.query(QueryUtil.createIUQuery(iu.getId(), new VersionRange(iu.getVersion(), true, null, false)), new NullProgressMonitor()); if (collector.isEmpty()) { - return true; + return false; } } return false;