I just imported a few images from iPhoto into my research folder. The images were to big for my Scrivener window, so I double-clicked on an image to bring up the Image Tools window/HUD/whatever it’s called. I was able to easily scale the image to fit the current window.
I then selected the next image in the binder, and found that it was also to big. Since the Image Tool HUD was still up, I clicked on the Zoom Image to Fit View button, but nothing happened. I clicked a few times, but still nothing. Finally, I closed the HUD, and then double-clicked on the too-large image, which brought the HUD back up. This time, “Zoom Image to Fit View” worked.
My suspicion is that the HUD, while still visible, is somehow disconnected to the original image view, but not re-connected to the new one. It seems that either the HUD should work on the newly selected image (very convenient for multiple images), or it should close when selecting a new image.
This is a very minor bug, but I thought it would be a nice usability fix in 2.x.
Scrivener version: 1.54n
Mac os X version: 10.6.2 (intel)
Thanks for catching this. Actually what should happen is that when you click on the binder, the tool panel controls should become disabled - they should only be enabled when an image has the focus (as one tool panel is shared between all image views). So if you click back into the image view it should work (although I’ve only tested it in 2.0 and it may have had additional fixes since 1.x that I can’t remember offhand). I’ve fixed the code so that the controls become disabled as they should do if an image doesn’t have the focus though.
I’m a big doofus. There’s no bug here after all. I was indeed, just clicking on the binder object, and the buttons on the HUD were disabled. If I then click on the new image, the HUD becomes active, and the buttons now apply to the new image.
Ha, that means I introduced a bug in 2.0, because the buttons weren’t becoming disabled as they should in my 2.0 build - so you just helped me prevent a 2.0 bug.