pop-os / cosmic-launcher

WIP
GNU General Public License v3.0
103 stars 52 forks source link

Alt/super+tab recency-based cycling #135

Open WatchMkr opened 4 months ago

WatchMkr commented 4 months ago

Recency-Based Cycling: The Alt+Tab interface should prioritize switching between applications based on the order of their last use. This means that the most recently used application will always be the first in the cycle, followed by the second most recently used, and so on.

1. Primary Use Case: When Alt+Tab is pressed and released quickly, it should switch directly to the last used application. 2. Extended Use Case: Holding Alt and tapping Tab repeatedly should cycle through the list of open applications in the order of their recency. This allows users to quickly access any of the last few applications they were working with.

darklajid commented 4 months ago

@WatchMkr would it make sense to support shift-alt-tab (cycle backwards) too in the same requirement? Would this be something that outsiders could contribute to?

WatchMkr commented 4 months ago

@darklajid Yes, shift-alt-tab should cycle backwards. We'd welcome a PR.

curiousercreative commented 1 month ago

@WatchMkr is there a story for increasing the number of windows that can be cycled through? I always have more than 8 windows open in my work day and it's been frustrating to have to rely on mouse and dock to find a window when it's not in the list.

thedeanominator commented 1 month ago

Regarding the use of ALT + TAB on PopOS (regardless of whether using the current alpha version of COSMIC) to switch between windows, is there a particular logic behind the order of the applications listed? It doesn't appear to be in alphabetical order.

WatchMkr commented 1 month ago

@curiousercreative the plan is to remove the 8 entry limitation when in tab+alt/super mode.

Pandapip1 commented 6 days ago

If this is implemented, there should be an option to hide the focused window from the selector.

PoisonFrog commented 6 days ago

If this is implemented, there should be an option to hide the focused window from the selector.

Why? I have never seen any other desktop environment do something like this. Usually the focused window is the last one in the list. That's how Windows and every other Linux DE I know works. Why would anyone want to hide the focused windows? Sounds like an unheard-of feature that only you would use.

Pandapip1 commented 5 days ago

Why? I have never seen any other desktop environment do something like this. Usually the focused window is the last one in the list. That's how Windows and every other Linux DE I know works. Why would anyone want to hide the focused windows? Sounds like an unheard-of feature that only you would use.

My bad, I didn't realize that the focused window was the last one in the list. I'm just used to alt-tabbing once to switch windows, and as currently stated, tab would need to be pressed twice. Having the focused window at the end is fine for my use-case too.

road2react commented 5 days ago

Usually the focused window is the last one in the list.

Really? On GNOME I see the focused window as the first, but the initial selection would be on the second window.

PoisonFrog commented 5 days ago

Usually the focused window is the last one in the list.

Really? On GNOME I see the focused window as the first, but the initial selection would be on the second window.

Yeah, that's what I meant. The last one to be selected, unlike how it works in Cosmic where it actually is the first to be selected.

sounddrill31 commented 3 days ago

Hope this pans out well, thanks a lot to the team for considering to fix it.

I really love cosmic so far, and it has earned its spot on my laptop - despite being in alpha. This is one of the issues that is generally workflow-breaking for me(along with a lack of a shortcut that pulls up the clipboard manager but I see that there is already an issue in the respective repo)

Thanks a lot for this project overall