MantisBT - Open CASCADE
View Issue Details
0030853Open CASCADE[OCCT] OCCT:Visualizationpublic2019-07-26 05:402019-07-29 09:59
kgv 
bugmaster 
normaltrivial 
closedfixed 
[OCCT] 7.4.0 
[OCCT] 7.4.0[OCCT] 7.4.0 
Not required
0030853: Visualization, AIS_ViewController - fix 1 pixel Y shift while zooming
Due to bug in math converting Y-down mouse coordinates into Y-up, AIS_ViewController::handleZoom() leads to continuous 1 pixels shift error.
N/A
No tags attached.
child of 0030507closed bugmaster Visualization - introduce AIS_ViewController 
Issue History
2019-07-26 05:40kgvNew Issue
2019-07-26 05:40kgvAssigned To => kgv
2019-07-26 06:01gitNote Added: 0085876
2019-07-26 06:03kgvRelationship addedchild of 0030507
2019-07-26 06:03kgvNote Added: 0085877
2019-07-26 06:03kgvAssigned Tokgv => bugmaster
2019-07-26 06:03kgvStatusnew => resolved
2019-07-26 06:03kgvStatusresolved => reviewed
2019-07-27 11:23bugmasterTest case number => Not required
2019-07-27 11:40bugmasterNote Added: 0085915
2019-07-27 11:40bugmasterStatusreviewed => tested
2019-07-28 11:02bugmasterChangeset attached => occt master 9460f8c0
2019-07-28 11:02bugmasterStatustested => verified
2019-07-28 11:02bugmasterResolutionopen => fixed
2019-07-29 09:59gitNote Added: 0085930

Notes
(0085876)
git   
2019-07-26 06:01   
Branch CR30853 has been created by kgv.

SHA-1: 20c2d590243deaea6f0440aa1073035f63f07338


Detailed log of new commits:

Author: kgv
Date: Fri Jul 26 05:59:39 2019 +0300

    0030853: Visualization, AIS_ViewController - fix 1 pixel Y shift while zooming
    
    Fixed error in math converting Y-down mouse coordinates into Y-up within AIS_ViewController::handleZoom().
    Added flags ToStickToRayOnZoom()/ToStickToRayOnRotation() enabled by default,
    which will project picked point onto ray at mouse cursor to preserve focus on zoom out.
(0085877)
kgv   
2019-07-26 06:03   
Please raise the patch.
(0085915)
bugmaster   
2019-07-27 11:40   
Combination -
OCCT branch : CR30853
master SHA - 20c2d590243deaea6f0440aa1073035f63f07338
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : master SHA - 15b969be38b5ee777dca74665beb7562bdb8b468
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: 16222.87000000003 / 16218.199999999973 [+0.03%]
Products
Total CPU difference: 10492.690000000053 / 10488.820000000036 [+0.04%]
Windows-64-VC14:
OCCT
---
Products
Total CPU difference: 12137.3125 / 12174.703125 [-0.31%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0085930)
git   
2019-07-29 09:59   
Branch CR30853 has been deleted by inv.

SHA-1: 20c2d590243deaea6f0440aa1073035f63f07338