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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants