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 terminal unusable due to div covering text #8248

Closed
buvoli opened this issue Jul 27, 2020 · 1 comment
Closed

Theia terminal unusable due to div covering text #8248

buvoli opened this issue Jul 27, 2020 · 1 comment
Labels
terminal issues related to the terminal

Comments

@buvoli
Copy link

buvoli commented Jul 27, 2020

Bug Description:

A div is covering the Theia terminal text, making it very difficult to read and use. Notice white box covering the letter "s" in screenshot below:
Screen Shot 2020-07-27 at 3 01 06 PM
In case it is useful, the div in question has class .xterm-helper-textarea. Also this was not happening in earlier builds (roughly when Theia 1.2 was released) so some new dependency is likely causing the problem.

Steps to Reproduce:

I was able to reproduce this bug using the following package.json

{
  "private": true,
  "dependencies": {
    "@theia/callhierarchy": "1.3.0",
    "@theia/file-search": "1.3.0",
    "@theia/git": "1.3.0",
    "@theia/json": "1.3.0",
    "@theia/markers": "1.3.0",
    "@theia/messages": "1.3.0",
    "@theia/mini-browser": "1.3.0",
    "@theia/navigator": "1.3.0",
    "@theia/outline-view": "1.3.0",
    "@theia/plugin-ext": "1.3.0",
    "@theia/plugin-ext-vscode": "1.3.0",
    "@theia/preferences": "1.3.0",
    "@theia/preview": "1.3.0",
    "@theia/search-in-workspace": "1.3.0",
    "@theia/terminal": "1.3.0"
  },
  "scripts": {
    "prepare": "yarn run clean && yarn build",
    "clean": "theia clean",
    "build": "theia build",
    "start": "theia start --plugins=local-dir:plugins",
    "download:plugins": "theia download:plugins"
  },
  "devDependencies": {
    "@theia/cli": "1.3.0"
  },
  "theiaPluginsDir": "plugins",
  "theiaPlugins": { }
}

paired with the Dockerfile

FROM node:dubnium-alpine
WORKDIR /opt/theia
COPY package.json ./package.json
RUN apk add python2 build-base ; \
    yarn ; \
    yarn prepare
ENTRYPOINT ["yarn", "start", "--hostname", "0.0.0.0"]

and the build/run commands

$ docker build . -t alpine-theia:latest
$ docker run --rm -ti -p 3000:3000 alpine-theia:latest

Additional Information

  • Operating System: Alpine Linux
  • Theia Version: 1.3.0
@vince-fugnitto
Copy link
Member

@buvoli thank you for reporting the issue, it has been fixed already by #8204 (duplicate of #8233). The next release will be this Thursday, else you can use next in your docker image instead of the latest tag.

@vince-fugnitto vince-fugnitto added the terminal issues related to the terminal label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminal issues related to the terminal
Projects
None yet
Development

No branches or pull requests

2 participants