Bug 1432926 - Unable to handle window resize from snack-based application
Summary: Unable to handle window resize from snack-based application
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: newt
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-16 12:35 UTC by Miroslav Lichvar
Modified: 2017-04-01 17:12 UTC (History)
2 users (show)

Fixed In Version: newt-0.52.20-1.fc26
Clone Of: 1420245
Environment:
Last Closed: 2017-04-01 17:12:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Lichvar 2017-03-16 12:35:46 UTC
+++ This bug was initially created as a clone of Bug #1420245 +++

Description of problem:
I've written snack-based application to be run on RHEL6 server using Python Snack library. Now I've get claims from our testers that application doesn't handle screen resize. I've check newt source code and found it's assumed to send NEWT_KEY_RESIZE (0x8000 + 113) to application on window resize. But it doesn't happen.

Version-Release number of selected component (if applicable):
0.52.11

How reproducible:
100%

Steps to Reproduce:
1. Open Gnome Terminal.
2. Connect using ssh to RHEL6 server.
3. Run attached win.py on server.
4. Resize terminal window.

Actual results:
Nothing happens.

Expected results:
Script exits with 'WINCH' printed.

Additional info:
I've tried to reproduce this problem using Gnome Terminal 3.22.0 and by default my TERM set to `xterm-256color`. Our testers use PuTTY with TERM set to `xterm`.

Comment 1 Miroslav Lichvar 2017-03-17 11:37:46 UTC
Support for screen resize as a hotkey in form was added in newt-0.52.20.

Comment 2 Fedora Update System 2017-03-17 11:45:52 UTC
newt-0.52.20-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8cabee1dba

Comment 3 Fedora Update System 2017-03-17 22:22:59 UTC
newt-0.52.20-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8cabee1dba

Comment 4 Fedora Update System 2017-04-01 17:12:42 UTC
newt-0.52.20-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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