View Issue Details

IDProjectCategoryView StatusLast Update
0038583LazarusLCLpublic2021-03-06 15:53
ReporterGaston Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformGNU/LinuxOSLinux Mint  
Product Version2.0.8 
Summary0038583: Object inspector does not save its active editor when loosing focus
DescriptionThe checkbox does not appears in the dialog. But if you press the enter/return key after type the text on the VerificationText property, then it's works fine.
Steps To ReproduceAttached project. See in the Object Inspector at the VerificationText property, then compile and run.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetGTK 2
Attached Files

Relationships

related to 0017795 closedJuha Manninen Typing a value in the object inspector does not take effect unless enter is pressed or another property is selected 

Activities

Gaston

2021-03-05 06:33

reporter  

Juha Manninen

2021-03-05 08:33

developer   ~0129391

Yes, a CheckBox in TaskDialog is tied to VerificationText. It does not make sense to show a CheckBox without text.
What is the bug?
You should ask about component usage in forum or mailing list before opening bug reports.

Gaston

2021-03-05 22:02

reporter   ~0129410

The bug is that VerificationText property have a text (see OI) and the checkBox does not appears if you don't press the key enter after you type the text of VerificationText in OI. Of course if you do this by code, all works fine.

Juha Manninen

2021-03-05 22:40

developer   ~0129413

Last edited: 2021-03-05 22:40

View 2 revisions

Do you mean this report has nothing to do with TaskDialog and its VerificationText?

Gaston

2021-03-06 01:12

reporter   ~0129419

Please, see this video (40 sec.). If you confirms that is not a bug, then you may close this issue.
example.mp4 (1,400,763 bytes)   

jamie philbrook

2021-03-06 01:41

reporter   ~0129420

I think this is just an example of a problem that happens everywhere with the OI, its not restricted to this control and its been around for a while now..

When you are editing in the OI or using a property input in the OI and don't hit enter or jump to another item in the OI but instead just move off the OI Tablet form and use some other function in the IDE , like compile or run etc.. The Changes you made in the OI are not updated..

  This only happens if you leave the focus from the OI to some other point in the IDE before you HIT Enter or move to another property in the OI so that it can be completed.

Juha Manninen

2021-03-06 15:42

developer   ~0129435

Last edited: 2021-03-06 15:53

View 2 revisions

It is a bug in Object Inspector, yes.
I changed the summary line.
I remember this was fixed many years ago but it was an ugly hack and apparently has been removed since.
Somebody please debug and fix it properly.
OTOH this is not a serious bug. Once you learn to know it, you press Enter always after editing a field.

[Edit] I found the old issue. It was reported over 10 years ago in 2010.

Issue History

Date Modified Username Field Change
2021-03-05 06:33 Gaston New Issue
2021-03-05 06:33 Gaston File Added: TTaskDialog_CheckBox.zip
2021-03-05 08:33 Juha Manninen Note Added: 0129391
2021-03-05 08:33 Juha Manninen Assigned To => Juha Manninen
2021-03-05 08:33 Juha Manninen Status new => feedback
2021-03-05 08:33 Juha Manninen LazTarget => -
2021-03-05 22:02 Gaston Note Added: 0129410
2021-03-05 22:02 Gaston Status feedback => assigned
2021-03-05 22:40 Juha Manninen Note Added: 0129413
2021-03-05 22:40 Juha Manninen Note Edited: 0129413 View Revisions
2021-03-06 01:12 Gaston Note Added: 0129419
2021-03-06 01:12 Gaston File Added: example.mp4
2021-03-06 01:41 jamie philbrook Note Added: 0129420
2021-03-06 15:38 Juha Manninen Summary The checkbox does not appears in the dialog. => Object inspector does not save its active editor when loosing focus
2021-03-06 15:38 Juha Manninen Widgetset GTK 2 => GTK 2
2021-03-06 15:38 Juha Manninen Assigned To Juha Manninen =>
2021-03-06 15:38 Juha Manninen Status assigned => new
2021-03-06 15:42 Juha Manninen Note Added: 0129435
2021-03-06 15:52 Juha Manninen Relationship added related to 0017795
2021-03-06 15:53 Juha Manninen Note Edited: 0129435 View Revisions