[3.13] 'Hide' option in right-click menu of session tabs seems broken.

2 replies [Last post]
Nezic
Joined: Oct 10 2000
Posts: 16
[3.13] 'Hide' option in right-click menu of session tabs seems broken.
I'm seeing various weird behavior when I use the 'Hide' option in the right-click menu of a window tab. I'm wondering if the cause of this might be related to the problem IainMac mentioned in another post about how opening additional instances of a session doesn't work (I have seen that problem also, in cases where I hadn't used 'Hide'). [url]http://forums.zuggsoft.com/forums/viewtopic.php?t=34592[/ Details: Firstly, it seems like 'Hide' will end up closing the connection completely rather than just hide the window. Actually, I'm not even sure what the 'correct' behavior of hiding a tabbed window would be.. It seems a bit overkill to have to go into the Package Editor-->Advanced just to make it visible again. There should at least be a list of hidden windows somewhere convenient you can use to make them visible again. Scenario 1: 1. Started fresh by deleting everything in C:\Users\\Documents\TeSSH. 2. Run TeSSH, click 'No' when asked to import PuTTY sessions. 3. In the Sessions window that first opens, enter a title and host for a new session, then click 'Save changes'. 4. Right-click the session and pick 'Connect'. 5. Click on the 'Sessions' button to open the Sessions window again. 6. Right-click the session and pick 'Connect' again to open a second session window. 7. At this point, there should be two tabbed windows open, with the right one 'active' (the tab is highlighted). 8. Right-click on the left tab, and pick 'Hide' (the tab disappears). 9. Click on the 'Settings' button to open the Package Editor. 10. At this point you should be able to see two tabs existing in the Package Editor, with the right one highlighted yellow. 11. Click on the left tab. 12. Click on 'Advanced' at the bottom of the Package Editor. 13. You can see the 'Window is Visible' option is not checked. 14. Check the 'Window is Visible' option. 15. Click 'Save' -- the Package Editor window 'flashes' (disappears/reappears). 16. Click the 'X' to close the Package Editor. 17. At this point, there are again two tabbed windows open, with the left one currently highlighted. 18. Click on the right tab. Result: TeSSH usually crashes, but occasionally does not. If it doesn't crash, the connection is closed and the text buffer is empty after the tab reappears. Note 1: The same behavior happens if you pick 'Offline' instead of 'Connect' to open the sessions. Scenario 2: 1. Started fresh by deleting everything in C:\Users\\Documents\TeSSH. 2. Run TeSSH, click 'No' when asked to import PuTTY sessions. 3. In the Sessions window that first opens, enter a title and host for a new session, then click 'Save changes'. 4. Right-click the session and pick 'Connect'. 5. Click on the 'Sessions' button to open the Sessions window again. 6. Right-click the session and pick 'Connect' again to open a second session window. 7. At this point, there should be two tabbed windows open, with the left one 'active' (the tab is highlighted). 8. Right-click on the right tab, and pick 'Hide' (the tab disappears). 9. Click on the 'Settings' button to open the Package Editor. 10. At this point you should be able to see two tabs existing in the Package Editor, with the left one highlighted yellow. 11. Click on the right tab. 12. Click on 'Advanced' at the bottom of the Package Editor. 13. You can see the 'Window is Visible' option is not checked. 14. Check the 'Window is Visible' option. 15. Click 'Save' -- the Package Editor window does not flash like it does in scenario #1. 16. Click the 'X' to close the Package Editor. Result: The second window tab does not reappear. If you click on 'Settings' again, you see both tabs in the Package Editor, and both have 'Window is Visible' checked. Edit: I just tried sending the error report after I induced the crash from scenario #1, but it looks like the bug reporter mechanism isn't trying to use the WWW proxy information (I'm guessing), so can't reach out of my local network.
Zugg
Zugg's picture
Joined: Jan 1 1999
Posts: 178
Yes, there are many bugs still with Hide. Right now TeSSH treats Hide like the Close command, which is why the network connection gets dropped and why the window isn't still listed in the Windows menu. The crashes might be improved with the new 3.14 version since there were many crashes associated with the dockable command line in previous versions. So give this a try in 3.14, and update this report based upon whether it works better or not and I'll add it to the list for a future version.
Nezic
Joined: Oct 10 2000
Posts: 16
I think there must still be some kind of difference between how Hide and Close are handled since it seems to leave the session open in the Package Editor and sets it's visibility to false. I just tested the 2 Hide scenarios I first posted again, and the behavior was the same. However, using 'Close' gave me a slightly different (bad) result. See this post: http://forums.zuggsoft.com/forums/viewtopic.php?t=34671