Bug 412148 - Overlapping character strings and widgets (application titles, global menu) cause lattedock to shrink
Summary: Overlapping character strings and widgets (application titles, global menu) c...
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: 0.8.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-21 05:56 UTC by sinqbad
Modified: 2019-10-21 04:33 UTC (History)
0 users

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


Attachments
Screenshot of the issue. (313.34 KB, image/png)
2019-09-21 05:56 UTC, sinqbad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sinqbad 2019-09-21 05:56:08 UTC
Created attachment 122775 [details]
Screenshot of the issue.

SUMMARY
When character strings overlap on the dock/panel itself lattedock will shrink, i.e the dock remains the horizontal length stays the same but the vertical length will shorten. This can occur with Active window control when show title is set to "always fit" and the title is several lines long. This can also occur when active window control is left justified and global menu is middle justified  and there are a lot of global menu entries. 

STEPS TO REPRODUCE
1. Create a latte dock panel.
2. Set alignment to justify.
3. On the left justify add active window control to the panel with window title/application title enabled.
4. In the middle justify add global menu
5. on the right hand side add widgets (the goal is to force strings/widgets to ovrelap)
6.Open an app with lots of global menu entries (tex studio, calibre, etc). This works best on a smaller resolution screen (1366 x 768 in my case)
7. lattedock will shrink

OBSERVED RESULT
After strings/widgets overlap in lattedock, the dock/panel will shrink vertically by approx half

EXPECTED RESULT
Widgets should be aware of space taken up in lattedock and accomidate widget icons/strings.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux Plasma(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-09-21 06:39:25 UTC
1.use Window AppMenu instead of plasma global menu
2. v0.8 is not maintained any more
3. In v0.9 this might have been fixed but the use of Window AppMenu applet for such cases is a necessity
Comment 2 Bug Janitor Service 2019-10-06 04:33:19 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 2019-10-21 04:33:22 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!