View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0036521 | Lazarus | IDE | public | 2020-01-06 11:54 | 2020-02-28 20:35 |
Reporter | CudaText man | Assigned To | Juha Manninen | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Ubuntu 18 x64 | ||||
Product Version | 2.1 (SVN) | ||||
Summary | 0036521: IDE adds "Application.Title:=....." when it's not valid for console app | ||||
Description | for attached project, change Project properties application name (from "Benchmark" to another); IDE adds line "Application.Title:=" to the lpr file, and file not cannot compile (it do NOT use Forms). | ||||
Tags | No tags attached. | ||||
Fixed in Revision | r62669 | ||||
LazTarget | - | ||||
Widgetset | |||||
Attached Files |
|
|
|
|
Project Options -> Miscellaneous pane has a checkbox for: Main unit has Application.Title statement Why does your console project have it checked? I guess you changed it manually. There are at least 2 other settings that make no sense for a console program, namely: Main unit has Application.CreateForm statements Main unit has Application.Scaled statement The Application.Title statement actually makes sense with a "Console Application" which uses TCustomApplication. IMO the actual bug is that those checkboxes are enabled also for a console program. The project type should be checked when options window is opened. What other options should be disabled for a console program? |
|
This option was set by initially making LPI project from LPR file, Ok, it's solved. |
|
It was clearly a bug. I improved the logic in r62669. Now the LCL GUI options cannot be set for a console program any more. Please test. TCustomApplication.Title is a question. Is it used somewhere? Should it be updated in main unit? |
|
I don't think that TCustomApp.Title is used anywhere. should not be updated. |
|
Ok, resolving. There are no complaints in the mailing list either. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-06 11:54 | CudaText man | New Issue | |
2020-01-06 11:54 | CudaText man | File Added: test_benchmark.zip | |
2020-01-12 11:42 | Juha Manninen | Assigned To | => Juha Manninen |
2020-01-12 11:42 | Juha Manninen | Status | new => assigned |
2020-01-12 11:42 | Juha Manninen | Note Added: 0120356 | |
2020-01-12 13:48 | CudaText man | Note Added: 0120358 | |
2020-01-12 13:48 | CudaText man | Note Edited: 0120358 | View Revisions |
2020-02-24 10:55 | Juha Manninen | Status | assigned => feedback |
2020-02-24 10:55 | Juha Manninen | LazTarget | => - |
2020-02-24 10:55 | Juha Manninen | Note Added: 0121212 | |
2020-02-24 11:16 | CudaText man | Note Added: 0121213 | |
2020-02-24 11:16 | CudaText man | Status | feedback => assigned |
2020-02-24 11:17 | CudaText man | Note Edited: 0121213 | View Revisions |
2020-02-28 20:35 | Juha Manninen | Status | assigned => resolved |
2020-02-28 20:35 | Juha Manninen | Resolution | open => fixed |
2020-02-28 20:35 | Juha Manninen | Fixed in Revision | => r62669 |
2020-02-28 20:35 | Juha Manninen | Note Added: 0121266 |