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

Find/Replace overlay: disable search scope when leaving #1919 #1920

Conversation

Wittmaxi
Copy link

@Wittmaxi Wittmaxi commented Jun 3, 2024

Replace the FocusListener with a ShellAdapter which will remove the
search scope as soon as the overlay is left.
The FocusListener didn't listen to the case where the focus is in the
search bar and the search bar is left (and the overlay is left
implicitly)

fixes #1919

@Wittmaxi Wittmaxi changed the title Mw disable search scope when leaving Find/Replace overlay: disable search scope when leaving Jun 3, 2024
@Wittmaxi Wittmaxi changed the title Find/Replace overlay: disable search scope when leaving Find/Replace overlay: disable search scope when leaving #1919 Jun 3, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

Test Results

 1 815 files  ±0   1 815 suites  ±0   1h 33m 11s ⏱️ + 2m 18s
 7 663 tests ±0   7 435 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 150 runs  ±0  23 401 ✅ ±0  749 💤 ±0  0 ❌ ±0 

Results for commit f4a575c. ± Comparison against base commit 9d6981f.

♻️ This comment has been updated with latest results.

@Wittmaxi Wittmaxi force-pushed the MW_disable_search_scope_when_leaving branch from 39e33c5 to 8b55690 Compare June 10, 2024 07:36
@Wittmaxi
Copy link
Author

Random failures are not related to this PR and documented in #751

Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

Works as expected. Only some minor comments on code style / naming / documentation.

@Wittmaxi Wittmaxi force-pushed the MW_disable_search_scope_when_leaving branch from 8b55690 to 4418163 Compare June 27, 2024 13:20
…e-platform#1919

Replace the FocusListener with a ShellAdapter which will remove the
search scope as soon as the overlay is left.
The FocusListener didn't listen to the case where the focus is in the
search bar and the search bar is left (and the overlay is left
implicitly)

fixes eclipse-platform#1919
@Wittmaxi Wittmaxi force-pushed the MW_disable_search_scope_when_leaving branch from 4418163 to f4a575c Compare June 27, 2024 13:22
@Wittmaxi Wittmaxi requested a review from HeikoKlare June 27, 2024 13:23
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

Great. This looks good now. Let's wait for the build results and I expect that we can merge then.

@HeikoKlare HeikoKlare merged commit fc44255 into eclipse-platform:master Jun 27, 2024
16 checks passed
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.

[find/replace overlay] leaving overlay doesnt remove search scope
2 participants