| Summary: | Image visible while "Save As..." is not enabled after patch for bug 417427 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Jubula | Reporter: | Sebastian Struckmann <sebastian.jubula> | ||||||
| Component: | UI | Assignee: | Sebastian Struckmann <sebastian.jubula> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Oliver Goetz <Oliver.Goetz> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | alexandra.schladebeck, markus.tiede | ||||||
| Version: | unspecified | Keywords: | triaged | ||||||
| Target Milestone: | 2.3 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Sebastian Struckmann
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. |