Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.2.0
-
None
-
Mac OS 10.6.7, 10.7.5
Qt options:
./configure -no-openssl -nomake examples -nomake tests -platform macx-clang-32 -no-c++11
-
-
98405c41
Description
The problem is the the QNSView (qtbase\src\plugins\platforms\cocoa\qnsview.mm)
Steps to reproduce.
1. Create any simple empty QMainWindow application.
2. Run it
Happens on 10.6 and 10.7 only. Release build of the app. Doesn't happen on 10.8 and 10.9.
- (void)handleTabletEvent: (NSEvent *)theEvent { NSEventType eventType = [theEvent type]; if (eventType != NSTabletPoint && [theEvent subtype] != NSTabletPointEventSubtype) return; // Not a tablet event. ulong timestamp = [theEvent timestamp] * 1000; QPointF windowPoint; QPointF screenPoint; [self convertFromScreen:[NSEvent mouseLocation] toWindowPoint: &windowPoint andScreenPoint: &screenPoint]; uint deviceId = [theEvent deviceID]; if (!tabletDeviceDataHash->contains(deviceId)) { qWarning("QNSView handleTabletEvent: This tablet device is unknown" " (received no proximity event for it). Discarding event."); return; } ... ...