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

fix: Avoid messagebox expanding offscreen #2778

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

Just sets a max height and auto-scroll so that the message box never expands too high for the screen. Dialogs with regular messages are unaffected.

Screenshot/screencast of this PR

Screenshot 2023-06-08 at 8 45 36 AM

What issues does this PR fix or reference?

Fixes #2771.

How to test this PR?

Confirm regular dialogs have no change, then edit one of them (e.g. extensions/podman/src/extesion.ts above) to send a really long message.

Just sets a max height and auto-scroll so that the message box never expands too high for the screen. Dialogs with regular messages are unaffected.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from a team and benoitf as code owners June 8, 2023 12:45
@deboer-tim deboer-tim requested review from jeffmaury and cdrage and removed request for a team June 8, 2023 12:46
Copy link
Contributor

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM. Tested on Win11 Pro

@deboer-tim deboer-tim merged commit 779af4a into containers:main Jun 9, 2023
7 checks passed
@deboer-tim deboer-tim deleted the max-message branch June 9, 2023 13:11
@podman-desktop-bot podman-desktop-bot added this to the 1.2.0 milestone Jun 9, 2023
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.

Impossible to close error message when the message is long
3 participants