relikd / baRSS

Menu Bar RSS reader for macOS
MIT License
128 stars 5 forks source link

Bug: Arrow key navigation appears to be broken #15

Open mbrgm opened 6 days ago

mbrgm commented 6 days ago

Step to reproduce

  1. Open baRSS menu.
  2. Place cursor above first entry ("Pause Updates").
  3. Change highlighted entry by repeatedly pressing down arrow key.

Expected behavior

Actual behavior

relikd commented 6 days ago

I'll be travelling the next few month, therefore I can not look at the problem at the moment. But I will get back to you as soon as I can.

First guess: https://github.com/relikd/baRSS/blob/6cf86d3bf80fbb74ce40c1c78ec50d1ad8e62259/baRSS/Status%20Bar%20Menu/NSMenu%2BExt.m#L78-L82

this creates a hidden menu entry which is only shown when holding down alt/option. I assume this breaks the "highlight next item" logic. I wonder whether other apps have this problem with alternative-items or not. I assume the other work as expected, thus I have to try to create the menu item differently.