-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"focus" class on terminal creates an empty rectangle #8158
Comments
I wonder whether it is the shell issue somehow or xtermjs. Usually it is a good idea to try to reproduce such issues outside of Theia with the system terminal or maybe in VS Code. |
Let me know how i can help. |
When updated to 4.8.1 the cursor "shadow" rendering is incorrect workaround for eclipse-theia/theia#8158
isn't xtermjs/xterm.js#2996 (comment) the same thing ? |
@perrinjerome it seems that xtermjs/xterm.js#2996 (comment) is a part of 4.8.1? |
I fixed my build with a resolutions block in package.json |
@akosyakov this problem started with 4.8.0 if I understood correctly, xtermjs uses a textarea for input methods and this textarea is the empty rectangle we can see here. With xterm's css, this textarea is supposed to be invisible with this There's this rule in theia's css, which sets theia/packages/core/src/browser/style/index.css Lines 145 to 151 in 9afc819
That rule applies on xterm textarea, but with <= 4.7.0, it's was OK because the textarea was anyway outside of the screen with the The changes from xtermjs/xterm.js#2996 were about making the textarea appear next to the cursor, by setting the position with style attributes of the element, so it's now visible, because of theia's opacity rule. xterm 4.7.0: xterm 4.8.0: Maybe theia does not need such a global rule as this
at least if I disable this rule, everything seems OK with xterm 4.8.0. |
Fixes: #8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
The bug occurs for |
Fixes: #8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
When updated to 4.8.1 the cursor "shadow" rendering is incorrect workaround for eclipse-theia/theia#8158
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Fixes: eclipse-theia#8158 The following commit addresses an issue with newer versions of `xterm` which displayed a secondary cursor-like border due to our global `:focus` class. The fix updates the xterm textarea to force an opacity consistent with their sources. Signed-off-by: vince-fugnitto <[email protected]>
Bug Description:
Terminal has an empty rectangle when focused.
Steps to Reproduce:
Additional Information
Running with docker image theiaide/theia:latest and theiaide/theia:next
Browsing with Windows 10 Firefox Developer Edition, Edge
Browsing with Mac OS Catalina Safari
The text was updated successfully, but these errors were encountered: