Bug 419610 - Attempting to activate entries for which there is no widget creates crash
Summary: Attempting to activate entries for which there is no widget creates crash
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.9.10
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 22:13 UTC by Henrique
Modified: 2020-04-05 15:17 UTC (History)
0 users

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 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.