Bug 1969784 - WebTerminal widget should send resize events
Summary: WebTerminal widget should send resize events
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Sahil Budhwar
QA Contact: Gajanan More
URL:
Whiteboard:
: 1969786 (view as bug list)
Depends On:
Blocks: 1969786 1969791
TreeView+ depends on / blocked
 
Reported: 2021-06-09 09:09 UTC by Sahil Budhwar
Modified: 2021-07-27 23:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1969786 1969791 (view as bug list)
Environment:
Last Closed: 2021-07-27 23:12:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8909 0 None closed Bug 1969784: fixes: WebTerminal widget should send resize events 2021-06-09 13:04:58 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:12:41 UTC

Description Sahil Budhwar 2021-06-09 09:09:22 UTC
From Christian:
everytime the pod terminal updates we send this:

const data = Base64.encode(JSON.stringify({ Height: rows, Width: cols }));
this.ws && this.ws.send(`4${data}`);
but widget that is used for WebTerminal does not seem to send it.

It's critical for WebTerminal since even kubectl edit command does not work with the default terminal size.

Comment 1 Andrew Ballantyne 2021-06-09 13:08:06 UTC
Verified on 4.8.0-0.nightly-2021-06-08-034312
Using Chrome Version 90.0.4430.212

Comment 2 Andrew Ballantyne 2021-06-09 13:25:15 UTC
*** Bug 1969786 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2021-07-27 23:12:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.