Bug 429529 - dock resizes if contents are too long and never resize back
Summary: dock resizes if contents are too long and never resize back
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: 0.9.11
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-22 23:37 UTC by Jan
Modified: 2022-05-17 04:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The resized, cropping bar (86.77 KB, image/png)
2020-11-22 23:37 UTC, Jan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2020-11-22 23:37:18 UTC
Created attachment 133574 [details]
The resized, cropping bar

SUMMARY


STEPS TO REPRODUCE
1. Add a bar (not a dock) to a screen with small width
2. Add menu
3. Open app with lots of menu entries (like libreoffice)
4. Open different app with regular number of entries

OBSERVED RESULT
On step three latte tries to better fit its contents by changing its ratio. What was 30px by 1024px now becomes 15px by 1024px, cropping the menu bar's content. The Window Buttons Plasmoid actually resizes and become so small it almost cannot be used. Window Title Plasmoid and Global Menu (Latte) get cropped, so that only the vertical middle is visible. text size does not change, so the whole thing is completely useless as the menu bar does not gain any horizontal space.
When I switch to a different app, which' menu bar easily fits the available width, the ratio does not switch back and the bar remains too small and unusable. I assume this is dock behaviour that does not make sense in a bar world.

EXPECTED RESULT
The bar should remain at the same height always, overflowing contents should crop, maybe offering some ellipse functionality.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Kernel Version: 5.9.8-2-MANJARO
OS Type: 64-bit
Comment 1 Michail Vourlakos 2022-04-17 10:07:25 UTC
you need to test this with 0.10.x in order to confirm it
Comment 2 Bug Janitor Service 2022-05-02 04:35:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-05-17 04:35:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!