Actually the scrollbox example of yours fails in many ways (there is a range check error)
So yes scrollboxes are currently broken. And according to your project they have been or a while
Yes.. it also seems inconsistent. I was just looking under Project|Project Options|Compiler Options|Paths and it was behaving in exactly the same manner. Controls would expand with the scrollbox but remained expanded when the action was reversed. I was going to give it as an example but on checking a second time things started behaving themselves.
It is not my intention to moan too much. I do like it and I do appreciate the amount of work that must be involved in producing such a tool. Given I am a novice perhaps I should not be let loose on it and I continually hope that my mind might train itself to avoid doing silly things. It may well be the case that others do not come across such problems or they have done in the past and subconsciously manage to avoid falling down the same holes. It is still the case that I do find problems that others have found and the reported solutions either do not work or are incomplete or poorly explained.
Let's go back to the 'Access Violation' on trying to save a file. You mentioned 'permissions' and they have been another bane of my life. It's one of the first things I look at when something like this happens but I do not believe that is the problem here.. then again it may be. Two pictures attached. I have started lazarus from the menu icon, not via a terminal. It has opened with the previous project and I go to save the present unit which I can or could do if I were to save it to the same folder it came from, first picture. However if I try to move to my home folder I get the access violation, second picture, the program locks itself and I have to force quit.
The same happens when I run startlazarus as the normal user from a terminal and also if I run from a terminal using sudo startlazarus. The problem goes away if I run from a terminal as root. Perhaps it is a permission issue.. however as a normal user I am only trying to save into my home folder and into directories that I own and have permission to use. The problem goes away if I use the file manager, Caja, to create a new directory and then copy the project files into the new directory and then open the .lpi file with Lazarus. At that stage I am allowed to save files back into that directory but, once again, if I try to save them anywhere else from within the program I get the access violation. Again I have seen others having the same problem with no apparent solution being forthcoming.
It is almost as if when being run as a normal user the program is acting as if it were someone else, a different user, and does not inherit the permissions of the person who started it but when run as root it gains the correct permissions?