nog icon indicating copy to clipboard operation
nog copied to clipboard

Minimize instead of hiding

Open fredizzimo opened this issue 3 years ago • 1 comments

It would be great if Nog had an option to minimize the windows instead of hiding them when switching desktops.

I prefer to use to see the normal Windows task bar, and I would like all the running applications to be displayed there, no matter which desktop they are in. That way you don't need to switch too all workspaces to see what's open, or forget some application on a workspace that is not used very often. Some applications also shows notifications by blinking in the task bar, and I don't want to miss those.

It would also reduce the risk of having some bugs that permantently hides an application, I think that already happened to me, and I have barely started using Nog. Also the apps doesn't seem to get unhidden when switching back to normal mode from work mode.

fredizzimo avatar Jul 17 '21 07:07 fredizzimo

I have been running with a local modification that just calls minimize instead of hide, and this is defnintely the behaviour I prefer. The default taskbar now works just like normally in Windows, and I can even switch windows with the mouse or alt-tab, and the correct workspace automatically gets activated. So a hybrid workflow is possible, sometimes I prefer to switch with the mouse, if I'm just holding the mouse and don't have my hands on the keyboard, while other times, I just use the keyboard.

I haven't prepared a pull request yet, since I had to disable the automatic toggling to floating mode when minimize is clicked, and I have also not added a config option. Perhaps this automatic floating toggle should be disabled when the option is turned on. I also think I have to actually implement minimize and maximize, instead of hacking show and hide, since some behaviour, like when full screen apps are shown needs the bar to be actaully hidden, and not just minimized.

fredizzimo avatar Aug 04 '21 14:08 fredizzimo