screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #51047] "windowlist -g" progressively sorts by most


From: Ethan Warth
Subject: [screen-devel] [bug #51047] "windowlist -g" progressively sorts by most recently used, even without -m flag
Date: Wed, 17 May 2017 00:57:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?51047>

                 Summary: "windowlist -g" progressively sorts by most recently
used, even without -m flag
                 Project: GNU Screen
            Submitted by: redyoshi49q
            Submitted on: Wed 17 May 2017 04:57:11 AM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None
         Planned Release: None
           Work Required: None

    _______________________________________________________

Details:

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.  



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 17 May 2017 04:57:11 AM UTC  Name: .screenrc  Size: 2kB   By:
redyoshi49q

<http://savannah.gnu.org/bugs/download.php?file_id=40721>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51047>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]