Recent

Author Topic: Scrambled dragimage  (Read 2376 times)

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Scrambled dragimage
« on: May 20, 2012, 10:30:19 pm »
My program makes use of dragimages. The code works well for Windows and Linux (both Gtk2 and Qt) but not with Qt on Darwin. I fiddled around with drawing (visible on/off, cursor on/off) but nothing helps, the dragimage is still shown scrambled. Sometimes it works as expected but mostly not. I checked image generation and transfer to the imagelist, both are okay. At the moment I have no idea what could be wrong.
Actually, a small test program runs perfectly but my program has a lot of code around the mouse down event so I don't know what happens. Seems Darwin does not forgive any mistake.
Any suggestion?
Lazarus 1.7 (SVN) FPC 3.0.0