Carbon: Relative to absolute mouse coordinates translation error; controls not clickable
Original Reporter info from Mantis: SpongeBob
-
Reporter name: SpongeBob
Original Reporter info from Mantis: SpongeBob
- Reporter name: SpongeBob
Description:
Carbon/Mac
TPopupMenu assigned to a form pops out on wrong position. Also TSpeedButton dropped onto the form is not clickable. Possibly many other controls are affected with wrong mouse coordinates translation.
Additional information:
If you move the form to the upper-left corner, then you can click on TSpeedButton and popup menu popups out where it should. It looks like Form.Left and Form.Top were not added to mouse coordinates during translation. As debugger on Mac is supper buggy it was not possible to trace the code which causes the error.
If you place TSpeedButton into a TPanel, then it works like expected. Also TPopupMenu pops out correctly on TPanel.
This was tested on Mac OS X 10.5.5 Intel.
Mantis conversion info:
- Mantis ID: 15943
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.30
- Fixed in revision: 23917 (#845a64f5)
- Target version: 0.9.30