zobnin / aio

AIO Launcher page for bug reports and suggestions
17 stars 1 forks source link

Missing Action: "Toggle All Widgets" #15

Closed antdking closed 1 year ago

antdking commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, we can Fold or unfold widgets, however this requires defining 2 triggers.

Describe the solution you'd like Introduce a "Toggle Widgets" Action, that Folds widgets when they're unfolded, and Unfolds widgets when they're unfolded.

Describe alternatives you've considered N/a

Additional context Worth making all others Actions Tri-state. Could be a nice way to clean up the menu, using submenus.

zobnin commented 2 years ago

This feature was originally implemented exactly as you suggest. But it turned out that it just didn't make sense. For example, I always have at least one minimized widget on my screen. As a result, the toggle state function would collapse all widgets, but expand the one that was collapsed. What's the point of that?

antdking commented 2 years ago

Hmm. Perhaps more useful if it's based on the state aggregates. >0.5 open, close all; otherwise, open all.

Perhaps it's better implemented as Action Scripts instead? That way, we can just write our own macros