1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/launchbar/org.eclipse.launchbar.ui.controls
Jonah Graham 1e04efa017 Explicitly activate shell for launchbar selector
In https://github.com/eclipse-platform/eclipse.platform.swt/issues/450
the behaviour was changed so that setFocus no longer activates the shell
by default. Therefore when creating the popup shell and setting the focus
the overall focus was still on a control in the main eclipse shell.

This affected Eclipse SWT/Platform 4.29 M1 and has been changed for
M3. However there is intention to (possibly) change the default back
to not activating in setFocus. If that happens this patch will be ready
for it, and in the meantime (until CDT changes to M3) it resolves this
test failure:

`createNewLaunchConfig (org.eclipse.launchbar.ui.tests.internal.CreateLaunchConfigTests) with error`

full trace:

```java
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find shell matching: with text 'Create Launch Configuration'
	at org.eclipse.launchbar.ui.tests.internal.CreateLaunchConfigTests.createNewLaunchConfig(CreateLaunchConfigTests.java:77)
Caused by: org.eclipse.swtbot.swt.finder.widgets.TimeoutException: Timeout after: 10000 ms.: Could not find shell matching: with text 'Create Launch Configuration'
	at org.eclipse.launchbar.ui.tests.internal.CreateLaunchConfigTests.createNewLaunchConfig(CreateLaunchConfigTests.java:77)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
```
2023-08-10 12:23:36 -04:00
..
.settings Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
icons Fixes launchbar icons looking blurry on hidpi screens 2022-10-19 08:41:15 +01:00
META-INF Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
src/org/eclipse/launchbar/ui/controls/internal Explicitly activate shell for launchbar selector 2023-08-10 12:23:36 -04:00
.classpath Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
.project Bug 566334: Turn on API Tooling & Analysis for all bundles 2020-08-24 17:50:56 -04:00
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
build.properties Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
plugin.properties Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
plugin.xml Bug 558439: Move launchbar plug-ins into its own folder 2019-12-18 13:41:51 -05:00