code structure menu doesn't track the mouse properly

Originator:mayoff
Number:rdar://42667778 Date Originated:27-Jul-2018 01:19 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode Version 10.0 beta 4 (10L213o)
Classification:UI/Usability Reproducible:Always
 
Summary:
Dear Xcoderinos,

The code structure popover menu thingy is really great. (I’m talking about the thing that shows “Jump to Definition”, “Show Quick Help”, “Callers…”, etc. when you command-click in the editor.)

However, it has a bug. If I press and hold the mouse button whilst the pointer is over (for example) “Show Quick Help”, then it highlights “Show Quick Help”. When I then drag the pointer (with the button still pressed) to “Jump to Definition”, it does not move the highlight to “Jump to Definition”. It leaves “Show Quick Help” highlighted. However, if I then release the mouse button in this state (pointer over “Jump to Definition” but highlight on “Show Quick Help”), then it executes “Jump to Definition”. In other words, the action performed matches the pointer position, but the highlight doesn’t match the pointer position.

I will attach a video demonstrating the problem.

Love,
Rob


Steps to Reproduce:
1. Command-click (or control-command-click, depending on your settings) over a function call in the editor.
2. Move the mouse pointer onto “Show Quick Help”.
3. Press and hold the mouse button.
4. Move the mouse pointer onto “Jump to Definition”.
5. Release the mouse button.


Expected Results:
The menu highlight follows the mouse.

Actual Results:
The menu highlight remains on the menu item under the pointer when the button was pressed.

Version:
Xcode Version 10.0 beta 4 (10L213o)

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!