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

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/6016a816d5788a7a621f9bdae |t/4e37c1d1c23773df6dff95ae1
                   |f194979229081f4             |1b58df8b04ab3f4

--- Comment #38 from Marco Martin <notm...@gmail.com> ---
Git commit 4e37c1d1c23773df6dff95ae11b58df8b04ab3f4 by Marco Martin.
Committed on 12/04/2024 at 09:23.
Pushed by mart into branch 'master'.

Never set minimum/maximum size

a long time ago we used minimum/maximum window sizes
for the minimum and maximum length of the panel, but now this
is not necessary anymore as they are stored separatedly.

setting minimum then maximum then resizing can sometimes cause
several subsequent resize attempts, and a wrong order of setminimum/setMaximum
can even fail the resize completely

The size is saved as a private member as source of truth: when we reposition
the panel
we can have not yet received a configure event of the last size we called
resize()
upon, making that former resize fail

M  +18   -54   shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/4e37c1d1c23773df6dff95ae11b58df8b04ab3f4

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

Reply via email to