Community
Participate
Working Groups
The patch for bug 417427 together with the patch for bug 373928 causes the image in the image view to be visible while the "Save As..." button for the image is not enabled. We should discuss how this should be handled for the upcoming release.
As discussed, for the release 7.2, we are leaving both commits in. We should fix this though, to make using the new feature more comfortable.
Created attachment 237310 [details] patch With this patch the "Save Image As..." is enabled if and only if there is an image displayed in the image view.
@SSt: Could you please change the following: - if you define getter / setter please make use of them e.g. ImageView line 235 - alter the implementation from a plain String[] for image description attributes to transient attributes of a custom "Image" instance which encapsulates all necessary image information we need. - alter the context id scope to "org.eclipse.jubula.client.ui.contexts.*" - move getScreenshotInfo() method / logic from TestResultNode class to TestResultNodeImageProvider class
Created attachment 237311 [details] second version of the patch Thanks for the feedback, Markus!
Patch reviewed, adjusted and applied with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=fd896ac6d169e9fd5d4ec3cf2f88c36d9cb721c2
Verified. "Save as.." is enabled if an image is displayed even if right before that the view focus has been changed e.g. to properties view as described in bug 417427. Tested in reporting perspective as well as in execution perspective.