Summary: | Automatically reassign hotkeys after a task item was moved/removed | ||
---|---|---|---|
Product: | [Plasma] lattedock | Reporter: | trmdi |
Component: | application | Assignee: | Michail Vourlakos <mvourlakos> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
trmdi
2018-08-10 04:06:22 UTC
I thinks this one is better: --------------------------------- n 1 2 3 4 5 6 7 Item0: i1 i2 i3 i4 i5 i6 i7 Key0 : k1 k2 k3 k4 k5 k6 k7 ### Move i2 to n=5 Item1: i1 i3 i4 i5 i2 i6 i7 Key1 : k1 - - - - k6 k7 How to correct the shortcuts? --- for (i in [i3-i4-i5-i2]): if (i->key0 == default_key) then: i->key1 == default_key_at-new-position else: i->key1 == i->key0 ### Remove i2 = Move i2 to the end + delete i2 Item1: i1 i3 i4 i5 i6 i7 i2 Key1 : k1 - - - - - - -> Use the above function to correct the shortcuts -> restore the default shortcut at position n=7 sorry I dont like the idea: 1. it would add complexity for only a small portion of users 2. the "activate entry" 's of Latte is just that, are not assigned based on the applet but rather on the position so that would break the logic of the implementation 3. the users that want to fix this they can from their plasma systemsettings |