Open Bug 1822370 Opened 2 years ago Updated 2 years ago

cursor:none isn't respected right after a context menu is closed

Categories

(Core :: Widget: Cocoa, defect, P3)

All
macOS
defect

Tracking

()

ASSIGNED

People

(Reporter: mstange, Assigned: mstange)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

This is a follow-up to bug 1820168.

Steps to reproduce:

  1. Load the attached testcase.
  2. Right-click over the yellow area.
  3. Left-click over the yellow area outside of the menu.

Expected results:
Once the menu closes, the mouse cursor should disappear again.

Actual results:
The mouse cursor remains visible until you mouse out and back into the yellow area.


Furthermore, the following should still work after this is fixed:

Steps to reproduce:

  1. Load the attached testcase.
  2. Drag and drop the green box slightly to the right, while remaining in the green or yellow area.
  3. Drag and drop it again (don't move out of the green/yellow area.)
  4. And again.
  5. Move the mouse out of the green/yellow area.

Expected results:
The mouse cursor should be come visible.

My initial attempt to fix the former caused the latter to break, because the hide/unhide calls became unbalanced.

Assignee: nobody → mstange.moz
Status: NEW → ASSIGNED
OS: Unspecified → macOS
Hardware: Unspecified → All
Attached file testcase (deleted) —

The severity field is not set for this bug.
:spohl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(spohl.mozilla.bugs)
Severity: -- → S3
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: