Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.5k
Description
When closing and reopening a dialog with some UI element with anonclick/onchange function likedlg:close() showDialog() (often used to refresh the dialog), the dialog's window flickers noticeably.
This only occurs if the experimental optionUI with multiple windows is enabled, which seems to be enabled by default.Cannot reproduce is the above option is disabled.
Expected result:
No flickering like in previous Aseprite versions to produce a more seamless experience when using custom scripts or extensions.
Steps to reproduce:
(You can reproduce this issue with sample dialog script:SampleDialogPop.lua.)
- Go to
Edit > Preferences > Experimentaland enableUI with multiple Windows. - Click OK.
- Run the sample dialog script.
- Click the Reset button.
- Notice the dialog's window flickers as it's closed and reopened.
Aseprite and System version
- Aseprite version: 1.3-beta6 dev
- System: Windows 10 x64 English
Attachments
App behavior with UI with multiple windows enabled:https://user-images.githubusercontent.com/88293704/138313048-43ee8324-ee1c-4e60-9bab-5239c1143513.mp4
Behavior with the option disabled:https://user-images.githubusercontent.com/88293704/138313109-ef9d0eb0-4cfe-42fb-a7f6-d603c9749fbd.mp4