Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-01

Mouse cursor support under Linux (GTK1/GTK2)

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Is mouse cursor support also a known and "will not fix" issue? Just before I start a long running process I set Screen.Cursor := crHourGlass and then start the process. The mouse cursor simply stays the default cursor, it doesn't change.

I even installed GTK1 and compiled my app for both GTK1 and GTK2 and in both case the mouse cursor NEVER changes! :-(

I'm running Lazarus 0.9.29 (updated from SVN on 2009-12-29) with FPC 2.2.5

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Paul Ishenin
to Graeme Geldenhuys
Graeme Geldenhuys wrote 5 lines
Is mouse cursor support also a known and "will not fix" issue? Just before I start a long running process I set Screen.Cursor := crHourGlass and then start the process. The mouse cursor simply stays the default cursor, it doesn't change.

No it must work. Maybe you are doing something wrong (please look at cursors example). If no then please create a bug report.

Best regards,
Paul Ishenin.

Reply by email

Graeme Geldenhuys
to Paul Ishenin
Paul Ishenin wrote
No it must work. Maybe you are doing something wrong (please look at cursors example). If no then please create a bug report.

OK, I found my problem. It was code I ported from Delphi 7, and the usage of the cursor is slightly different for Lazarus. I used a stack to push & pop cursors onto while opening nested modal dialogs and then restore them as the dialogs close. It was a test app of mine. But all is working again. Apologies for the false alarm.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email