Lazarus doesn't show components in the Form at runtime. lazarus / 32-Linux ---------------------------------------------------------------------- freeman · 2020-11-25 11:34 Hi, I am new. I installed Lazarus IDE on Ubuntu 20.04.1 LTS from apt package manager. IDE is working very well. I am adding the components at design time to the Form. But when I run the application, no components appear in the form.  I am facing an empty form. Here is the terminal output: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TLazarusManager.Run starting /home/freeman/.lazarus/bin/lazarus ...Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/freeman/.lazarus"Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"Looking for code tools config file:  "/home/freeman/.lazarus/codetoolsoptions.xml"NOTE: codetools config file not found - using defaultsHint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New=x86_64-linux- gtk2 Changed: OS/CPU=True LCL=FalseLoadLFM Creating designer for hidden component of /home/freeman/fp/unit1.pasInitOpenedProjectFile select form in designer: Form1:TForm1 TDesignerHint: (lazarus) [TMainIDE.DoRunProject] INITError: (lazarus) [TMainIDE.DoBuildProject] MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done[TCmdLineDebugger] Debug PID: 23642Hint: (lazarus) [TMainIDE.DoRunProject] Debugger=TGDBMIDebuggerHint: (lazarus) [TMainIDE.DoRunProject] ENDTGDBMIDebugger.StartDebugging WorkingDir="/home/freeman/fp/"LAZARUS END - cleaning up ...Hint: (lazarus) [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDEHint: (lazarus) [TMainIDE.Destroy] END   Example: https://imgur.com/a/U8I7ekI ---------------------------------------------------------------------- Sieben · 2020-11-25 11:51 Can you close that form the conventional way then or do you have to 'kill' it? Anyway, you might want to have a look at: https://forum.lazarus.freepascal.org/index.php/topic,35958.0.html ---------------------------------------------------------------------- freeman · 2020-11-25 12:01 I have to 'kill' it and  Project1 is not responding.  ... ... ...  Force Quit/Wait window appears automatically. I'm looking at the thread you posted. I will post  the result here. Thanks. ---------------------------------------------------------------------- lucamar · 2020-11-25 12:45 Can you post your project here (use "Project->Publish project", see Sharing large pieces of code)? That way we can test it thoroughly. I'm normally on Xubuntu 20.04 and this have never (yet, cross fingers) happened. From your description it looks like something is preventing the form from initializing, so it never gets to the point of loading/creating the controls, but I've no idea what it might be ... unless you don't have a proper GTK setup or some libraries are missing. I kind of recall someone having this kind of problem in Ubuntu 18+ ---------------------------------------------------------------------- wp · 2020-11-25 13:04 I had a similar case recently: Are you sure that the resource is linked? There are two ways: - .res resource: In this case, your form unit must contain the line {R *.lfm} after the "implementation" keyword. - .lrs resource: In this case, your form unit must "use" the unit "LResources" and have and "initialization" section with the line {$I .lrs} If you cannot find any of these lines, add the {$R *.lfm} after "implemenation".