bugGNU Screen - Bugs: bug #45321, Visible content get messed up...

 
 

bug #45321: Visible content get messed up after window resize

Submitted by:  Sudaraka Wijesinghe <sudaraka>
Submitted on:  Mon 15 Jun 2015 07:25:52 AM UTC  
 
Category: User InterfaceSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Amadeusz Sławiński <amade>
Open/Closed: ClosedRelease: Cur Dev Sources
Fixed Release: NonePlanned Release: 4.3.1
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 22 Jun 2015 04:57:04 PM UTC, comment #3:

Thank you. this commit had fix my issue.

Sudaraka Wijesinghe <sudaraka>
Mon 22 Jun 2015 04:28:07 PM UTC, comment #2:

Thanks for bug report, fixed in git
http://git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v4&id=27a8c9677a95b8de67c91f983b25691f0864c194

Amadeusz Sławiński <amade>
Project AdministratorIn charge of this item.
Mon 15 Jun 2015 07:48:31 AM UTC, comment #1:

For whats it worth, adding the following line removed in the commit 9dc8d7c2008c3c698c2e018c3ec123e6dd622f5e to current HEAD seem to fix the problem I have. But I don't know what other consequences ir might have as I don't know ins and outs of the code.

diff --git a/src/resize.c b/src/resize.c
index d48be5f..f8e771a 100644
--- a/src/resize.c
+++ b/src/resize.c
@@ -534,6 +534,7 @@ int wi;
int i;
struct mline *ml;

+ wi = ((wi + 1) + 255) & ~255;
if (wi > MAXWIDTH)
wi = MAXWIDTH;
if (wi <= maxwidth)

Sudaraka Wijesinghe <sudaraka>
Mon 15 Jun 2015 07:25:52 AM UTC, original submission:

With the recent release (4.3.0) when the terminal that is running screen inside it is resized,what ever is visible in the window get all messed up.

I have attached few screen shots:

1.fullscreen-terminal.png - rights after I started screen and it show ls out put correctly.

2. halfscreen-terminal.png - I open a second (GUI web browser) window next to the terminal, and terminal is resized to half of the width before. what was shown in the screen window is now misaligned.

3. expanded-terminal.png - I close the window (web browser) causing the terminal to expand to fullscreen width, and screen window's output is now all shifted to right.

I tracked down the issue on git source tree to commit 9dc8d7c2008c3c698c2e018c3ec123e6dd622f5e, which seem to have changed something related with adjusting of the window width.

Please investigate this issue.

P.s.
I'm running Archlinux with i3wm is that's of any help.

Sudaraka Wijesinghe <sudaraka>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #34220:  fullscreen-terminal.png added by sudaraka (211KiB - image/png)
file #34221:  halfscreen-terminal.png added by sudaraka (273KiB - image/png)
file #34222:  expanded-terminal.png added by sudaraka (204KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by sudaraka (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Jun 2015 10:02:30 PM UTCamadeOpen/ClosedOpen=>Closed
    Mon 22 Jun 2015 04:28:07 PM UTCamadeStatusNone=>Fixed
      Assigned toNone=>amade
      Planned ReleaseNone=>4.3.1
    Mon 15 Jun 2015 07:25:52 AM UTCsudarakaAttached File-=>Added fullscreen-terminal.png, #34220
      Attached File-=>Added halfscreen-terminal.png, #34221
      Attached File-=>Added expanded-terminal.png, #34222

    Back to the top


    Powered by Savane 3.1-cleanup1