genodelabs / genode

Genode OS Framework
https://genode.org/
Other
1.05k stars 248 forks source link

nitpicker: defer hover changes during drag operations #3973

Closed nfeske closed 3 years ago

nfeske commented 3 years ago

When resizing a window with a size constraint using the motif decorator and depressing the mouse button while the pointer is outside the resize handle, the resize handle stays in hovered state.

During the analysis together with @chelmuth, we found that nitpicker updates its internal _hover state too eagerly, which indirectly leads to the masking of a leave event to the decorator. This issue may be related to the sporadic "jumping window" effect that sometimes occurs in Sculpt.

cproc commented 3 years ago

@nfeske: with your latest commit I could not reproduce the jumping window or resize handle hovered state anymore.

nfeske commented 3 years ago

@cproc, thank you for the confirmation. :-)