Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1969784

Summary: WebTerminal widget should send resize events
Product: OpenShift Container Platform Reporter: Sahil Budhwar <sbudhwar>
Component: Dev ConsoleAssignee: Sahil Budhwar <sbudhwar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aballant, aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1969786 1969791 (view as bug list) Environment:
Last Closed: 2021-07-27 23:12:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1969786, 1969791    

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