Dragimage gets wrong coordinates in Linux
Original Reporter info from Mantis: ocean
-
Reporter name:
Original Reporter info from Mantis: ocean
- Reporter name:
Description:
Attached project works as expected in Windows. But in Ubuntu(64bit) coordinates are wrong.
Seems dragmove uses them as screen coordinates, but x,y are clientcoordinates here:
list.DragMove(X+Left-mid,Y+Top);
Also if uncomment these lines in unit1, I get External SIGFPE after another in lclproc.pas. I'll create another bug for this, if anyone can reproduce? (My Linux testing environment/fpc may be little outdated)
//CB.BorderColor:=clGray;
//CB.SquareColorDark:=clGray;
//CB.SquareColorLight:=clSilver;
//CB.DisplayCoords:=[North, East, West, South];
Mantis conversion info:
- Mantis ID: 24854
- Platform: Ubuntu 64bit