| Summary: | Latte panel size doesn't recover after being auto-shrunk | ||
|---|---|---|---|
| Product: | [Unmaintained] lattedock | Reporter: | David <david.cortes.rivera> |
| Component: | application | Assignee: | Michail Vourlakos <mvourlakos> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.9.1 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/latte-dock/b9d82fe0f1e7a390410d04543c2bae489f11e42c | Version Fixed/Implemented In: | 0.9.3 |
| Sentry Crash Report: | |||
| Attachments: | latte_layout_from_bug | ||
|
Description
David
2019-09-12 14:20:20 UTC
You need to send your layout file because in my system with latest v0.9.x I can not reproduce Created attachment 122634 [details]
latte_layout_from_bug
Added the layout in question.
I tested your layout, after 2VDs for every VD I add the items size is decreased. When I remove one VD then it does not restore but if I remove two VDs it does. Is this your system behavior? (In reply to Michail Vourlakos from comment #3) > I tested your layout, after 2VDs for every VD I add the items size is > decreased. > When I remove one VD then it does not restore but if I remove two VDs it > does. > > Is this your system behavior? Kind of. But if I change the configuration of the pager to have only one row (right-click -> Configure Desktops -> Number of rows: 1), then it doesn’t restore the size anymore, even after leaving only one virtual desktop. Git commit 182831a808497dda4343f5cc23a13a4ac5a1a01b by Michail Vourlakos. Committed on 13/09/2019 at 18:38. Pushed by mvourlakos into branch 'v0.9'. improvements for automatic icon size code path --this patch add two fixes concerning automatic icon size when contents exceed the view maximum length. --A) when the function is called then it also called one more time after 1sec to confirm that the icon size found is valid. In the past that approach was creating an endless loop that should not be triggered any more --B) the grow limit was made to be equal with the shrink limit trying to be more predictive from the user when the items will grow or shrink. In the future we must take care of this if the items grow or shrink endlessly FIXED-IN:0.9.3 M +27 -12 containment/package/contents/ui/main.qml https://commits.kde.org/latte-dock/182831a808497dda4343f5cc23a13a4ac5a1a01b Git commit b9d82fe0f1e7a390410d04543c2bae489f11e42c by Michail Vourlakos. Committed on 13/09/2019 at 18:43. Pushed by mvourlakos into branch 'master'. improvements for automatic icon size code path --this patch add two fixes concerning automatic icon size when contents exceed the view maximum length. --A) when the function is called then it also called one more time after 1sec to confirm that the icon size found is valid. In the past that approach was creating an endless loop that should not be triggered any more --B) the grow limit was made to be equal with the shrink limit trying to be more predictive from the user when the items will grow or shrink. In the future we must take care of this if the items grow or shrink endlessly FIXED-IN:0.9.3 M +27 -12 containment/package/contents/ui/main.qml https://commits.kde.org/latte-dock/b9d82fe0f1e7a390410d04543c2bae489f11e42c (In reply to David from comment #4) > (In reply to Michail Vourlakos from comment #3) > > I tested your layout, after 2VDs for every VD I add the items size is > > decreased. > > When I remove one VD then it does not restore but if I remove two VDs it > > does. > > > > Is this your system behavior? > > Kind of. But if I change the configuration of the pager to have only one row > (right-click -> Configure Desktops -> Number of rows: 1), then it doesn’t > restore the size anymore, even after leaving only one virtual desktop. I tried to improve things, you can test them out from v0.9 branch or master or wait for 0.9.3 to be released (In reply to Michail Vourlakos from comment #7) > (In reply to David from comment #4) > > (In reply to Michail Vourlakos from comment #3) > > > I tested your layout, after 2VDs for every VD I add the items size is > > > decreased. > > > When I remove one VD then it does not restore but if I remove two VDs it > > > does. > > > > > > Is this your system behavior? > > > > Kind of. But if I change the configuration of the pager to have only one row > > (right-click -> Configure Desktops -> Number of rows: 1), then it doesn’t > > restore the size anymore, even after leaving only one virtual desktop. > > I tried to improve things, you can test them out from v0.9 branch or master > or wait for 0.9.3 to be released Great, thank you! Will test it in the next release. |