The "user script menu commands" menu does not enable/disable properly #1665

Closed
arantius opened this Issue Oct 24, 2012 · 0 comments

Projects

None yet

1 participant

@arantius
Collaborator

This was originally reported in #1661 by @timecode but mixed in with other issues, and without clear reproduction steps.

  1. Install https://gist.github.com/898642 (And no other (enabled) scripts that call GM_rmc)
  2. Visit about:blank#GM_rmc
  3. Click the button
  4. Open the monkey menu, see the "user script commands" submenu enabled, with one working item that shows an alert when selected
  5. Reload the page.
  6. Open the money menu, see the "user script commands" submenu enabled.
  7. Hover over it and it disables itself.
  8. Click the button again, the submenu never enables itself again.

Nothing shows in the error console. Restart firefox or open a new window and steps 2-4 work as expected again.

Whenever the menu is opened and there are no commands, the submenu should immediately be disabled (not upon hover); whenever there are commands it should be enabled.

The bug is that if you hover the submenu when it is enabled but should be disabled (part 1), it never becomes enabled again (part 2).

@arantius arantius closed this in 32ab052 Nov 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment