Specifically with my modem page I've had this issue. Gestures don't work but any up/down/left/right right-click gesture and then moving my mouse from the Firefox window or to the tabs window will automatically make my bookmark disappear. I don't know if this is a bug in FF or your extension. I'm assuming FF since it seems to have a permission beyond what the extension or the API you're using should be capable of or requested with their new webextension model.
This doesn't happen with the extension disabled. It doesn't happen on my router's page (192.168.1.1), only my modem's (192.168.100.1) which I guess rules out Mozilla not allowing the API to access local network pages. I can click anywhere on the modem page, regardless of what he element is below it and it happens. But even hovering over the context menu after gesturing will trigger the deletion of the bookmark.
I recorded it, not sure why but here you go.
Edit: Forgot, I'm on Nightly v57.0a1.
Also, another unrelated thing, when using the Stylus extension and this userstyle, when right-clicking and moving on wikipedia, the whole page is grayed or blackened if I change it to black by editing the stylesheet. Not a big deal and can't think of any use cases off-hand where it'd be a problem. But if you're wanting to keep your extension more user friendly, probably best to make sure it doesn't mess with the user's page display.
This seems strange..
Currently I'm not able not reproduce the bug on firefox 54.
To address the other problem:
Can you please send me an example screenshot of this? Even though I think that I'm unable to "fix" this, because Stylus is messing with my extension:
background-color: transparent !important;
color: #bcbcbc !important;
(the !important is overwriting my colors)
But I think I'm also going to add !important to all my elements which could fix the problem, but it depends on how and when Stylus is adding the css styles.
Yes, the source does indeed include those. Pastebin of source. Saving the page offline and opening in FF, the gestures don't work, maybe that's Mozilla's intent, but it doesn't delete the bookmark. Maybe someone with a Motorola Surfboard could also confirm if needed.
(I've tried reproducing this by searching for a few sites that use frames, bookmarking it and gesturing. As well as saving a page offline that uses frames, using Mongoose to host a site on my local network that has frames but I'm failing to reproduce it. So far, I've only seen this behavior on my modem page. It's not a big deal to me and a rare issue but figured you might be interested in the technical aspect.)
In case it's not clear, the gestures don't create a bookmark, only delete it. But it seems like right-clicking and moving my mouse in any direction to any degree at all and then moving the mouse to focus off the page, it'll instantly delete it.
Works fine everywhere else, thanks for your work. Except about and Mozilla pages, which I know is Mozilla's intent but understandable.
Every time.
Tested on FF 54.01 and same issue. I could also reproduce it on Linux with FF54.
Copy/paste:
*{
background-color: transparent !important;
color: #bcbcbc !important;
}
body, div, form, table, tbody, tr, td, fieldset, ul, li, a,
background-color: #000 !important; /personal edit/
background-image: none !important;
}
I deleted the "div" part and that solved it, but of course, doesn't make wiki look good.
I have same problem.
It seem to happen in any website. (tested in github, google, facebook .... and so on)
Specifically for the the right click which has very slight movement will trigger gesturefy instead of context menu. And this will trigger an action which is not assigned to any gesture.
In my case, the triggered action is 'Toggle Bookmark', too.
After I assign some gesture for 'Toggle Bookmark', it becomes to trigger 'New tab right', which is also not assigned to any gesture.
Same, after 'New tab right' is 'New tab left'
note: Firefox Nightly 57 (2017-08-08), Stylus is disabled
All this time, I didn't realize gesturefy had an option to toggle bookmarks. I guess that would've saved me some diagnostic time. Playing with that a bit, I assigned an L shape for toggling bookmarks. It doesn't seem to work but on my modem's page, it copies the tab but only when I focus off the web page. Yeah, somethings a bit wonky with the code.
Alright, thanks to both of you for the report! I'm looking into it.
Edit: Fixed it. I will try to submit this to mozilla in the next days, because soon I'm going to vacation for 2 weeks.
I don't normally bother with bug reports but this addon is well done, something I'd use often and has great potential. Thanks for the quick fix. Have a good vacation!
Thank you :)
I submitted the new version, hopefully it will get approved .