MantisBT - Open CASCADE
View Issue Details
0030157Open CASCADE[OCCT] OCCT:DRAWpublic2018-09-24 11:292019-08-15 17:49
kgv 
bugmaster 
normalminor 
verifiedfixed 
 
[OCCT] 7.4.0 
Not required
0030157: Draw Harness - xwd image dump should not be limited by desktop size within batch testing
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]
- 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
No tags attached.
png A8_KO.png (5,628) 2018-09-24 11:30
https://tracker.dev.opencascade.org/
png A8_OK.png (6,563) 2018-09-24 11:30
https://tracker.dev.opencascade.org/
Issue History
2018-09-24 11:29kgvNew Issue
2018-09-24 11:29kgvAssigned To => apn
2018-09-24 11:30kgvFile Added: A8_KO.png
2018-09-24 11:30kgvFile Added: A8_OK.png
2018-09-24 11:33gitNote Added: 0079348
2018-09-24 14:16kgvNote Added: 0079361
2018-09-24 14:16kgvAssigned Toapn => abv
2018-09-24 14:16kgvStatusnew => resolved
2018-09-24 14:24abvNote Added: 0079365
2018-09-24 14:24abvAssigned Toabv => bugmaster
2018-09-24 14:24abvStatusresolved => reviewed
2018-09-24 14:40kgvDescription Updatedbug_revision_view_page.php?rev_id=19953#r19953
2018-09-24 17:57bugmasterNote Added: 0079375
2018-09-24 17:57bugmasterStatusreviewed => tested
2018-09-30 18:26bugmasterChangeset attached => occt master 72a2da56
2018-09-30 18:26bugmasterStatustested => verified
2018-09-30 18:26bugmasterResolutionopen => fixed
2018-09-30 18:47gitNote Added: 0079510
2019-08-15 17:49bugmasterTest case number => Not required

Notes
(0079348)
git   
2018-09-24 11:33   
Branch CR30157 has been created by kgv.

SHA-1: 5f4a7281f70cd7bbc09e0059c8c88395716850ad


Detailed log of new commits:

Author: kgv
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.
(0079361)
kgv   
2018-09-24 14:16   
Patch is ready for review.

http://jenkins-test-12.nnov.opencascade.com/view/CR30157-master-KGV/ [^]
(0079365)
abv   
2018-09-24 14:24   
No remarks, please integrate
(0079375)
bugmaster   
2018-09-24 17:57   
OCCT branch : CR30157 SHA - 5f4a7281f70cd7bbc09e0059c8c88395716850ad
Products branch : master SHA - f9065a267b8d853b9b62de5a81af9e9e51bc8d26
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
(0079510)
git   
2018-09-30 18:47   
Branch CR30157 has been deleted by inv.

SHA-1: 5f4a7281f70cd7bbc09e0059c8c88395716850ad