DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032609

Visualization, Wasm_Window - handle mouse movements outside canvas element

Open CASCADEOCCT:Visualizationclosed5 public notes

Search issues

Description

Wasm_Window::ProcessMouseEvent() rejects mouse unclicks outside canvas element.
It is desired to support this behavior when application wants to.

Steps to reproduce

N/A

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: Wed Oct 6 23:55:43 2021 +0300

    0032609: Visualization, Wasm_Window - handle mouse movements outside canvas element
    
    Wasm_Window::ProcessMouseEvent() - removed redundant check on EMSCRIPTEN_EVENT_MOUSEUP event.
    ViewerTest and WebGL sample - mouse movements are now tracked on window element
    to allow tracking updates when mouse with clicked button is moved outside canvas element.
02Author
Patch is ready for review
- OCCT: branch CR32609.
03Commenter 3
The patch was reviewed
04Commenter 4
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[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: 17935.650000000136 / 17754.63000000043 [+1.02%]
Products
Total CPU difference: 11611.53000000011 / 11405.930000000111 [+1.80%]
Windows-64-VC14:
OCCT
Total CPU difference: 19689.8125 / 19680.3125 [+0.05%]
Products
Total CPU difference: 12938.8125 / 12772.859375 [+1.30%]


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]

Related records