Bug 402759 - Latte crash when display scaling factor set to 1.4
Summary: Latte crash when display scaling factor set to 1.4
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-01 15:43 UTC by Fabian
Modified: 2019-01-01 17:44 UTC (History)
0 users

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


Attachments
latte log (45.12 KB, text/x-log)
2019-01-01 15:43 UTC, Fabian
Details
latte layout (27.06 KB, text/plain)
2019-01-01 15:44 UTC, Fabian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian 2019-01-01 15:43:55 UTC
Created attachment 117227 [details]
latte log

SUMMARY

When X Window display scaling factor is set to 1.4, Latte-Dock is constantly crashing. After it crashed, it can be restarted. It will crash again after certain application actions, such as switching application (e.g. from Chromium to Dolphin) or opening a new Tab in Chromium

STEPS TO REPRODUCE
1. Set X Window display scaling factor to 1.4
2. Reboot
3. Start Latte-Dock (if it already crashed)
4. Do some application task, like switching between different applications, maximizing a window or opening a new tab in webbrowser

OBSERVED RESULT

Latte-Dock crash with Segmentation Fault

EXPECTED RESULT

Latte-Dock should not crash


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE Neon 5.14
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

Latte-Dock version: 0.8.4-0xneon+18.04+bionic+build13
Comment 1 Fabian 2019-01-01 15:44:42 UTC
Created attachment 117228 [details]
latte layout
Comment 2 Michail Vourlakos 2019-01-01 15:50:07 UTC
What is the crash report?
Comment 3 Michail Vourlakos 2019-01-01 15:50:12 UTC
What is the crash report?
Comment 4 Michail Vourlakos 2019-01-01 15:51:13 UTC
2. Does it crash with Default layout?
Comment 5 Michail Vourlakos 2019-01-01 15:51:17 UTC
2. Does it crash with Default layout?
Comment 6 Fabian 2019-01-01 17:28:07 UTC
When starting with `latte-dock --default-layout` it is not crashing. 
How can I get the crash report? The only thing I got was the log file in the attachments after starting latte-dock with the `-d` option.

Btw, when setting the scaling factor to 1.3 it still keeps crashing, when I set it to 1.2 everything works fine.
Comment 7 Michail Vourlakos 2019-01-01 17:33:20 UTC
If you have a systray then if when you reload Latte you will see an icon for kcrash in the systray.

BTW if it doesn't crash with Default layout then it is probably an applet you are using. You could try to add applets in the Default layout until you find the one creating the crash...
Comment 8 Fabian 2019-01-01 17:40:37 UTC
The systray also lives in a latte dock and is gone after the crash.

But I guess I found the problem. I am still using "Active Window Control" for displaying the window title in a dock at the top. When setting "Fit text" to "Always fit" it is crashing, when changing that to "Just elide" or "Fit on hover" it is not crashing anymore -.-

So I guess you can close this issue. But anyway, thanks for your fast responses and (of course) for this great piece of software :-) ! 

And a happy and wonderful new year!
Comment 9 Michail Vourlakos 2019-01-01 17:44:31 UTC
(In reply to Fabian from comment #8)
> The systray also lives in a latte dock and is gone after the crash.
> 
> But I guess I found the problem. I am still using "Active Window Control"
> for displaying the window title in a dock at the top. When setting "Fit
> text" to "Always fit" it is crashing, when changing that to "Just elide" or
> "Fit on hover" it is not crashing anymore -.-
> 

Fantastic analysis! :)

BTW I was also using AWC for my needs but because it is not maintained and it was creating to much instability in my system,

I developed these:

https://www.opendesktop.org/p/1274975/
https://www.opendesktop.org/p/1274218/
https://www.opendesktop.org/p/1272871/


> So I guess you can close this issue. But anyway, thanks for your fast
> responses and (of course) for this great piece of software :-) ! 
> 
> And a happy and wonderful new year!

thank you ... :)