Alright, maybe this isn't that big of a deal, but I'm in perfectionist mode, so here it goes.
Imagine you've got a 3000x3000 image in Photoshop on a 1680x1050 (or whatever it is) monitor. Obviously, you're going to have some scroll bars. Let's say you adjust the window, from being maximized, to being in a normal state... or perhaps it was in a normal state to begin with, but you resized it. Obviously, the portion of the document that is on the screen is going to shrink.
My question is, out of the original portion, which section of it should remain in the display. I came up with three different possibilities. A diagram is included below, showing how the three different methods would work in three different cases where the window was being shrunk. The original portion of the screen that was being displayed is shown in gray, and the portion of the screen displayed after the resize is shown in red.
Retain the same upper-left coordinate. This method is depicted in the upper-left in the diagram.
Retain the same center. This method is depicted in the upper-right in the diagram.
Use the existing proportions to come up with proportions for the zoom. If the original portion is in the center, it zooms to the center. If the original portion is off to the side, it favors that side when zooming. This method is depicted in the lower-right in the diagram.
Obviously, also, if you were to consider a scenario where the user increases the size of the window, you could reverse this diagram and assume the original portion is marked in red and the displayed portion resulting from the resize is marked in gray.
Anyways, what do you guys think? (PS: I don't have Photoshop on this computer, so if anyone wants to chime in with how they handle this, that would be interesting to know as well.)
As of right now, the user can only scroll off the document so much. (See diagram below.) This causes a small problem with the "retain the center" method, which is that if you're in a corner, and you resize the form, then you are no longer in the corner, which seems odd.
If I go with the center method, should I just ignore this, or should I allow the user to scroll off to the side more, only stopping them once the center of the display is about to move off the document?