Wrong mouse position for mouseEnter event when coming from a popup menu

Hello,

The position of the mouseEnter event is wrong when you come from a popup menu. It seems to be not relative to the component but the absolute desktop mouse position instead. I guess it’s not normal. I get the same problem with callout boxes. Didn’t try with combos. I used the develop lastest branch. Windows 10.

Cheers,

1 Like

Another maybe related issue

If I call showMenuAsync with a right click mouseDown on my component (release the right click) and then dismiss the menu with a left mouse down on the same widget, I will receive the mouseUp on this widget although it didn’t receive the original mouseDown.
Is this unpaired behaviour normal ?

Thanks !

1 Like

Bump, it would be great to fix this issue.

I get the same issues, the mouseEnter position which is currently wrong and the mouseDown which is missing, which makes the mouse events inconsistent.
Please juce team would you mind take a look at this dangerous 2 issues.
PLEASE.
Juce 7.0.7 develop branch/last mac os.

EDIT: I also get an issue with CalloutBox where clicking on the margin dedicated to the window’s shadow does not trigger dismiss() on Mac OS (didn’t tested on windows)

Would it be unkind to observe that this well-illustrated bug was first reported almost 3 years ago? :face_with_open_eyes_and_hand_over_mouth:

Well I did the same project as the illustration and i do not reproduce on the small project, i need to investigate more. Cheers,

It would have been good for the OP to have uploaded the demo project…