Archived issue #0030157

Draw Harness - xwd image dump should not be limited by desktop size within batch testing

Open CASCADEOCCT:DRAWclosed5 public notes

Search issues

Description

Test cases creating an AXO window with height greater than desktop produces image dump of unexpected size.

This should be avoided within automated testing.

[issue detected during testing on Jenkins with misconfigured desktop, which is quite possible since connected display makes small sense to server]

Steps to reproduce

- Change desktop resolution to a high value (1920x1080)
- Execute "testgrid geometry 2dbsplinecurve A8"
Result: OK, A8.png is 800x800
- Change desktop resolution to a low value (1024x600)
- Execute "testgrid geometry 2dbsplinecurve A8"
Result: KO, A8.png is 800x581

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Sep 24 11:31:40 2018 +0300

    0030157: Draw Harness - xwd image dump should not be limited by desktop size within batch testing
    
    DrawWindow now uses SWP_NOSENDCHANGING flag within batch mode to ensure
    that created window is not clipped in size by desktop dimensions.
02Author
03Commenter 3
No remarks, please integrate
04Commenter 1
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17228.70999999978 / 17379.439999999933 [-0.87%]
Products
Total CPU difference: 7467.040000000043 / 7467.690000000077 [-0.01%]
Windows-64-VC14:
OCCT
Total CPU difference: 17447.713443598597 / 17536.33761169853 [-0.51%]
Products
Total CPU difference: 8361.716000399994 / 8382.276932199968 [-0.25%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]