Problem with dragging a TDragObject on Linux lazarus / 31-LCL ---------------------------------------------------------------------- Jurassic Pork · 2020-05-15 05:40 hello,  coming with Lazarus there is an example to use a TDragObject :   Lazarus/examples/dragImageList with this example you drag a button and drop it on a target. When i use original source code, no problem , the TDragObject moves with cursor (See DragImageList1.gif) Now, i want to put the cursor on the center of the dragObject. To do this i use this code : Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   FDragImages.DragHotspot := Point(Bitmap.Width div 2, Bitmap.Height div 2); The problem is that the TDragObject moves only when the cursor goes out of it (See DragImageList2.gif) Another problem, you can't drop the Tdragobject. There is no such problem on Windows. So what is wrong ?  Friendly J.P ---------------------------------------------------------------------- Jurassic Pork · 2020-05-15 20:52 hello, nobody to answer me ---------------------------------------------------------------------- howardpc · 2020-05-15 21:04 Clearly the way TDragObject is implemented for the gtk widgetset is buggy. I think report it on mantis as a platform-specific issue. Perhaps QT and carbon/cocoa are OK? ---------------------------------------------------------------------- Jurassic Pork · 2020-05-15 21:09 ok, thanks , i will try ---------------------------------------------------------------------- winni · 2020-05-15 21:11 Hi! Just tested on Linux with no problems: fpc 3.04 Laz 2.08 gtk2 Linux64 Winni ---------------------------------------------------------------------- Jurassic Pork · 2020-05-15 21:16 winni what is your linux distrib ? me : Centos8 Lazarus 2.0.8 gtk2 widgetset  and Ubuntu 16.03 LTS Lazarus 2.0.8 gtk2 ---------------------------------------------------------------------- winni · 2020-05-15 21:18 Hi! Suse Tumbleweed, last rolling release with new kernel 1 hour ago. Winni ---------------------------------------------------------------------- Jurassic Pork · 2020-05-15 21:25 Ok  Winni , if the TDragObject works differently depending on linux distrib, that it's not stable ---------------------------------------------------------------------- Jurassic Pork · 2020-05-15 21:54 with Ubuntu 16.04 Lazarus 2.0.8  Qt  widgetSet  moving is OK but dropping not working ---------------------------------------------------------------------- winni · 2020-05-15 22:01 Hi! For me it works as you can see in the attachment. Start the programm from the console and look if their are some error messages. Winni