Page 1 of 1

Tab sequence

Posted: 12 May 2006 11:42
by surrender
Like always i come up with trivial things:

Not exactly a wish but a doubt on what should happen when i move tabs.

Lets say i have 5 tabs in this sequence 1 2 3 4 5 and i move tab 3 to the right three times.

one time: 1 2 4 3 5

two times: 1 2 4 5 3

three times: 3 2 4 5 1

is it normal that the sequence (1 2 4 5) is somehow messed-up?? (tab 1 jumped to last), i expected the below sequence after moving tab 3 three times.

3 1 2 4 5

I ask this because, sometimes I have relevant tabs next to each other and moving tabs breaks that sequence.

Posted: 12 May 2006 11:55
by JustinF
I just noticed this behavior yesterday while playing around with our cool new Shift+MouseWheel functionality. It looks like, as you've also noticed, that when you move a tab it trades places with next the one in it's path. Now, that works great, but there should be a little extra logic in there for when a tab is at either the beginning or the end. It should either 1) Not allow a tab to move past the endpoints, or 2) Shove all the tabs either left or right depending on whether the tab is coming from the front or the end.

Option 2 would be my preference.

Posted: 12 May 2006 13:56
by surrender
yeah, I too vote for option 2.

Re: Tab sequence

Posted: 12 May 2006 15:56
by admin
surrender wrote:3 1 2 4 5
I did it although the first resulting sequence now is not shifting one tab's position but all tabs' positions. I agree it's much better now, but it's an interesting thing to understand why...

Posted: 12 May 2006 17:03
by JustinF
Thanks for the quick turnaround on this. It's much better now. :D

Posted: 12 May 2006 19:01
by surrender
Oh WOW!! That was quick. So it wasnt that trivial then. :D

Posted: 12 May 2006 19:49
by admin
surrender wrote:Oh WOW!! That was quick. So it wasnt that trivial then. :D
Trivial and good!