Sign in Join

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

Mailing lists / lazarus / 2012-07

exception when moving mouse over editor hint windows (since a few months)

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Bernd K.

I am experiencing annoying Exceptions in the IDE (I believe its a regression, I believe it started happening afer I saw some changes in the svn log making it possible to click a link inside the hint window).

I am using GTK2, I have turbopower ipro design package installed to get HTML formatted hints. It does not seem to happen without that.

When I hover the mouse over an identifier the yellow hint window will pop up, inside is a clickable link to the source position, I move the mouse over this link and a smaller black (theme color) hint will pop up above the other hint and then when I quickly move the mouse away (must be fast enough) then this will happen:

Show quoted text 9 lines
TApplication.HandleException Access violation Stack trace: $0806EC3F TOBJECT__INHERITSFROM, line 529 of /home/bernd/lazsvn/fixes_2_6/rtl/inc/objpas.inc $0806E069 fpc_do_is, line 41 of /home/bernd/lazsvn/fixes_2_6/rtl/inc/objpas.inc $082FD7CF DELIVERMESSAGE, line 111 of lclmessageglue.pas $082C2739 DELIVERMESSAGE, line 3591 of ./gtk2/gtk2proc.inc $082CEF69 DELIVERMOUSEMOVEMESSAGE, line 1336 of ./gtk2/gtk2callback.inc $082CF3E8 GTKMOTIONNOTIFY, line 1485 of ./gtk2/gtk2callback.inc $4A147C52

and also a modal message box notifying me about the exception. If I cick OK I can continue working.

It seems it has to do with the both hint windows showing at the same time (and maybe destroyed in the wrong order? Maybe a bug in turbopower, not properly destroying its own hint before it is destroyed?), I can't reproduce it when I do not touch the link inside, so it might be related with this second hint window. But this is only a guess. Can anybody reproduce this?

(this is quite annoying since I trigger it all the time accidentally when moving the mouse around)

Bernd

Reply by email

Graeme Geldenhuys
to Bernd K.
Bernd K. wrote
(this is quite annoying since I trigger it all the time accidentally when moving the mouse around)

I have experienced (and reported) a similar problem under Linux and Lazarus IDE compiled with GTK2 - a few months back. I kept hitting that bug accidentally too. So much so, that I disabled HTML support in the hints, and the problem went away. From those discussions, I believe the problem was in Lazarus IDE, not in TurboPower. I'm not on a Linux system at the moment, so can't retest, but will be able to do by the end of the month, when my new linux box arrives.

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

Reply by email

Martin
to Bernd K.: I am experiencing annoying Exceptions in the IDE (I believe its a regression, I believe…
Bernd K. wrote 6 lines
I am experiencing annoying Exceptions in the IDE (I believe its a regression, I believe it started happening afer I saw some changes in the svn log making it possible to click a link inside the hint window). I am using GTK2, I have turbopower ipro design package installed to get HTML formatted hints. It does not seem to happen without that.

This feature is only in SVN trunk (1.1) the fixes branch (which should be used) is not affected.

But yes there are problems with this. It works mostly fine on windows (well some links can cause errors...), but under gtk, the hint windows seem to have various problems....
http://bugs.freepascal.org/view.php?id=21936
http://bugs.freepascal.org/view.php?id=21962 (not related to this)

and then the one you have:

Show quoted text 15 lines
When I hover the mouse over an identifier the yellow hint window will pop up, inside is a clickable link to the source position, I move the mouse over this link and a smaller black (theme color) hint will pop up above the other hint and then when I quickly move the mouse away (must be fast enough) then this will happen: > TApplication.HandleException Access violation > Stack trace: > $0806EC3F TOBJECT__INHERITSFROM, line 529 of /home/bernd/lazsvn/fixes_2_6/rtl/inc/objpas.inc > $0806E069 fpc_do_is, line 41 of /home/bernd/lazsvn/fixes_2_6/rtl/inc/objpas.inc > $082FD7CF DELIVERMESSAGE, line 111 of lclmessageglue.pas > $082C2739 DELIVERMESSAGE, line 3591 of ./gtk2/gtk2proc.inc > $082CEF69 DELIVERMOUSEMOVEMESSAGE, line 1336 of ./gtk2/gtk2callback.inc > $082CF3E8 GTKMOTIONNOTIFY, line 1485 of ./gtk2/gtk2callback.inc > $4A147C52

Please report.

Reply by email

Bernd K.
to Martin
Martin wrote 12 lines
On 16/07/2012 13:40, Bernd K. wrote: >> TApplication.HandleException Access violation >> Stack trace: >> $0806EC3F TOBJECT__INHERITSFROM, line 529 of /home/bernd/lazsvn/fixes_2_6/rtl/inc/objpas.inc >> $0806E069 fpc_do_is, line 41 of /home/bernd/lazsvn/fixes_2_6/rtl/inc/objpas.inc >> $082FD7CF DELIVERMESSAGE, line 111 of lclmessageglue.pas >> $082C2739 DELIVERMESSAGE, line 3591 of ./gtk2/gtk2proc.inc >> $082CEF69 DELIVERMOUSEMOVEMESSAGE, line 1336 of ./gtk2/gtk2callback.inc >> $082CF3E8 GTKMOTIONNOTIFY, line 1485 of ./gtk2/gtk2callback.inc >> $4A147C52 Please report.

reported:
http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=22447

Reply by email