View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023628 | Open CASCADE | OCCT:Tests | public | 2012-12-11 10:54 | 2013-04-29 15:21 |
Reporter | Assigned To | Roman Lygin | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2012 | ||
Product Version | 6.6.0 | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0023628: Snapshots have wrong dimension when OCCT is built by VC++ 11 | ||||
Description | When tests are run with OCCT built with VS 2012 (VC++ 11), 32-bit mode on Windows 7 64-bit, snapshots produced by xwd command have wrong dimension (392*392 instead of 400*400) which makes it impossible to compare images with tests produced by OCCT built by vc9. | ||||
Steps To Reproduce | test blend bfuseblend A1 | ||||
Tags | No tags attached. | ||||
Test case number | test blend bfuseblend A1 | ||||
|
Patch is ready for review in CR23628 branch. VS2012 setting OS/image/subsystem version in the PE header to 6.0 and this cause User32 to return different values for the same call. Patch propose to use AdjustWindowRect() WinAPI function (available since Win2K) to adjust window rectangle instead of manual GetSystemMetrics() computations. |
|
Reviewed and checked with vc11 and vc9. Please proceed with regular testing and integration |
|
Dear BugMaster, Branch CR23628 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regressions: Not detected Improvements: Not detected Testing cases: test blend bfuseblend A1 - OK |
occt: master 7fe83417 2012-12-17 08:44:37 Committer: Roman Lygin Details Diff |
0023628: Snapshots have wrong dimension when OCCT is built by VC++ 11 Use AdjustWindowRect() function to adjust window rectangle instead of manual GetSystemMetrics(). |
Affected Issues 0023628 |
|
mod - src/Draw/Draw_Window.cxx | Diff File | ||
mod - src/WNT/WNT_Window.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-12-11 10:54 |
|
New Issue | |
2012-12-11 10:54 |
|
Assigned To | => kgv |
2012-12-11 11:22 |
|
Steps to Reproduce Updated | |
2012-12-17 12:47 | kgv | Note Added: 0022720 | |
2012-12-17 12:47 | kgv | Assigned To | kgv => abv |
2012-12-17 12:47 | kgv | Status | new => resolved |
2012-12-18 18:58 |
|
Note Added: 0022750 | |
2012-12-18 18:58 |
|
Assigned To | abv => bugmaster |
2012-12-18 18:58 |
|
Status | resolved => reviewed |
2012-12-19 12:27 |
|
Assigned To | bugmaster => mkv |
2012-12-25 14:28 |
|
Note Added: 0022831 | |
2012-12-25 14:29 |
|
Test case number | => test blend bfuseblend A1 |
2012-12-25 14:29 |
|
Assigned To | mkv => bugmaster |
2012-12-25 14:29 |
|
Status | reviewed => tested |
2013-01-04 11:35 | Roman Lygin | Changeset attached | => occt master 7fe83417 |
2013-01-04 11:35 | Roman Lygin | Assigned To | bugmaster => Roman Lygin |
2013-01-04 11:35 | Roman Lygin | Status | tested => verified |
2013-01-04 11:35 | Roman Lygin | Resolution | open => fixed |
2013-04-23 13:36 |
|
Status | verified => closed |
2013-04-29 15:21 |
|
Fixed in Version | => 6.6.0 |