How does maximizing/full screen work in Mavericks and Yosemite?
The green button used to be just for "zooming" the window (at least that's what they call it in austrian systems) - it's what it does when it shows the "+"

If you use that function what it does is it makes the window just so big, that no scroll bars are needed (with the limitation that it can't make it bigger than your screen of course). 
That is the intended behavior, some 3rd party apps might not implement that correctly however.

In 10.10 Yosemite the green button is now used for switching to fullscreen.
It will behave as in 10.9 if you hold the alt-key while pressing it (you will also see the + sign appear).