Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

AdwMessageDialogs offset #123

Open
TheEvilSkeleton opened this issue Mar 26, 2023 · 4 comments
Open

AdwMessageDialogs offset #123

TheEvilSkeleton opened this issue Mar 26, 2023 · 4 comments

Comments

@TheEvilSkeleton
Copy link
Contributor

When presenting an AdwMessageDialog the second time, it offsets:

Screencast.from.2023-03-26.13-49-54.webm
@Schmiddiii
Copy link
Collaborator

This is a really weird issue. Do you have any idea what may be the issue there?

@TheEvilSkeleton
Copy link
Contributor Author

TheEvilSkeleton commented Mar 27, 2023

This is an uneducated guess, as I don't understand Rust, but I assume that it tries to create a dialog on top of the first dialog. I have never used AdwMessageDialog directly from the UI file. Usually, I implement AdwMessageDialogs from code (e.g. Python)

@TheEvilSkeleton
Copy link
Contributor Author

FWIW, the Import dialog doesn't reproduce this problem

@Schmiddiii
Copy link
Collaborator

It actually never creates a second dialog, it is only one dialog that is reused (see the hide-on-close-property). Maybe I will rewrite this dialog to be more in-line with the import-dialog, but that would be pretty low priority.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants