Bug 408621

Summary: [FEATURE] Add another behavior when switching from a grouped active application to another
Product: [Unmaintained] lattedock Reporter: Guido Sanchez <sanchez.guido>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 0.8.8   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KWin task switcher configuration

Description Guido Sanchez 2019-06-12 19:15:44 UTC
Created attachment 120824 [details]
KWin task switcher configuration

This is a copy of 407144, but since then I started using Latte Dock and I have configured it to behave as I want using middle click settings. In this way, we could have the same behavior for both Task Switcher and Latte Dock when switching apps.

If you configure Latte Dock Middle Click (or Ctrl + left click) behavior to Cycle Through Tasks, whenever I click a group of windows the first thing it does is to bring up the last used window of the application and then it starts cycling. I don't know if it would be possible to make it work like this:

1. When the user left clicks an icon of an application that is not focused, Latte Dock should change to the last active window of the application (whether the application has one or more windows).

2. When the user left clicks an icon of an application that has many windows and that is focused, Latte Dock should show all windows. If the application only has one window, it could be minimized or just do nothing when clicked.

Could it be configurable?

In that way, the dock works the same way as the Alt-Tab of KWin task switcher when configured as in the screenshot.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.16.0
(available in About System)
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Comment 1 Michail Vourlakos 2019-06-12 19:30:56 UTC
1. In Latte git version there in an option to configure the Left Click action for Tasks. You can choose between: Present Windows/ Cycle Through Tasks / Preview Windows . I suppose you are referring to "Cycle Through Tasks"

2. this is too messy and I am not interested adding it