View Issue Details

IDProjectCategoryView StatusLast Update
0037208LazarusIDEpublic2021-03-03 21:10
ReporterSven Barth Assigned ToJuha Manninen  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSWindows NT 
Product Version2.1 (SVN) 
Summary0037208: Changing "Register Unit" or "Use Unit" in a package does not mark package as modified
DescriptionWhen changing the "Register Unit" or "Use Unit" properties of a unit inside of a package the package is not marked as modified (and also the package file on disk is not modified). Only when closing the package the IDE asks whether the package should be saved. Or if one compiles the package the package is implicitly saved.
Steps To Reproduce- open a package
- select a unit and either select or deselect "Register Unit" (depending on the current state)
Expected: "Save" button becomes active and title of package form is marked as modified
Actual: "Save" button stays inactive and title of package form is not marked as modified, date of package file is also not changed

Same applies with "Use Unit"
Additional InformationThis is also the case in 2.0.8.
TagsNo tags attached.
Fixed in Revisionr64729
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Juha Manninen

2021-03-01 12:59

developer   ~0129277

Please test with current trunk. It works in my tests.

Sven Barth

2021-03-02 21:14

manager   ~0129330

It does not work in my tests (revision is 64725). It only works if I change e.g. "Use unit" and then select another unit.

Juha Manninen

2021-03-03 11:23

developer   ~0129340

Ok, yes.
Now fixed, please test.

Sven Barth

2021-03-03 21:10

manager   ~0129363

Works now. Thank you!

Issue History

Date Modified Username Field Change
2020-06-12 22:21 Sven Barth New Issue
2021-02-28 15:19 Juha Manninen Assigned To => Juha Manninen
2021-02-28 15:19 Juha Manninen Status new => assigned
2021-03-01 12:59 Juha Manninen Note Added: 0129277
2021-03-01 12:59 Juha Manninen Status assigned => feedback
2021-03-01 12:59 Juha Manninen LazTarget => -
2021-03-02 21:14 Sven Barth Note Added: 0129330
2021-03-02 21:14 Sven Barth Status feedback => assigned
2021-03-03 11:23 Juha Manninen Status assigned => resolved
2021-03-03 11:23 Juha Manninen Resolution open => fixed
2021-03-03 11:23 Juha Manninen Fixed in Revision => r64729
2021-03-03 11:23 Juha Manninen Widgetset Win32/Win64 => Win32/Win64
2021-03-03 11:23 Juha Manninen Note Added: 0129340
2021-03-03 21:10 Sven Barth Status resolved => closed
2021-03-03 21:10 Sven Barth Note Added: 0129363