0

I'm running into an issue in a mac osx app. I'm displaying a popover using an NSBox and I'm noticing tooltips from elements underneath are showing through

enter image description here

I've created a quick demo project to show the issue: https://github.com/GP89/tooltipper

I've tried everything I can think of

  • setting nextResponder on the box to nil
  • overriding all the mouse event handlers I can find in a subclass of NSBox (eg. mouseMoved)
  • setting acceptsTouchEvents to false

Plus a bunch of searching online

I did find some similar issues like this one where they silence mouse events, but I can't seem to find a way of doing it for tooltips

GP89
  • 6,600
  • 4
  • 36
  • 64
  • See [NSView mouse tracking](https://stackoverflow.com/questions/9225573/nsview-mouse-tracking?rq=1). Solution: use a real popover with `NSPopover`. – Willeke Jan 04 '21 at 14:29
  • @Willeke Thanks, as far as I know it wont be possible to have a similar appearance to what I have above with `NSPopover` – GP89 Jan 04 '21 at 15:33

0 Answers0