fastaddons / ScrollAnywhere

This repository is for tracking bugs and documentation only
Other
27 stars 1 forks source link

Context pops up #61

Closed erikschul closed 1 year ago

erikschul commented 1 year ago

Describe the bug When using right-click to scroll, the context menu appears 80% of the time, 20% of the time the scroll works as expected.

Steps To Reproduce Steps to reproduce the behavior: Enable right-mouse scrolling. On a page with text (e.g. GitHub), right-down and move the mouse. Context menu shows.

Expected behavior Previously worked correctly.

Device info:

Additional info

Juraj-Masiar commented 1 year ago

Was it working fine before? Also, does it work in the "testing area" in the Options page? Or is it broken only on some specific pages.

erikschul commented 1 year ago

Yes it was working fine a few months ago. I haven't noticed exactly when it stopped working, because I mostly use touchpad, only my mouse sometimes.

The problem also occurs in the "testing area":

image
Juraj-Masiar commented 1 year ago

Is the context menu displayed when you press or when you release the right button? Also, if it was working before, then try to uninstall it, restart Firefox (make sure Firefox is not running, you may need to right click the Firefox icon and select "quit"). Then install it back.

erikschul commented 1 year ago

Context menu shows on mouse down. If I mousedown, mouseup, mousedown, the context menu disappears, and I am able to scroll until mouseup. So the problem seems to be that ScrollAnywhere does not have priority over context menu on right click.

erikschul commented 1 year ago

Uninstalling the extension, quitting firefox, and reinstalling the extension, did not solve the problem.

Juraj-Masiar commented 1 year ago

When you enabled "Right button" scrolling, it should ask you if you want to change system setting - to show context menu on mouse up, not mouse down event. Try to disable / enable right button scrolling checkbox now.

If it's not asking you that, try this:

  1. open "about:config" page
  2. use filter to find "ui.context_menus.after_mouseup" and make sure it's set to "true"
erikschul commented 1 year ago

Ah, sorry. It works now.

I see the guide text now. I used Windows before, so I've read the text before, but it didn't apply to me, and then next time, I didn't read it, out of habit. Silly!

Linux / Mac users - you will be prompted for new permission "Read and modify browser setting" - this is required to suppress context menu being shown before scrolling!