pop-os / cosmic-applets

WIP applets for cosmic-panel
GNU General Public License v3.0
201 stars 73 forks source link

press Esc to close popups #509

Open juhp opened 2 months ago

juhp commented 2 months ago

Currently the only obvious way to close applet popup windows is to click on the applet again. It would be nice to be able to close the popup windows with Escape.

juhp commented 2 months ago

A more annoying thing is that apps lose focus after using an applet: this might be okay when tiling, but feels surprising when floating windows to me. But that may be a compositor issue? Combined with less predictable window switching currently it becomes a bit of a usability issue I would say.

wash2 commented 2 months ago

Currently the only obvious way to close applet popup windows is to click on the applet again. It would be nice to be able to close the popup windows with Escape.

Ya, clicking anywhere but the panel or applet should also close it too. I'll add escape as another option though.

wash2 commented 2 months ago

A more annoying thing is that apps lose focus after using an applet: this might be okay when tiling, but feels surprising when floating windows to me. But that may be a compositor issue?

The panel and applets are normal applications, so they do receive focus when interacted with. That being said, cosmic-comp could possibly restore focus after the panel popup is closed though.