Stephen Buonopane <[EMAIL PROTECTED]> writes:
> 1) Open a new file in LyX 1.4.
> 2) Press the insert graphics button on the toolbar
> 3) Select a graphics file (anything will do)
> 4) Press Apply and wait for the preview to appear in the LyX window.
> Don't close the graphics window or bring the main LyX window to the
> foreground.
> 5) Now change the Show in LyX scale to something other than 100%.
> 6) Press Apply again.
>
> Rather than changing the scale of the previous graphic LyX inserts a
> second copy of the graphic with the new scale!

This is "by design". If you wish the second Apply to apply to the same inset,
you must click the inset to associate it with the dialog once again.

In your case, you want the existing inset modified. How would you add a new inset for another file? Or even create another inset for the same file but at a different magnification or orientation? You would have to close the dialog
and reopen it.
Somehow, you want the dialog to know "magically" when you want to apply to the existing inset and when to create a new one. Magic bad. It breaks. I chose a design where you'd click on the inset again to tell it that you want to
reapply.

I simply raised this issue because the behavior is the opposite of what it was in LyX 1.3. So I don't think one way is necessarily better than the other as you suggest. I don't expect the dialog to magically know what I want to do, but the old behavior was just as reasonable and functional as the new one. Typically if I am inserting another graphic I will already have clicked in the LyX window at some point and added some text or done something else there. Whereas after I insert a graphic I will typically let the preview be created and do some adjusting of the scale and bounding box, in which case there is no need to click back in the LyX window.

Cheers,
Steve

Reply via email to