I'm trying to get a program originally developed under Windows running on Lazarus 1.6RC2 under Ubuntu 14.04, using the GTK 2 widget set. After dealing with a number of cross-platform issues, I eventually got it to run, but found that it would freeze up quite often when run from the IDE. It runs perfectly when launched outside the IDE.
I think I have narrowed it down to scrollbars! It seems that any control with a scrollbar will cause the program to lock up when run from the IDE.
Here's my repro steps:
1. Create a new GUI application in Lazarus.
2. Drop a TScrollBar on the form.
3. Run the program from the IDE.
About 75% of the time the form will come up with the scrollbar missing, and if you try to interact with the form, like trying to close it, the window will go dark and a message will come up, "This window is not responding", with the option to Force Quit.
I've also been able to repro this with a scrollbox, a listbox, and 1 or 2 other controls with scrollbars. I've also been able to repro this bug on a different machine using Laz 1.4.4 on Ubuntu 15.10
I'm thinking I must be doing something wrong, because if this is a bug I don't see how anybody could get any program development done. Would anybody be willing to try to repro this, or give me some suggestions as to what I might be doing wrong.
If the problem doesn't immediately manifest, try changing a property on the scrollbar, like change it from horizontal to vertical. That usually does it for me.