Skip to content
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

"No @Focus method" #2368

Open
jukzi opened this issue Oct 8, 2024 · 1 comment
Open

"No @Focus method" #2368

jukzi opened this issue Oct 8, 2024 · 1 comment
Labels
bug Something isn't working test junit test related things

Comments

@jukzi
Copy link
Contributor

jukzi commented Oct 8, 2024

logged during EPartServiceTest - what does the error message mean? is it crucial?

java-test:
     [echo] Running org.eclipse.e4.ui.tests.UIAllTests. Result file: C:\Users\genie.releng\workspace\AutomatedTests\ep434I-unit-win32-java17/workarea/I20241007-1800/eclipse-testing/results/ep434I-unit-win32-java17_win32.win32.x86_64_17/org.eclipse.e4.ui.tests.UIAllTests.xml
...
     [java] 
     [java] No @Focus method
     [java] No @Focus method
     [java] No @Focus method
     [java] No @Focus method

https://download.eclipse.org/eclipse/downloads/drops4/I20241007-1800/testresults/consolelogs/ep434I-unit-win32-java17_win32.win32.x86_64_17_consolelog.txt

@jukzi jukzi added bug Something isn't working test junit test related things labels Oct 8, 2024
@basilevs
Copy link
Contributor

basilevs commented Oct 8, 2024

While I'm not an expert on E4, missing setFocus() implementation in SWT-based components may lead to very hard to debug bugs. The problem is that without a new control to focus, the old control in unrelated component will not be unfocused, as this usually breaks a lot of assumptions in both components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test junit test related things
Projects
None yet
Development

No branches or pull requests

2 participants