Bug 406760

Summary: Add most recent used (MRU) behavior to the "Cycle through tasks" option in Latte-dock
Product: [Unmaintained] lattedock Reporter: Alex <alex>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.8.6   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex 2019-04-22 12:11:02 UTC
SUMMARY
Please add most recent used (MRU) behavior to the "Cycle through tasks" option because it is more convenient and productive to cycle tasks in MRU order other than in the order windows were opened. You can also add "Cycle through tasks MRU" as an addition to the existing "Cycle through tasks" option.

STEPS TO REPRODUCE
1. In the settings assign to CTRL + MOUSE LEFT CLICK value "Cycle through tasks"
2. Open several different dolphin windows for example
3. Use CTRL + MOUSE LEFT CLICK to cycle through windows

OBSERVED RESULT
Windows are shown in the order they were opened

EXPECTED RESULT
Windows should be shown in the most recent used order

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.12.7
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-04-22 12:48:02 UTC
The cycle through tasks remembers the last one used and from it it starts to cycle based on their creation... 

If you can provide any better feel free to submit for review...
Comment 2 Alex 2019-04-22 15:02:17 UTC
The justification is that's how it works on Windows 10. I find it more reasonable to cycle through most recent order than the order of creation. How can I submit it for review?

P.S. You can leave the existing "Cycle through tasks" option and add "Cycle through tasks MRU" for those like me ))
Comment 3 Michail Vourlakos 2019-04-22 15:08:20 UTC
(In reply to Alex from comment #2)
> The justification is that's how it works on Windows 10. I find it more
> reasonable to cycle through most recent order than the order of creation.
> How can I submit it for review?
> 
> P.S. You can leave the existing "Cycle through tasks" option and add "Cycle
> through tasks MRU" for those like me ))

You need to create the patch and send it for review at KDE phabricator page