Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

theia next (30298afd) - invisible terminal text in Firefox #4469

Closed
4oo4 opened this issue Mar 3, 2019 · 3 comments
Closed

theia next (30298afd) - invisible terminal text in Firefox #4469

4oo4 opened this issue Mar 3, 2019 · 3 comments
Labels
question user / developer questions

Comments

@4oo4
Copy link

4oo4 commented Mar 3, 2019

Description

Apologies if this is a duplicate, when I build theia with the next tag, everything works as expected in Chrome, but in Firefox all of the terminal text is invisible. If I look in devtools or cut and paste from the terminal, I can see that the terminal text I typed. I tried poking around in the styles but didn't get very far. I think this popped up when I started building off the next tag (when that was 0.4.x), Firefox worked when I was building off of latest when that was on 0.3.x (unfortunately I don't remember what exact version).

Reproduction Steps

  1. Build a theia docker container, with Dockerfile and package.json: Use plugin with theia-docker? theia-ide/theia-php-extension#8 (comment)
  2. Open Theia in Firefox and open a terminal.
    selection_002

OS and Theia version:

  • theia: 0.5.0-next.30298afd
  • OS: Ubuntu 16.04 (docker image and host)
  • Firefox: 65.0.1
  • Chromium: 73.0.3664.3 (Developer Build)

Diagnostics:
I get this in the console, not sure if it's relevant:
Firefox:

