-
Notifications
You must be signed in to change notification settings - Fork 169
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: weird placement when unmaximizing #2059
Labels
bug
Something isn't working
Comments
61 tasks
HeikoKlare
added a commit
to HeikoKlare/eclipse.platform.ui
that referenced
this issue
Jul 8, 2024
…ipse-platform#2059 When multiple editors have an open find/replace overlay and a resize event happens (e.g., by minimizing/maximizing the window), the overlays of all editors are unhidden by accident. This was a result of introducing hide functionality to the overlay for the case that the target editor is too small to show the overlay, which conflicts with the hiding functionality for the case that an editor is invisible. This change streamlines the visibility-related functionality of the find/replace overlay to be handled at a single place. In addition, all repositioning and resizing events are only processed when an overlay is actually visible. For invisible overlays, the repositioning and resizing is now performed when they become visible again. In addition, a unnecessary layouting and positionining operations when creating the overlay are removed as the same operations are performed again when opening the overlay anyway. Fixes eclipse-platform#2059
HeikoKlare
added a commit
to HeikoKlare/eclipse.platform.ui
that referenced
this issue
Jul 9, 2024
…ipse-platform#2059 When multiple editors have an open find/replace overlay and a resize event happens (e.g., by minimizing/maximizing the window), the overlays of all editors are unhidden by accident. This was a result of introducing hide functionality to the overlay for the case that the target editor is too small to show the overlay, which conflicts with the hiding functionality for the case that an editor is invisible. This change streamlines the visibility-related functionality of the find/replace overlay to be handled at a single place. In addition, all repositioning and resizing events are only processed when an overlay is actually visible. For invisible overlays, the repositioning and resizing is now performed when they become visible again. In addition, a unnecessary layouting and positionining operations when creating the overlay are removed as the same operations are performed again when opening the overlay anyway. Fixes eclipse-platform#2059
HeikoKlare
added a commit
to HeikoKlare/eclipse.platform.ui
that referenced
this issue
Jul 9, 2024
…ipse-platform#2059 When multiple editors have an open find/replace overlay and a resize event happens (e.g., by minimizing/maximizing the window), the overlays of all editors are unhidden by accident. This was a result of introducing hide functionality to the overlay for the case that the target editor is too small to show the overlay, which conflicts with the hiding functionality for the case that an editor is invisible. This change streamlines the visibility-related functionality of the find/replace overlay to be handled at a single place. In addition, all repositioning and resizing events are only processed when an overlay is actually visible. For invisible overlays, the repositioning and resizing is now performed when they become visible again. In addition, a unnecessary layouting and positionining operations when creating the overlay are removed as the same operations are performed again when opening the overlay anyway. Fixes eclipse-platform#2059
HeikoKlare
added a commit
to HeikoKlare/eclipse.platform.ui
that referenced
this issue
Jul 9, 2024
…ipse-platform#2059 When multiple editors have an open find/replace overlay and a resize event happens (e.g., by minimizing/maximizing the window), the overlays of all editors are unhidden by accident. This was a result of introducing hide functionality to the overlay for the case that the target editor is too small to show the overlay, which conflicts with the hiding functionality for the case that an editor is invisible. This change streamlines the visibility-related functionality of the find/replace overlay to be handled at a single place. In addition, all repositioning and resizing events are only processed when an overlay is actually visible. For invisible overlays, the repositioning and resizing is now performed when they become visible again. In addition, a unnecessary layouting and positionining operations when creating the overlay are removed as the same operations are performed again when opening the overlay anyway. Fixes eclipse-platform#2059
HeikoKlare
added a commit
that referenced
this issue
Jul 9, 2024
When multiple editors have an open find/replace overlay and a resize event happens (e.g., by minimizing/maximizing the window), the overlays of all editors are unhidden by accident. This was a result of introducing hide functionality to the overlay for the case that the target editor is too small to show the overlay, which conflicts with the hiding functionality for the case that an editor is invisible. This change streamlines the visibility-related functionality of the find/replace overlay to be handled at a single place. In addition, all repositioning and resizing events are only processed when an overlay is actually visible. For invisible overlays, the repositioning and resizing is now performed when they become visible again. In addition, a unnecessary layouting and positionining operations when creating the overlay are removed as the same operations are performed again when opening the overlay anyway. Fixes #2059
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possibly regression after #1989
The text was updated successfully, but these errors were encountered: