Bug 419610

Summary: Attempting to activate entries for which there is no widget creates crash
Product: [Unmaintained] lattedock Reporter: Henrique <henriquesarmentogoulartaguiar>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 0.9.10   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henrique 2020-04-03 22:13:16 UTC
SUMMARY
When I accidentally used the shortcut Meta+V (pastebin shortcut on Windows) - which by default is the "Activates entry 14" in Latte Dock, I noticed the program consistently froze. 

STEPS TO REPRODUCE
1. Use an entry shortcut higher than the amount of items/widgets on the dock; for example, if there is a launcher and 3 tasks, use the shortcut for activating entry 5 or above. The easiest one should be Meta+. which activates entry 19.

OBSERVED RESULT
The docks should freeze, as should any shortcuts associated with their widgets.

EXPECTED RESULT
I expect the shortcut should simply not work. But in any case, it should not freeze or crash.

SOFTWARE/OS VERSIONS
Linux: 5.5.13-1-MANJARO
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Comment 1 Michail Vourlakos 2020-04-04 17:12:32 UTC
not in my system, check git version please and confirm that this is already fixed
Comment 2 Henrique 2020-04-05 15:15:06 UTC
(In reply to Michail Vourlakos from comment #1)
> not in my system, check git version please and confirm that this is already
> fixed

Installed the git version, seems to be fixed there.
Comment 3 Michail Vourlakos 2020-04-05 15:17:28 UTC
Ok I consider it fixed then.