Bug 1969786

Summary: WebTerminal widget should send resize events
Product: OpenShift Container Platform Reporter: Sahil Budhwar <sbudhwar>
Component: Dev ConsoleAssignee: cvogt
Status: CLOSED DUPLICATE QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aballant, aos-bugs, cvogt, gamore, 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: 1969784 Environment:
Last Closed: 2021-06-09 13:25:15 UTC Type: ---
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: 1969784    
Bug Blocks:    

Description Sahil Budhwar 2021-06-09 09:14:24 UTC
+++ This bug was initially created as a clone of Bug #1969784 +++

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:25:15 UTC

*** This bug has been marked as a duplicate of bug 1969784 ***