| Anonymous | Login | Signup for a new account | 2013-06-19 06:13 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0021562 | Lazarus | LCL | public | 2012-03-26 10:36 | 2012-05-14 16:21 | ||||||||
| Reporter | Ryan Davis | ||||||||||||
| Assigned To | |||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||
| Status | new | Resolution | open | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Product Version | 0.9.30.5 (SVN) | Product Build | |||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0021562: Bug in OnMouseMove X, Y values on Mac OS X | ||||||||||||
| Description | When tracking X or Y values in OnMouseMove they consistently go negative when moving outside the range of a component. For example, if you tracked the X value in OnMouseMove of a TImage, when moving the mouse to the left of the TImage the X value would go negative as the cursor exited the TImage. This is often a useful value to track for implementing the start of drag/drop procedures. This works normally in Windows for all cases. E.g. the X or Y value will go negative while exiting a component. This works normally in Mac for a standard window which has focus and working within a single focused window. If working with two Windows on the Mac, the X value in OnMouseMove will not go negative when exiting the visual component space if the Window in which you are exiting did not have focus when you begin the move operation. For example, if you try to drag back and forth between two windows using OnMouseMove negative values to detect when to begin dragging, the procedure will work for whatever window currently has focus. However, if you try to drag from the window without focus (which instantly gives it focus when you click on it) to the original window the X, Y values in OnMouseMove will never go negative. The exact same code in Windows when using two windows works fine. | ||||||||||||
| Additional Information | See above. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Fixed in Revision | |||||||||||||
| LazTarget | |||||||||||||
| Widgetset | Carbon | ||||||||||||
| Attached Files | |||||||||||||
Notes |
|
|
(0059585) Anton S. (reporter) 2012-05-14 16:21 edited on: 2012-05-14 16:27 |
I'v reported in 0020748 about an issue with drag from unfocused form, maybe it's in some way related. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-03-26 10:36 | Ryan Davis | New Issue | |
| 2012-03-26 10:36 | Ryan Davis | Widgetset | => Carbon |
| 2012-05-14 16:21 | Anton S. | Note Added: 0059585 | |
| 2012-05-14 16:27 | Anton S. | Note Edited: 0059585 | |
| Main | My View | View Issues | Change Log | Roadmap |



