Get Empty Messgae on Project Options lazarus / 11-Options ---------------------------------------------------------------------- pixelink · 2025-10-26 08:38 Well, I get an empty message when I try to click the OK button. But, it doesn't do it n a new project. So, why is this doing this on my project. I don't remember changing anything. ---------------------------------------------------------------------- Martin_fr · 2025-10-26 09:10 That question can probably only be answered by debugging it. Make a backup of your project. Especially the LPI and LPS file. (The LPS may be in the "primary config path" directory / depends on your settings) If you then remove nodes from the XML of either file (mainly setting related, not file/unit), and find the part of the xml that makes it go away / come back. Otherwise, how private are the project files? That is, the lpi and lps? (Hoping that it can be reproduced with just those 2 files) Then you can upload them, and maybe someonen with more knowledge can have a look at them. (the contain: unit names, compile settings, build modes, watches, ...) ---------------------------------------------------------------------- pixelink · 2025-10-26 12:39 Well, I did it an easier way. I created a new project and took the lps file and replaced the one in my main project. That fixed it. I did figure out what the problem is that causes it too. When I add an *.ico file to the application setting and click OK is when I get that message. Then if I reopen th options the icon box is blank although the projects does display the icon on the program on on the taskbar of Windows. So, not sure why adding an icon is an issue. I used the same icon as I used in 3.2 ---------------------------------------------------------------------- n7800 · 2025-10-26 17:54 It was difficult, but I think I found the suspect line: https://gitlab.com/freepascal.org/lazarus/lazarus/- /blob/ead3cc86f6668955e38f2b05dc083ce8d08cb844/ide/main.pp#L5340 Edited: The link has been changed to permanent (line numbers in the trunk are constantly changing). ---------------------------------------------------------------------- Martin_fr · 2025-10-26 18:18 Possible, best report as a bug please. ---------------------------------------------------------------------- n7800 · 2025-10-27 00:00 I'll try to make a MR, finish it tomorrow later. ---------------------------------------------------------------------- pixelink · 2025-10-29 15:54 So, I am assuming its a bug, right? When will it be fixed... My EXE's do not have my desired icon, not even a LAZ one. Thanks ---------------------------------------------------------------------- n7800 · 2025-10-29 16:21 For some reason your project is throwing an error when updating resources, and we can't say for sure because the error messages aren't everywhere (empty). I'll add them, and you'll see the verbose error )) Just as a guess, could you tell if main file of your project contains the line "{$R *.res}"? It can be opened with Menu > Project > View Project Source. ---------------------------------------------------------------------- pixelink · 2025-10-29 16:32 Yes ---------------------------------------------------------------------- n7800 · 2025-10-29 17:15 Do you have any resources in "Project Options > Resources"? ---------------------------------------------------------------------- pixelink · 2025-10-29 17:44 No. I never have used this. Just adding the icon on the option screen has always worked fine previous to this version 4.2 ---------------------------------------------------------------------- pixelink · 2025-10-29 17:46 Well, I tried it and that works. Hmm never ever had to do this before. Thanks ---------------------------------------------------------------------- n7800 · 2025-10-30 06:48 Quote from: pixelink on October 29, 2025, 06:46:46 pmWell, I tried it and that works. Hmm never ever had to do this before. Thanks Sorry, what exactly did you do? Does the icon work now and the error doesn't appear? Initially, I meant that you might be getting the error (blank window) because of some resource there. But since it was empty, that's not the point.