Author Topic: Add a way to reorder tabs  (Read 2756 times)

carloscs

  • Full Member
  • ***
  • Posts: 162
It's not possible to reorder the tabs now.

Add "Move Left/Right" to the tab header menu.

More work: add drag and drop to reorder tabs.

Thanks

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34364
anyone interested to try this out:
http://www.mediafire.com/?ac9u7mcz0acq94r

just drag/drop the tabs to re-order. I'll improve the color of the red tab-drop marker later

carloscs

  • Full Member
  • ***
  • Posts: 162
Hmm, works almost right, there's a small problem dragging from right to left:

Four tabs open. Start dragging tab 4, stop  when it should be the 2nd -> it moves to the first position.
Or: Four tabs open. Start dragging tab 4 (just drag a few pixels) -> tab moves to third position.

Fix: Dragging from right to left, -> add 1 to drop position when calculating the final tab number.


carloscs

  • Full Member
  • ***
  • Posts: 162
OK, problem fixed. Thanks.

But... something strange is going on:

- Open four tabs.
- Drag tab1 to position 2.
- Drag new tab 2 back to position 1.

Now: choose any tab (2/3/4), drag a few pixels to the right or left and drop -> dragged tab goes to position 1.


And a very minor wish, as this is working fine (but, as everyone knows good and fine are enemies of best and optimum):

After a drag starts, I have to drag the tab a lot (past the middle of the previous/next tab) for the drop to be recognized. If there is a simple way of shortening the drag move I think best/optimum usability would be reached :)
Last Edit: February 08, 2011, 11:13:49 PM by carloscs

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34364
its fixed for the next update - its remembering the last drop-point and not reseting it in the case no change is needed