Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 18, 2015 12:45:59 GMT -5
Hi,
I open for example 3 files in spflite. Then I have 4 tabs. The left-most is the FileManager. ==> FM t1 t2 t3
If I close the right-most tab (t3) with "end", tab t2 gets active.
If I close the right-most tab (t3) with "can", FileManager gets active, but I would expect tab t2 get active.
Is this a bug or is it by design ?
Jonas
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 20, 2015 1:06:48 GMT -5
OK, what is George saying about this issue.
|
|
|
Post by Jo on Jun 20, 2015 4:57:05 GMT -5
As a suggestion I would prefer to act like a "Swap prior" when closing any tab, either with END or CAN. This way you would be in the FM when the file were last opened by FM or you get back to the file you previously edited or browsed.
Jo
|
|
|
Post by George on Jun 20, 2015 11:38:59 GMT -5
Hmmm, George is getting swamped in decisions lately, this has got to stop. ;-))
My thought is what Jo suggested (if I can indeed do that). Would that work for you all?
George
|
|
|
Post by George on Jun 20, 2015 11:53:18 GMT -5
Robert: Of course that would do it, it's all just coding.
(Which doesn't happen a lot what with all this forum chatter) ;-))
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 20, 2015 13:43:24 GMT -5
Yes. Jonas
|
|
|
Post by George on Jun 20, 2015 15:27:22 GMT -5
Robert: Problem with the stack approach is that some functions traverse the list of tabs internally, and do switches to the tab to complete their task, but these switches are not visible. This means the stack would not properly reflect the order the user would expect. If I go this route, I've got to find a better way to track the switches. I thought of doing it at display time, but that also is done 'under the covers' at times, so it rules that out.
Simple things are always much more complicated than you'd expect.
George
|
|
|
Post by Jo on Jun 20, 2015 17:22:40 GMT -5
Hm, I think you already captured the last used tab, you need it for SWAP PRIOR. Just use it there.
Jo
|
|
|
Post by George on Jun 21, 2015 12:04:08 GMT -5
Just so you know, I'm not ignoring this, but you guys have been exceedingly busy lately with bug-finding and suggestions. Only so many hours in the day, and there is something called 'family'. I'll get to it.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 21, 2015 12:32:38 GMT -5
That is ok. Your family is more important as fixing the bugs I found.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 25, 2015 0:13:44 GMT -5
Hi
> Between 8.2.5165 and 8.2.5174 (Jun 23/2015) > Revise tab switching logic when tabs are closed to swap to the most recent active tab before the one being closed.
This still does not work right.
1. spflite * 2. ss in first line, ss in last line (10 files)
3. 10 tabs get open, the right most is aktive
4. F3, last tab get closed, the right most is active 5. F3, last tab get closed, the right most is active 6. F3, last tab get closed, filemanager gets active <== bug
(If do "CAN" instead of F3, same result)
Jonas
|
|
|
Post by George on Jun 25, 2015 10:48:40 GMT -5
Jonas: Sorry, I'm not sure I can correct this. While you logically think FM is the last tab, they are opened in sequence, and each tab, even though it is only a blink, has been displayed and becomes the 'last tab'. I'll see what I can do, but this is a tough one.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 25, 2015 22:26:02 GMT -5
Personally I only want to have foreseeable behaviour.
If it is easier, then spflite could always show the FileManager tab after closing a file tab.
|
|