When I navigate directly to a chat room (e.g. http://chat.stackexchange.com/rooms/19/game-development) before hitting any other SE site I am not logged in yet so on the bottom where you normally would type your message is replaced with a message asking you to log in.
I click the link to log in and a new tab opens which then automatically logs in and then procedes to open up the chat room I had tried to access prior to logging in. I now have two tabs open - one where I am logged in and one where I am not. I now have to close the tab that I originally used to get to the site.
It would seem to me that if the login page will redirect back to the previous page being visited prior to logging in that opening in a new tab does not add any value.
Is there a reason behind this? It's not really a big deal and I could either close the second tab or just log in prior to going to a chat site but curiosity has me asking the question.
(Not sure if its a bug or feature which would determine bug or support tag so I marked it as discussion. If anyone of higher power wants to properly tag it and remove this message that would be great!)