Error: Request status failed with message: error: option `porcelain' takes no value
usage: git status [<options>] [--] <pathspec>...

    -v, --verbose         be verbose
    -s, --short           show status concisely
    -b, --branch          show branch information
    --porcelain           machine-readable output
    --long                show status in long format (default)
    -z, --null            terminate entries with NUL
    -u, --untracked-files[=<mode>]
                          show untracked files, optional modes: all, normal, no. (Default: all)
    --ignored             show ignored files
    --ignore-submodules[=<when>]
                          ignore changes to submodules, optional when: all, dirty, untracked. (Default: all)
    --column[=<style>]    list untracked files in columns

 4 messages.js:46

Chrome:

Uncaught (in promise) Error: Request 'status' failed
    at Proxy.<anonymous> (proxy-factory.ts:232)
    at e.<anonymous> (git-repository-tracker.ts:51)
    at git-resource.ts:41
    at Object.next (git-resource.ts:41)
    at a (git-resource.ts:41)
t @ messages.js:46
(anonymous) @ main.js:430
(anonymous) @ main.js:258
(anonymous) @ main.js:242
(anonymous) @ setImmediate.js:40
h @ setImmediate.js:69
s @ setImmediate.js:109
Promise.then (async)
c @ git-resource.ts:41
a @ git-resource.ts:41
Promise.then (async)
c @ git-resource.ts:41
(anonymous) @ git-resource.ts:41
a @ git-resource.ts:41
(anonymous) @ git-repository-tracker.ts:42
(anonymous) @ event.ts:119
e.invoke @ event.ts:127
e.fire @ event.ts:220
e.fireDidChangeRepository @ git-repository-provider.ts:105
(anonymous) @ git-repository-provider.ts:161
(anonymous) @ EventEmitter.ts:10
(anonymous) @ EventEmitter.ts:10
a @ EventEmitter.ts:10
Promise.then (async)
c @ EventEmitter.ts:10
a @ EventEmitter.ts:10
Promise.then (async)
c @ EventEmitter.ts:10
a @ EventEmitter.ts:10
Promise.then (async)
c @ EventEmitter.ts:10
(anonymous) @ EventEmitter.ts:10
s @ EventEmitter.ts:10
e.refresh @ git-repository-provider.ts:138
(anonymous) @ git-repository-provider.ts:81
_ @ index.js:160
w @ index.js:207
S @ index.js:195
setTimeout (async)
(anonymous) @ index.js:168
E @ index.js:235
(anonymous) @ git-repository-provider.ts:70
(anonymous) @ event.ts:119
e.invoke @ event.ts:127
e.fire @ event.ts:220
e.onDidFilesChanged @ filesystem-watcher.ts:139
onDidFilesChanged @ filesystem-watcher.ts:112
e.onNotification @ proxy-factory.ts:180
(anonymous) @ proxy-factory.ts:137
(anonymous) @ main.js:483
(anonymous) @ main.js:255
(anonymous) @ main.js:242
(anonymous) @ setImmediate.js:40
h @ setImmediate.js:69
s @ setImmediate.js:109
postMessage (async)
r @ setImmediate.js:120
p.setImmediate @ setImmediate.js:27
$ @ main.js:240
(anonymous) @ main.js:265
(anonymous) @ main.js:242
(anonymous) @ setImmediate.js:40
h @ setImmediate.js:69
s @ setImmediate.js:109
postMessage (async)
r @ setImmediate.js:120
p.setImmediate @ setImmediate.js:27
$ @ main.js:240
(anonymous) @ main.js:265
(anonymous) @ main.js:242
(anonymous) @ setImmediate.js:40
h @ setImmediate.js:69
s @ setImmediate.js:109
postMessage (async)
r @ setImmediate.js:120
p.setImmediate @ setImmediate.js:27
$ @ main.js:240
(anonymous) @ main.js:265
(anonymous) @ main.js:242
(anonymous) @ setImmediate.js:40
h @ setImmediate.js:69
s @ setImmediate.js:109
postMessage (async)
r @ setImmediate.js:120
p.setImmediate @ setImmediate.js:27
$ @ main.js:240
H @ main.js:289
t.readMessage @ reader.ts:57
(anonymous) @ reader.ts:18
e.handleMessage @ web-socket-channel.ts:49
n.onmessage @ ws-connection-provider.ts:58


Firefox and Chrome:

Error: First parameter to OnigScanner constructor must be array of (pattern) strings

s@https://theia.example.com/bundle.js:30:513875
b</e.prototype.createOnigScanner@https://theia.example.com/bundle.js:30:506434
f</e.prototype.createOnigScanner@https://theia.example.com/bundle.js:19:432540
d</e.prototype.compile@https://theia.example.com/bundle.js:19:422125
h</t.prototype.compile@https://theia.example.com/bundle.js:19:424777
b/s<@https://theia.example.com/bundle.js:19:436183
b@https://theia.example.com/bundle.js:19:436142
p@https://theia.example.com/bundle.js:19:438164
_@https://theia.example.com/bundle.js:19:438026
g@https://theia.example.com/bundle.js:19:435718
p@https://theia.example.com/bundle.js:19:439018
_@https://theia.example.com/bundle.js:19:438026
f</e.prototype._tokenize@https://theia.example.com/bundle.js:19:434745
f</e.prototype.tokenizeLine2@https://theia.example.com/bundle.js:19:433986
tokenizeEncoded@https://theia.example.com/bundle.js:80:566330
B</e.prototype.tokenize2@https://theia.example.com/vs/editor/editor.main.js:2052:200
c</e.prototype._updateTokensUntilLine@https://theia.example.com/vs/editor/editor.main.js:936:715
c</e.prototype._tokenizeOneLine@https://theia.example.com/vs/editor/editor.main.js:936:245
P</f.prototype._revalidateTokensNow@https://theia.example.com/vs/editor/editor.main.js:968:663
P</f.prototype._beginBackgroundTokenization/this._revalidateTokensTimeout<@https://theia.example.com/vs/editor/editor.main.js:968:211
 4 editor.main.js:158:350

Cheers

@4oo4
Copy link
Author

4oo4 commented Mar 18, 2019

After doing some testing, I'm wondering if this may actually be something to do with canvas permissions..

@akosyakov
Copy link
Member

porcelain seems to be Git issue: #1162

@akosyakov akosyakov added the question user / developer questions label Mar 18, 2019
@vince-fugnitto
Copy link
Member

Closing since the issue is now outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question user / developer questions
Projects
None yet
Development

No branches or pull requests

3 participants