View Issue Details

IDProjectCategoryView StatusLast Update
0036521LazarusIDEpublic2020-01-12 13:48
ReporterCudaText manAssigned ToJuha Manninen 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformUbuntu 18 x64OSOS Version
Product Version2.1 (SVN)Product Build 
Target VersionFixed in Version 
Summary0036521: IDE adds "Application.Title:=....." when it's not valid for console app
Descriptionfor 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).
TagsNo tags attached.
Fixed in Revision
LazTarget
Widgetset
Attached Files

Activities

CudaText man

2020-01-06 11:54

reporter  

test_benchmark.zip (1,838 bytes)

Juha Manninen

2020-01-12 11:42

developer   ~0120356

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?

CudaText man

2020-01-12 13:48

reporter   ~0120358

Last edited: 2020-01-12 13:48

View 2 revisions

This option was set by initially making LPI project from LPR file, Ok, it's solved.

Issue History

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