https://bugs.kde.org/show_bug.cgi?id=448760

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/kcalc/commit/0bb46354
                   |                            |590015f56ec8ea1d8fd13348d11
                   |                            |4bc91

--- Comment #2 from Albert Astals Cid <aa...@kde.org> ---
Git commit 0bb46354590015f56ec8ea1d8fd13348d114bc91 by Albert Astals Cid, on
behalf of Niklas Freund.
Committed on 01/02/2022 at 16:31.
Pushed by aacid into branch 'master'.

Workaround for minimum size not being kept when deactivating constants

In my previous resizing support merge request
(https://invent.kde.org/utilities/kcalc/-/merge_requests/24), I made sure that
any KCalc mode changes that happen at minimum window size result in the window
resizing itself to the new minimum size. However, this turns out to not have
worked in one specific case: Showing/Hiding the constants buttons.

Upon investigation of this issue, I noticed that `minimumSize()` isn't updating
correctly after hiding of the buttons (and stays at the old minimumSize). Thus,
the call to `resize(minimumSize())` doesn't work.

M  +3    -0    kcalc.cpp

https://invent.kde.org/utilities/kcalc/commit/0bb46354590015f56ec8ea1d8fd13348d114bc91

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to