Closed anna-is-cute closed 5 years ago
Are you on X11 or Wayland?
X11
I'm not sure what causes the sideways movement, please run this in your browser console: window.devicePixelRatio
. Which distro and version are you using? Is your desktop environment scaled up or is your monitor HDPI? I could try recreating your env in a VM to reproduce the bug.
I'll drop the robotgo dependency entirely at some point (which requires libpng) and call system APIs directly.
I figured it had to do with scaling. Yes, monitor is HiDPI. window.devicePixelRatio
is 1, but GNOME is scaled to 200%. I'm using Ubuntu 18.10 (cosmic) and Firefox 67.0a1 (2019-02-11).
Btw, until the mouse issue is solved, you could navigate with Shift+Tab to the extension button and press Enter. It opts for keyboard navigation if the user initiates the solving with a keyboard.
Ugh, so it looks like Firefox does not report OS scaling properly. I have only accounted for window.devicePixelRatio to handle scaling.
For what it's worth, Firefox does report pixel ratio properly, but I have the privacy.resistFingerprinting
option enabled, which makes it report 1.
Oo of :joy_cat:
Thanks for testing! I did not know resistFingerprinting
can also spoof devicePixelRatio
.
No problem. Although, when I turned off resistFingerprinting
, the mouse still didn't end up in the right spot (it went in the inverse direction, I think), and I'm a little boggled at that.
Please do a test with OS scaling set to 1, let's see if the last issue is entirely because of scaling.
Works as intended with the OS scaling set to 1.
Thanks a bunch for your time, I'll try to reproduce and fix the bug.
The fix was published on AMO, please let me know if there are other issues related to scaling.
I have the same problem, my cursor just moves down indefinitly until it reaches the bottom of the screen
@Bluscream, which version of the extension are you using? Please share more details about your environment.
I am using the version from the mozilla store in firefox quantum, what else do you need? I can give it here once im back on my pc
@Bluscream, please open a new issue, the bug report template will list all the needed information, also include your display type, and whether you are using display scaling, or if you are zooming the web page.
Okay thanks
@Bluscream, it's also possible that the browser does not report the correct scale, it may happen if you have enabled privacy.resistFingerprinting, or a privacy extension.
I use a lot of privacy settings/addons. So people using that cant use the client?
It really depends on the extensions and specific settings you use, and also your os scaling and page zooming. Let me know if you figure out which extension and setting is interfering with Buster.
The problen with that is that i have no idea. I use them to not have to think about that Kinda stuff. I could dump everything out for you.
Name | Firefox |
---|---|
Version | 66.0b12 |
Build ID | 20190228180200 |
Update History | |
Update Channel | aurora |
User Agent | Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0 |
OS | Windows_NT 10.0 |
Name | Version | Enabled | ID |
---|---|---|---|
Absolute Enable Right Click & Copy | 1.3.8 | true | {9350bc42-47fb-4598-ae0f-825e3dd9ceba} |
AdGuard AdBlocker | 2.10.17 | true | adguardadblocker@adguard.com |
Auto Reload Tab | 0.5 | true | {0ed335eb-9779-4d7f-b9d8-7ec2e96a1f43} |
Buster: Captcha Solver for Humans | 0.4.1 | true | {e58d3966-3d76-4cd9-8552-1582fbc800c1} |
CanvasBlocker | 0.5.8 | true | CanvasBlocker@kkapsner.de |
Chrome Store Foxified | 3.4 | true | Chrome-Store-Foxified@jetpack |
CoderStats link for Github Coders | 2.0.0 | true | jid1-HAA0sgdoxNv9aA@jetpack |
Dark Reader | 4.7.6 | true | addon@darkreader.org |
Feedbro | 3.39.0 | true | {a9c2ad37-e940-4892-8dce-cd73c6cbbc0c} |
File Icon for GitHub, GitLab and Bitbucket | 0.8.1 | true | {85860b32-02a8-431a-b2b1-40fbd64c9c69} |
Friendly GitHub | 18.9.13.2209 | true | {073711a2-ea6d-49f2-98b6-0d7ea340c06f} |
GitHub Issue Hoister | 0.1.0 | true | {f72823f3-f1b7-4c5f-b708-a1a8a24700f6} |
Github Repo Size | 1.3.0 | true | github-repo-size@mattelrah.com |
Google images view image button | 1.3 | true | google_images_view_image_button@mail.com |
Google Translator for Firefox | 3.0.3.3 | true | translator@zoli.bod |
HTTPS Everywhere | 2019.1.31 | true | https-everywhere@eff.org |
Open in Browser | 2.8 | true | openinbrowser@www.spasche.net |
QR Code Generator | 3.0.0 | true | jid0-RwTySlpoKU14fw7yw2AflOAihhA@jetpack |
Remove Cookie for Google Account Chooser | 2.0 | true | jid1-Rm4h1P3jB1IL4w@jetpack |
Shodan | 0.3.2 | true | jid1-AWt6ex5aPvWtTg@jetpack |
Snap Links | 3.1.5 | true | snaplinks@snaplinks.mozdev.org |
Stylus | 1.5.2 | true | {7a7a4a92-a2a0-41d1-9fd7-1e92480d612d} |
uMatrix | 1.3.16 | true | uMatrix@raymondhill.net |
View Page Archive & Cache | 1.5.3 | true | {d07ccf11-c0cd-4938-a265-2a4d6ad01189} |
Violentmonkey | 2.10.1 | true | {aecec67f-0d10-4fa7-b7c7-609a2db280cf} |
Wappalyzer | 5.7.3 | true | wappalyzer@crunchlabz.com |
Wayback Machine | 1.8.6 | true | wayback_machine@mozilla.org |
Web Developer | 2.0.1 | true | {c45c406e-ab73-11d8-be73-000a95be3b12} |
Wide GitHub | 1.0.1 | true | {72742915-c83b-4485-9023-b55dc5a1e730} |
Advanced GitHub Notifier | 1.4.6 | false | {8d4b86c5-64bf-4780-b029-0112386735ab} |
GitHub Canned Responses | 1.0.8 | false | github-canned-responses@example |
GitHub Notifier | 1.3.2 | false | {0906178a-2043-4d0c-a099-bd6a4d00945e} |
GitHub with a cape | 1.4.5 | false | {38834a56-84c1-4489-8160-97192066217d} |
New Tab Override | 14.2.0 | false | newtaboverride@agenedia.com |
OkayFreedom | 1.6.2 | false | {DB981CCA-088E-4731-A4A2-2FE218703C0E} |
Refined GitHub | 19.2.27.1835 | false | {a4c4eda4-fb84-4a84-b4a1-f7c1cbf2a1ad} |
Name | Value |
---|---|
accessibility.force_disabled | 1 |
accessibility.typeaheadfind.flashBar | 0 |
browser.cache.disk.capacity | 1048576 |
browser.cache.disk.filesystem_reported | 1 |
browser.cache.disk.smart_size.first_run | false |
browser.display.document_color_use | 1 |
browser.download.useDownloadDir | false |
browser.sessionstore.upgradeBackup.latestBuildID | 20190228180200 |
browser.startup.homepage_override.buildID | 20190228180200 |
browser.startup.homepage_override.mstone | 66.0 |
browser.urlbar.placeholderName | |
browser.urlbar.timesBeforeHidingSuggestionsHint | 0 |
dom.push.userAgentID | 03f6a33f95154a6b89edd8d42487c99a |
extensions.lastAppVersion | 66.0 |
font.internaluseonly.changed | false |
gfx.canvas.skiagl.dynamic-cache | false |
layers.mlgpu.sanity-test-failed | false |
media.gmp-gmpopenh264.abi | x86_64-msvc-x64 |
media.gmp-gmpopenh264.lastUpdate | 1549966397 |
media.gmp-gmpopenh264.version | 1.7.1 |
media.gmp-manager.buildID | 20190228180200 |
media.gmp-manager.lastCheck | 1551528011 |
media.gmp-widevinecdm.abi | x86_64-msvc-x64 |
media.gmp-widevinecdm.lastUpdate | 1549966399 |
media.gmp-widevinecdm.version | 4.10.1146.0 |
media.gmp.storage.version.observed | 1 |
media.hardware-video-decoding.failed | false |
network.cookie.cookieBehavior | 3 |
network.dns.disablePrefetch | true |
network.http.speculative-parallel-limit | 0 |
network.predictor.cleaned-up | true |
network.predictor.enabled | false |
network.prefetch-next | false |
places.database.lastMaintenance | 1551328301 |
places.history.expiration.transient_current_max_pages | 129775 |
plugin.disable_full_page_plugin_for_types | application/pdf |
privacy.cpd.cache | false |
privacy.cpd.cookies | false |
privacy.cpd.downloads | false |
privacy.cpd.formdata | false |
privacy.cpd.history | false |
privacy.donottrackheader.enabled | true |
privacy.resistFingerprinting | true |
privacy.sanitize.pending | [{"id":"newtab-container","itemsToClear":[],"options":{}}] |
security.enterprise_roots.enabled | true |
security.mixed_content.block_active_content | false |
security.mixed_content.upgrade_display_content | true |
security.sandbox.content.tempDirSuffix | {e705a2a7-1cd7-4e31-8b56-0d147135c68c} |
security.sandbox.plugin.tempDirSuffix | {f9794e45-32a8-44af-98e9-82f081c0cde1} |
services.sync.declinedEngines | |
services.sync.engine.bookmarks.validation.lastTime | 1549978761 |
services.sync.engine.passwords.validation.lastTime | 1549978761 |
services.sync.engine.prefs.modified | false |
services.sync.lastPing | 1551587310 |
services.sync.lastSync | Sun Mar 03 2019 07:14:45 GMT+0000 (Coordinated Universal Time) |
signon.importedFromSqlite | true |
storage.vacuum.last.index | 1 |
storage.vacuum.last.places.sqlite | 1549966565 |
ui.osk.debug.keyboardDisplayReason | IKPOS: Touch screen not found. |
Hello @dessant , just to inform that today I try the new user input simulation feature but is not working properly for me. I figured out the reason is because I have my desktop scaled to 125%. I tried in the console with window.devicePixelRatio and is showing 1.25, hope it helps. I would thank you a lot if you could fix this, you have done an amazing work. btw im using chrome on w10.
@s73b4n, please open a new issue and fill out the issue template with all the requested details, that should help with reproducing the bug.
ok, will do it so, thanks for the fast reply.
Whenever I click on the button that Buster adds when simulated user input is enabled, the mouse moves to one edge of the screen instead of wherever it's supposed to go.
If it's important, I had to build the client binary and installer myself, since the distributed version uses a very old version of libpng that I couldn't install on my system (libpng12 vs libpng16).