Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 417427

Summary: Image not visible in Image View after clicking from Test Result Viewer to Properties View (and back again)
Product: [Technology] Jubula Reporter: Sebastian Struckmann <sebastian.jubula>
Component: UIAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: major    
Priority: P2 CC: Achim.Loerke, alexandra.schladebeck, markus.tiede, raimar.buehmann, Tobias.Eiss
Version: unspecifiedKeywords: triaged
Target Milestone: 2.2   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
bugfix markus.tiede: iplog+

Description Sebastian Struckmann CLA 2013-09-17 08:58:17 EDT
To reproduce:

1. Open "Functional Test Reporting"-Perspective (Test Result Viewer, Test Result Summary, Properties View and Image View must be visible)
2. Open a test suite which failed via the test result summary view
3. Select a test step which failed (e.g. via "go to next error"). An image will now be visible in the image view.
4. Click into the properties view. The image will disappear (we could discuss whether this in itself is correct).
5. Click in the test result viewer on the same node which was selected in the third step. The image is still not be visible - which is confusing for the user, especially since a) the only way to show the image again is to change the selection back and forth in the test result view and b) the new "Save As"-button is enabled and the not visible image can be correctly saved.

Selecting any other node except the one selected in the third step results in normal behavior, i.e. everything that should be visible is visible.
Comment 1 Sebastian Struckmann CLA 2013-09-17 09:26:06 EDT
The properties view can be interchanged with all other views except the test result summary view, because there the image becomes visible again after clicking back to the test result viewer.
Comment 2 Tobias Eiss CLA 2013-09-19 04:09:48 EDT
Created attachment 235621 [details]
bugfix

With this patch, the Image View reacts only to selection changes in the Result View.
Comment 3 Achim Loerke CLA 2013-09-23 04:33:48 EDT
Please review and apply if okay.
Comment 5 Raimar Bühmann CLA 2013-10-10 09:19:05 EDT
I have verified, that the patch has been applied. In combination with the enhancement bug 373928, the "Save Image As..." icon at the "Image View" is deactivated, if the user switches from the "Result view" to an other view (e.g. "Properties" view). This minor bug is already documented in bug 418883. So I close this bug as fixed.