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

Publisher: Better reset defer #4048

Merged
merged 1 commit into from Nov 1, 2022
Merged

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Reset of publisher controller happens defered so the UI has time to change sizes based on window size.

Description

Because the reset happens too early on show the UI is not painted correctly. UI needs at least 3 event loops to propagate show, resize and repaint events properly. When all of that is done the reset can start and UI is not "stretched" to minim sizes.

Testing notes:

  1. Show Publisher in a DCC and see the difference on first show

@iLLiCiTiT iLLiCiTiT self-assigned this Oct 31, 2022
@github-actions github-actions bot added this to the next-patch milestone Oct 31, 2022
@iLLiCiTiT iLLiCiTiT added the type: enhancement Enhancements to existing functionality label Oct 31, 2022
@iLLiCiTiT iLLiCiTiT merged commit 4850b57 into develop Nov 1, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/publisher_delayed_reset branch November 1, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants