bugGNU Screen - Bugs: bug #40896, Lock/unlock windowless region bug

 
 

bug #40896: Lock/unlock windowless region bug

Submitter:  None
Submitted:  Sat 14 Dec 2013 07:09:02 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 25 Apr 2014 06:16:26 PM UTC, comment #2: 

I've tested it with current version and it seems to show windowlist, so one can choose window to open, maybe better solution would be to leave it empty.

In socket.c in FinishAttach() comment out
display_windows(1, WLIST_NUM, (struct win *)0);
to do so.

Amadeusz Sławiński <amade>
Group administrator
Fri 24 Jan 2014 04:00:43 AM UTC, comment #1: 

The issue is in the detach-attach code-path.

One can trigger this w/o the need to lock the screen.
To reproduce:

$ screen
C-a :layout save default
C-a |
C-a <TAB>
C-a d
$ screen -r

Has anyone had a chance to look into this?

Anonymous
Sat 14 Dec 2013 07:09:02 PM UTC, original submission:  

When one creates a new region (via horiz or vert split), focuses the new windowless region, and locks the screen (C-a x), upon successful unlock, the windowless region retains focus and inherits the window of the original region.

To reproduce:


$ screen
C-a :layout save default
C-a |
C-a <TAB>
C-a x
<unlock with pw>
<ENTER>


Notice both regions now display the same output and the "windowless" has focus.

--mancha

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code