psifidotos / applet-window-appmenu

Plasma 5 applet in order to show the window appmenu
GNU General Public License v2.0
419 stars 33 forks source link

Appmenu in plasma panel does not release focus #214

Closed ixnewton closed 1 year ago

ixnewton commented 1 year ago

Like many I use appmenu applet in a top plasma panel.

If the menu is clicked it takes the global focus, raising the panel to the foreground. If the parent window is then clicked, it does not then get focus and raise the window in front of the panel. However, clicking the desktop or another window releases the focus, which can then return to the original window raising it to the foreground.

Normally, focus follows the mouse position and depending on desktop settings a mouse click. Appmenu seems to not release desktop focus to the parent window.

ixnewton commented 1 year ago

Using Icon Only Launcher gives the above behaviour, however swapping in Latte launcher to the plasma panel improves things but still requires a click on the parent window to raise it after using the menu. The ideal would be "focus follows mouse" and "raise on focus" to work as expected. It is as if Appmenu does not release or return the window focus.

ixnewton commented 1 year ago

Checking further this appears to be a less than ideal behaviour of the supporting plasma panel as all selectable menus do not return focus as I describe. It does interrupt the fluid return to the active window.