Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.9
-
None
-
Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple)) on "cocoa"
OS: OS X Yosemite (10.10) [darwin version 14.5.0]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
Screens: 1, High DPI scaling: inactive
0 "iMac" Depth: 24 Primary: yes
Manufacturer:
Model:
Serial number:
Geometry: 2560x1440+0+0 Available: 2560x1343+0+23
Physical size: 596.55x335.56 mm Refresh: 60 Hz Power state: 0
Physical DPI: 109,109 Logical DPI: 72,72 Subpixel_RGB
DevicePixelRatio: 1 Pixel density: 1
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
LibGL Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce GTX 780M OpenGL Engine
Version: 2.1 NVIDIA-10.4.3 310.41.35f01
Shading language: 1.20
Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8 Depth buffer: -1 Stencil buffer: -1Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 7.0.2 (clang-700.1.81) (Apple)) on "cocoa" OS: OS X Yosemite (10.10) [darwin version 14.5.0] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE Screens: 1, High DPI scaling: inactive 0 "iMac" Depth: 24 Primary: yes Manufacturer: Model: Serial number: Geometry: 2560x1440+0+0 Available: 2560x1343+0+23 Physical size: 596.55x335.56 mm Refresh: 60 Hz Power state: 0 Physical DPI: 109,109 Logical DPI: 72,72 Subpixel_RGB DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 LibGL Vendor: NVIDIA Corporation Renderer: NVIDIA GeForce GTX 780M OpenGL Engine Version: 2.1 NVIDIA-10.4.3 310.41.35f01 Shading language: 1.20 Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8 Depth buffer: -1 Stencil buffer: -1
Description
I have an entity with a QObjectPicker component which only listens for the "clicked" signal. (Qt 5.9 git)
If I press the mouse down on an entity, drag the mouse, and then release the mouse, I would not expect to receive a "clicked" signal on that entity.
Given the docs, I would expect "entered", "pressed", and "exited" signals to fire on that entity and then "released" to fire for whatever entity the mouse is over.
Attachments
For Gerrit Dashboard: QTBUG-59582 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
191438,4 | Picking: don’t emit click if mouse released on different entity | 5.9 | qt/qt3d | Status: MERGED | +2 | 0 |