After having linked/unlinked audio.com account, the Share Audio dialog size won't update
- Dominant language
- C++
- Stars
- 18.4k
- Forks
- 2.7k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 85
Description
### Bug description
In the Share Audio dialog, if one clicks "Link (Unlink) Account", the text copy below would change, and it would also change in size, with either one or two lines of text. The dialog size won't update until it's reopened, which either would result in one line of text being hidden or a bit of extra space at the bottom.
### Steps to reproduce
1. Link Audacity to audio.com
2. Have some audio in the project
3. Click Share Audio button
4. In the Share Audio dialog, click Unlink Account
5. Close the dialog
6. Open Share Audio dialog again
### Expected behavior
After step 4: the dialog gets resized immediately to accommodate one more line of text
### Actual behavior
After step 4: the dialog does NOT get resized to accommodate one more line of text (see on the screenshot below; there's only one line of text displayed)
After step 6: the dialog now has the proper size to fit two lines of text
### Audacity Version
latest stable version (from audacityteam.org/download)
### Operating system
Windows, macOS, Linux
### Additional context
_No response_
Contributor guide
Research direction
Start at the Share Audio dialog entry point and follow the Link Account and Unlink Account actions described in the reproduction steps. Check how the dialog updates its text and size after the account state changes. Done means switching between linked and unlinked states immediately resizes the dialog so all text is visible without reopening it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100