UI: Manage changes dialog is resizing for few seconds after every reject/clear formatting button press
Steps to Reproduce:
1. Open the attached file
2. Edit -> Track changes -> Manage changes
3. Start pressing reject/clear formatting
User Profile Reset: No
Version: 220.127.116.11.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Version: 18.104.22.168.beta1+ (x86)
Build ID: 5cfac16dbd4af456a7fb6d52c8953c69a72ba2ba
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win;
Locale: nl-NL (nl_NL); UI-Language: en-US
The attachment is missing, please add again, thanks!
Created attachment 164501 [details]
Created attachment 164502 [details]
Is it possible to initialize the Manage Changes dialog based on the larger "Reject/Clear formatting label". Instead adjusting the size continuously based on the content?
Yes is possible. (but it might then look fairly horrible with a huge mostly empty button).
To try it out see svx/source/dialog/ctredlin.cxx and the "m_xReject" button. There is a place where the two different strings are set. To make it always the same size then in the ctor you could set each string and after each set then query the size with "get_preferred_size" and then set the larger size with "set_size_request" and the button will then be unchanged in size regardless of which string is then used
Build ID: ce6c6a5ad6c9dde09bb0bb0c51e16d828cfe0ef7
CPU threads: 6; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (hu_HU.UTF-8); UI: en-US
I'm too newbie to decide, this is a bug or not a bug, so I just leave this here... :)
Bibisected using linux-64-6.4 to:
author: Caolán McNamara <email@example.com>
committer: Caolán McNamara <firstname.lastname@example.org>
summary: Resolves: tdf#127218 allow changes dialog to shrink when button text changes
As there is request for UX input: dialogs with a user-defined size should not change on reloading. So ideally we size only at initialization but not later.