bugGNU Screen - Bugs: bug #51047, "windowlist -g"...

 
 

bug #51047: "windowlist -g" progressively sorts by most recently used, even without -m flag

Submitted by:  Ethan Warth <redyoshi49q>
Submitted on:  Wed 17 May 2017 04:57:11 AM UTC  
Votes:  1  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 17 May 2017 04:57:11 AM UTC, original submission:

When using C-a : "windowlist -g" in one pane of a screen session and then changing active windows in another pane, the displayed list of windows in the first pane are initially sorted by window number as expected; however, the list is reordered such that windows selected in the second pane are bubbled up to the top of the list, as if maintaining a most recently used order (even bringing nested windows outside of their associated groups in doing so). The window list should not be reordered in this case, since the expected order is by window numbers and the window numbers are not changing.

Using C-a : "windowlist -g -m" works as expected; windows and window groups with the same parent are sorted with respect to each other in MRU order, and the list is updated correctly when different windows become the most recently used. It's possible that some of the code that reorders windows in a windowlist command is being executed erroneously when the -g flag is specified but the -m flag is not.

This bug was produced in Screen 4.1.0 on Cygwin. Attached is the .screenrc environment used in producing this bug.

Ethan Warth <redyoshi49q>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #40721:  .screenrc added by redyoshi49q (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ssducf (Voted in favor of this item)
  • -unavailable- added by redyoshi49q (Submitted the item)
  • -unavailable- added by redyoshi49q
  •  

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

    Only logged-in users can vote.

     

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Jul 2017 05:55:06 PM UTCssducfCarbon-Copy-=>Added ssducf
    Wed 17 May 2017 04:57:11 AM UTCredyoshi49qAttached File-=>Added .screenrc, #40721
      Carbon-Copy-=>Added redyoshi49q

    Back to the top


    Powered by Savane 3.1-cleanup1