Comments (7)
I think I've observed the same behavior. It isn't always the case, though. It may have started after I switched to using the latest "stable" release of hterm. It is almost certainly an hterm bug; I have written no code regarding copy/paste behavior. I wonder if you can repo using Secure Shell.
from mosh-chrome.
I've been using the Secure Shell app for about a year now, daily, for hours at a time and have never encountered the problem before. If the hterm is the issue, then I would imagine it's a newer version of hterm than the one used in Secure Shell on Chrome Webstore.
Even restarting the app doesn't fix it. Haven't tried rebooting the Chromebook.
Thanks for all the work writing this app though. I love Mosh and have wanted a NaCl version on my Chromebook for a while. Until now I've been using an Arch chroot inside CrOS to use mosh, which works okay, but native is always better.
from mosh-chrome.
That is indeed quite interesting. I'm observing this behavior right now in all my Mosh windows on Ubuntu LTS. The selection buffer works (which is of no use to Chrome OS users), but the text doesn't make it into the clipboard, in spite of the little scissors icon popping up (as you note). I just tried running Secure Shell, and it works just fine.
I still think it is an hterm bug, but I'll need to see which version they're using, and if I need to upgrade (or even downgrade).
from mosh-chrome.
I wonder if this might actually be a bug with Chrome. I can't repro on my machine at home, which is running Chrome Stable (I had to revert due to some Chrome X11 bug that affected only this machine), but my machine at work is running Chrome Beta, and it was broken there all week. I see you were running Beta. Try seeing if you can repro on Stable (although I don't recommend reverting your Chromebook to Stable, as that is a royal pain; try using regular Chrome on another platform).
from mosh-chrome.
I have tried this using Chrome Stable on a Mac, and it works fine. I've tried building with a newer hterm which does have some changes to the copying code, but alas, it still fails on Beta versions. This is looking more and more like a Chrome bug. It doesn't affect Secure Shell, though, which may be because it is not a packaged app like Mosh.
@sbc100 any thoughts?
from mosh-chrome.
I just noticed this: hterm is spitting this out onto the JS console whenever I try to copy on Chrome 34:
We don't execute document.execCommand() this time, because it is called recursively.
Some of the recent changes to hterm seem related to trying to fix that.
from mosh-chrome.
Fixed in SHA eeda945, simply by updating to hterm 1.34.
OK, I thought I was trying a newer release of hterm earlier today, but my build script led me astray (that's fixed in SHA 908df8c). So actually updating to a newer hterm fixed it.
from mosh-chrome.
Related Issues (20)
- Possible fix for bazel issue commented on in source HOT 1
- possible touchscreen setup HOT 1
- Context menu not created. HOT 1
- ssh passphrase never accepted HOT 7
- Migrate to google.dns and follow redirects HOT 1
- [improvement] support openssh format privkey HOT 1
- Unable to configure user-css due to CSP
- Connect draws empty, irresponsible window HOT 1
- Add support for using another app as SSH agent
- not opening ui after pressing connect
- kernel/buildroot menuconfig (ncurses) displays weird
- Bad response when running mosh-server: 'bash: --: invalid option
- Terminal escape sequences not working with Chrome 94.0.4606.61 HOT 4
- Mosh for Chrome unable to connect in latest MacOS
- Can't Connect to Mosh on macOS
- Can't change background color to white
- External dependencies required for build HOT 1
- Mosh crashed Aborting: _Unwind_RaiseException Mosh NaCl crashed.
- Feature request: block/column selection HOT 1
- mosh no longer supported in chrome HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mosh-chrome.