babar icon indicating copy to clipboard operation
babar copied to clipboard

Group application windows from the same desktop

Open TavoAdr opened this issue 3 years ago • 8 comments

It would be really nice to have an option to group apps that are in the same desktop, along with indicators of how many apps are open.

TavoAdr avatar Aug 30 '21 10:08 TavoAdr

We have to think about grouping. There are some ways to achieve that. I won't have at all the time to look at this for some weeks now. If you have a PR, I can review it, of course.

fthx avatar Aug 30 '21 11:08 fthx

Just to be clear, the application grouping would be the same as in traditional docks, where you only display the program icon once and have an indicator of how many windows for that program are open. (the problem might be doing this by desktop and keeping the minimized windows separate) With the way the icons are currently organized, I can open 8-14 programs until the top bar runs out of space and I think that would be a solution. I just noticed that my description had been a little vague, but about PR, I have no idea what that is.

TavoAdr avatar Aug 31 '21 09:08 TavoAdr

I haven't much experience with building gnome shell extensions, but I know javascript well. I had a look at the code and it shouldn't be difficult. I may have an attempt at it if I manage a spare hour or two this week. Of course, if you can review it afterwards it would be nice!

However, it would break the previews, because there is only one preview linked per button as of now... And I don't feel up to understanding how the previews work – perhaps you can do that then @fthx ?

jlemonde avatar Oct 07 '21 16:10 jlemonde

I think we can affect 2nd button to grouping and 3rd to preview, e.g. I can review that but I'll need some time, I've got a LOT of work at the moment.

fthx avatar Oct 07 '21 16:10 fthx

I was rather thinking of a way to automatically group windows from the same application in the same workspace. That is, a way to avoid the following: Capture d’écran de 2021-10-07 18-41-17 Thus no manual grouping.

jlemonde avatar Oct 07 '21 16:10 jlemonde

I mean, 2nd button to choose the good window in a group icon!

fthx avatar Oct 07 '21 16:10 fthx

I was rather thinking of a way to automatically group windows from the same application in the same workspace. That is, a way to avoid the following: Capture d’écran de 2021-10-07 18-41-17 Thus no manual grouping.

It is also possible to use a terminal that supports tiling such as Tilix to avoid this.

Kobtul avatar Apr 27 '22 09:04 Kobtul

The terminal thingy was an example. It also happens with text editors, image viewers, pretty much any app in fact. I switched away from babar because it couldn't group windows, and I would suggest you to fix that, in your own interest, because your concept is really good and should have a chance of getting more popular, if only it supported basic stuff like grouping.

jlemonde avatar Apr 27 '22 10:04 jlemonde