pop-os / cosmic-panel

WIP
GNU General Public License v3.0
107 stars 21 forks source link

[Performance] Applet receive keyboard event with delay when the mouse it not over the popup #153

Closed wiiznokes closed 4 months ago

wiiznokes commented 4 months ago

This issue is particularly visible in https://github.com/wiiznokes/cosmic-clipboard-manager, with a delay of at least 500ms

wash2 commented 4 months ago

I don't think the delay should have been as much as 500ms, so this may require more changes, but #155 should at least prevent the panel from intentionally handling events more slowly when there is a popup.

wiiznokes commented 4 months ago

The issue is not fixed for me. I only notice the performance issue on my low-end laptop (core i3).

https://github.com/pop-os/cosmic-panel/assets/78230769/7d06a545-b13f-4976-9f92-38316b404052

https://github.com/pop-os/cosmic-panel/assets/78230769/cae10ec8-3f31-4a17-9240-aca91d54781e

wash2 commented 4 months ago

https://github.com/pop-os/cosmic-panel/pull/164 may also help

wiiznokes commented 4 months ago

Oh mb, i was using an old version of the panel, I thought i double checked that :sweat_smile: