Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Linux @ VirtualBox mouse problem #6306

Closed

Description

@am-kantox

There is a known issue with Chrome41 engine running on Linux in VirtualBox. It actually became a show-stopper for Chrome42. TL;DR: in VB Chrome41 engine always runs in touch-screen mode, even on desktops.

Hotfix in Chrome41 is to pass --touch-devices=123 to the chrome command line.

Is it possible to pass parameters to Atom’s command line so that chrome engine will understand them?

Activity

  1. hainesr commented on Apr 9, 2015

    @hainesr

    I am seeing this too. However, if I run Atom on a remote X display from my VB machine it works as usual. Given that Atom is unusably slow over an X connection, though, this isn't a good workaround!

  2. am-kantox commented on Apr 9, 2015

    @am-kantox
    Author

    @hainesr Of course it works as usual, since chrome engine tries to figure out what screen mode to select on the target machine.

  3. izuzak commented on Apr 13, 2015

    @izuzak
    Contributor

    @am-kantox As far as I can tell, that should be possible, see electron/electron#978.

    /cc @zcbenz

  4. am-kantox commented on Apr 13, 2015

    @am-kantox
    Author

    @izuzak Unfortunately I was unable to force this option even by editing

    src/browser/atom-application.coffee:    app.commandLine.appendSwitch 'js-flags', '--harmony'
    

    and rebuilding the app from the scratch.

  5. izuzak commented on Apr 13, 2015

    @izuzak
    Contributor

    @am-kantox You did try passing the flags when running atom, right (not editing the source)? Can you specify which Atom command you tried exactly and what you get if you try this: electron/electron#978 (comment)? Also, you might want to continue this discussion over at electron/electron#978.

  6. jpmn commented on Apr 16, 2015

    @jpmn

    It looks like it has been fixed in Google Chrome v42.0.2311.90. Any chance Atom will be updated soon too?

  7. added
    linux
    on Apr 16, 2015
  8. am-kantox commented on Apr 17, 2015

    @am-kantox
    Author

    @jpmn Hereby I confirm it was fixed in Chrome42. It works back like a charm since 42 version.

  9. izuzak commented on Apr 17, 2015

    @izuzak
    Contributor

    It looks like it has been fixed in Google Chrome v42.0.2311.90. Any chance Atom will be updated soon too?

    @jpmn Seem like it's going to happen soon. See electron/electron#1424

  10. jpmn commented on May 1, 2015

    @jpmn

    The problem is still present in Chrome 42.0.2311.135 and makes both Atom and Chrome unusable (fixed with the flag --touch-devices=123).

    Host: Windows 8.1
    Guest: Ubuntu 14.04
    Atom: 0.194.0

    Here is an example of selecting text showing the "touch" handles of Chrome:

    image

  11. jpmn commented on May 11, 2015

    @jpmn

    I found a "pointing system" option in the VM configuration . When set to "PS/2 Mouse" it started working again (Atom and Chrome).

    VirtualBox: 4.3.26 r98.988

  12. SlyDen commented on May 14, 2015

    @SlyDen

    @jpmn Confirm that trick (I use RCtrl-I shortcut to switch the mode) ... For now I just set --touch-devices=123 flag in Chrome's start up script and it works ... and for Atom I'm switching mode (tried the same option in command line with no effect)

    Atom: version 0.198.0
    Crome: Version 42.0.2311.152 (64-bit)
    VirtualBox: 4.3.26 r98.988

  13. rdnewman commented on May 21, 2015

    @rdnewman

    With Chrome 43 now released with a fix for this in Chrome, this issue should no longer be tagged "blocked."

  14. 7 remaining items

  15. mnquintana commented on Jun 28, 2015

    @mnquintana
    Contributor

    This is blocked until Atom upgrades to a version of Electron built on Chrome 43.

    (Much like #7502 and #3826)

  16. yuki-takei commented on Jul 4, 2015

    @yuki-takei

    I forked atom/atom to build personal deb package using electron (>= 0.27.2, chrome 43.0.2357.65) at here.
    I'm going to create releases continuously for a while.

    releases page:
    https://github.com/yuki-takei/atom-using-electron-chrome-42/releases/latest

    Use it AT YOUR OWN RISK.

  17. vadviktor commented on Jul 10, 2015

    @vadviktor

    I am using Xubuntu core on Ubuntu 15.04, running it in VirtualBox on Win8.1. I have disabled USB support and switched to PS/2 input but no use, Atom 1.0 is still unable to select text.

    This is not a problem when I run Xubuntu on VMware Workstation, that VM reports mouse correctly.

  18. ricardopieper commented on Jul 20, 2015

    @ricardopieper

    @yuki-takei, I quoted you in some posts, I did the same thing as you did and also solved some other problem. If you want, you can provide some information here (#7974).

    @heyyoyo, the other problems that appeared in Yuki's build, is that (atom/notifications#85) one of them?

  19. yuki-takei commented on Jul 20, 2015

    @yuki-takei

    @ricardopieper
    Hi. I'm happy to see your care about this problem.
    Frankly speaking, I don't disgust against your quote, but I'm afraid you have some misunderstanding.

    The yuki-takei/atom-using-electron-chrome-42 repos is based on atom/ks-electron-chrome-42. Those changes are not my own job, but committed by @kevinsawicki and @zcbenz.

    What I did is only forking and merging :-P

    In this two weeks, @thomasjo seems to attempt to upgrade to Electron. See #7877.

    While I don't watch the progress of the official atom team,
    I think your information about command-register.coffee might be helpful for them.

    Why don't you comment to PR #7877 ? (or link to issues #7974)

  20. ricardopieper commented on Jul 20, 2015

    @ricardopieper

    Ah... I see. Thanks for clarifying that. I'll do that.

  21. zl4bv commented on Sep 17, 2015

    @zl4bv

    Looks like the fix has been released with Atom 1.0.12 - many thanks!

  22. jadbox commented on Sep 22, 2015

    @jadbox

    Seems like it's fixed for me too- thanks so much folks.

  23. SlyDen commented on Sep 23, 2015

    @SlyDen

    yes, it works now :) (VirtualBox 5.0.4 && Atom 1.0.15)

  24. XilinJia commented on Sep 23, 2015

    @XilinJia

    Ubuntu PPA version stays at 1.0.11 (why?), which still has the problem. I
    just downloaded 1.0.15 from github and it works.

    On Wednesday, September 23, 2015, Denys Slipetskyy [email protected]
    wrote:

    yes, it works now :) (VirtualBox 5.0.4 && Atom 1.0.15)

    —
    Reply to this email directly or view it on GitHub
    #6306 (comment).

  25. winstliu commented on Sep 23, 2015

    @winstliu
    Contributor

    Ubuntu PPA version stays at 1.0.11 (why?)

    The Ubuntu PPA is a third-party PPA which isn't maintained by the Atom devs, so it can occasionally lag behind for a bit.

  26. lock commented on Jan 20, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  27. locked as resolved and limited conversation to collaborators on Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedbuglinux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions