What is the button in the upper right of windows?
Yes, it toggles the toolbar in all applications. In many applications, it's shortcut is Option+Command+T, but this is not true for all (Preview uses Command+B).