kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

consider top maximaized window as interaction window #45

Open mojtaba-baghban opened 7 years ago

mojtaba-baghban commented 7 years ago

Hi. Excuse me for my bad English. Please Consider top maximized window instead of active window as interaction window. In this way, top panel completely simulate titlebar of window, otherwise when a window is maximized and another window is active and unmaximized, if you for example press close button on panel, unmaximized active window would close. screenshot_20170227_015225 In this image when I press close button of panel I expect dolphin window close nor chromium window. Thanks in advance.

michaldybczak commented 7 years ago

It depends on the window which is focused. It is up to you to know which one is that. Making changes like that would completely mess things and introduce illogical behaviour and even more mistakes, because users can have different focus settings.

I think that proposed setting is a really bad idea. A user must just get used to the fact that only active window matters.

There is also an easy settings fix for that: make buttons appear only on maximized windows! This way buttons won't be showed when small windows will be in focus, so only those on windows will be calling for attention, while if buttons do appear on panel, it will be only if that maximized window will be focused. No room for mistakes like the one you described above. That is how I set the widget and it works well in my opinion.