Main form left greyed out after showmodal lazarus / 13-General ---------------------------------------------------------------------- johnkdevnull · 2014-08-19 13:49 Hi, I think I have a found a bug in LCL and also in the IDE. I'm running SVN version 1.3 (GTK2) in Fedora 20 on KDE.  When I click Help -> About in the IDE it shows the About dialog box and greys out the underlying main forms.  On closing the About box, the main forms are left greyed out. This also happens in my code.  When I use a custom form via showmodal the main form is left greyed out when exiting.  However this DOES NOT happen when using standard messagedlg boxes.  In that case the underlying main form is greyed out but is restored correctly. I think this has been the case for several versions.  I don't remember exactly when this started happening but it was a while ago. This problem does NOT happen in Gnome.  E.g. in Centos 6.5.  Probably because in that desktop the underlying main form is never greyed out. ---------------------------------------------------------------------- BigChimp · 2014-08-19 13:54 Similar behaviour +edit: possible workaround reported on Lazarus mailing list... http://www.mail- archive.com/lazarus@lists.lazarus.freepascal.org/msg44647.html ---------------------------------------------------------------------- ghieber · 2014-11-13 13:13 Similar behavior here (Lazarus 1.2.6 on Fedora19 / KDE). The problem is a royal pain in the a... while using the IDE. Every time I use a property editor in the object inspector, everything remains grey until I minimize and restore it. The workaround mentioned above simply turns off the greying out at all, which is much better, but not a solution. Forcing a repaint of the main form after closing the modal dialog does not help.