Bug 400655 - Crash when trying to fit long window title in latte dock
Summary: Crash when trying to fit long window title in latte dock
Status: RESOLVED FIXED
Alias: None
Product: Active Window Control
Classification: Plasma
Component: General (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Chris Holland
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-04 10:55 UTC by colinderoos
Modified: 2020-12-12 11:37 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description colinderoos 2018-11-04 10:55:32 UTC
When using the plasmoid in Latte Dock and setting the 'Fit text' option to 'Fit on hover' or 'Always fit', Latte crashes when trying to fit a long window title in a relatively small area (more than 3 lines probably). In a normal panel, the upper/lower lines get cut off horizontally.

STEPS TO REPRODUCE
1. Add the widget to a latte panel
2. Make the widget quite small
3. Set 'Fit text' option as above
4. Open window with long title (for example Firefox, because it displays the webpage title in the window title)
5. (hover on widget) Crash!

OBSERVED RESULT
Latte crashes.

EXPECTED RESULT
Window title gets resized to fit properly, no matter how small the text needs to get.

SOFTWARE VERSIONS
(available in About System)
Platform: Manjaro Linux 
KDE Plasma Version: 5.14.2
Qt Version: 5.11.2
KDE Frameworks Version: 5.51.0
Kernel Version: 4.19.0-4-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7,6 GiB of RAM


ADDITIONAL INFORMATION
Comment 1 trmdi 2018-11-04 15:47:31 UTC
Does it make Plasma crash too when it's on the Plasma panel instead?
Comment 2 colinderoos 2018-11-05 09:25:49 UTC
> In a normal panel, the upper/lower lines get cut off horizontally.

No plasma does not crash.
Comment 3 Justin Zobel 2020-12-07 04:26:19 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 colinderoos 2020-12-12 11:37:51 UTC
Just tried it and seems fixed now!