Bug 419438 - [feature] - "cycle through minimized + minimize all" actions for tasks
Summary: [feature] - "cycle through minimized + minimize all" actions for tasks
Status: REPORTED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-31 00:06 UTC by Peter
Modified: 2021-05-11 20:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2020-03-31 00:06:07 UTC
SUMMARY
"Cycle through + minimize"
Implement a different behavior on click for apps with multiple windows.
e.g. Each click raises a different window of that application. If all are raised, the next minimizes them all. This behavior is available on OSX and Dash-to-Panel.

STEPS TO REPRODUCE
1.Multiple windows of the same application exist  

OBSERVED RESULT
A click on the application icon in latte dock triggers Kwin's Present Windows.


EXPECTED RESULT
The first click on the application icon focuses - or raises if minimized - the first window of that application. 
The second click on the application icon focuses/raises the second window of that application. 
....
When all windows are raised one click minimizes all windows of that application.



ADDITIONAL INFORMATION
Thank you for your great work!
Comment 1 Peter 2020-04-02 15:03:04 UTC
Just to clarify. Dash-to-Panel ( and OSX I believe) not just cycle through the minimized windows, the cycle through all windows, unminimizing those which are minimized and simply switching the focus to those which are already unminimized.
Comment 2 Michail Vourlakos 2020-04-02 15:08:09 UTC
So how that is different from the current
Cycle through Tasks?

Advanced options -> Tasks -> Actions -> Left Click: Cycle Through Tasks
Comment 3 Peter 2020-04-03 00:00:53 UTC
AFAIK, there is no "minimize all" after the first cycle through is finished.
Comment 4 Michail Vourlakos 2020-04-03 04:54:37 UTC
(In reply to Peter from comment #3)
> AFAIK, there is no "minimize all" after the first cycle through is finished.

That is easy to just add in the current option. When all tasks are minized in a group and you trigger the action, what is happening? Last used is shown or all of them are unminimized?
Comment 5 Max Grävendieck 2021-05-11 20:48:05 UTC
(In reply to Michail Vourlakos from comment #4)
> (In reply to Peter from comment #3)
 Last used is shown or all of them are unminimized?

Yes, just like this