bugGNU Screen - Bugs: bug #29800, layout next and prev reversed?

 
 

bug #29800: layout next and prev reversed?

Submitted by:  Curtis Brown <mrbrown8>
Submitted on:  Thu 06 May 2010 04:27:23 AM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: Cur Dev Sources
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 22 Jun 2010 03:24:06 PM UTC, comment #2:

The 'more correct' fix is to make sure the layouts are ordered correctly in the list. Fixed in a805439:

Layouts were being stored in a reversed list. This makes it
confusing for both users and developers with regards to what
the next layout is ('next', lay_next). So store the layouts
in a properly ordered list in order to avoid the confusion.

Thanks for reporting the bug!

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Sat 08 May 2010 03:50:49 PM UTC, comment #1:

Attaching a simple patch that would fix this. TIA

(file #20481)

Curtis Brown <mrbrown8>
Thu 06 May 2010 04:27:23 AM UTC, original submission:

When I have more than one layout in a session, using layout next and layout prev seem backwards.

In a session, I have:

:layout show

  1. layout0 1* layout1 2 layout2

But using next, I get:

:layout next
:layout show

    • layout0 1 layout1 2 layout2

:layout next
:layout show

  1. layout0 1 layout1 2* layout2

:layout next
:layout show

  1. layout0 1* layout1 2 layout2

This is similar to prev as well:

:layout prev
:layout show

  1. layout0 1 layout1 2* layout2

Perhaps I'm not doing something right?

Curtis Brown <mrbrown8>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sadrul (Posted a comment)
  • -unavailable- added by mrbrown8 (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Jun 2010 03:24:06 PM UTCsadrulStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Sat 08 May 2010 03:50:49 PM UTCmrbrown8Attached File-=>Added patch_bug29800_layout_next_and_prev.diff, #20481

    Back to the top


    Powered by Savane 3.1-cleanup1