Where Developers Matter
Integrated Development Environments for Windows, Java, and Web Developers
| | Log On

D2007 Update 1 - List of QC reports

By: Chris Pattinson

Abstract: List of QC reports fixed in Delphi 2007 Update 1 (101)

A major update to Delphi 2007 is coming soon to an online update near you.

Over 300 fixes made to Delphi as part of the Cogswell release, which includes 102 reports from Quality Central. It's been about three months, and we made several major improvements in Vista support (the forms.pas fixes we've had under test for quite some time) and major improvements in the documentation system (take a look at the index and try searching by using the new filters).

There have also been additional fixes to memory leaks and IDE stability. It's a mixed bag, with some goodness for everyone.

This update is expected to be made available using the 'Check for updates' mechanism included as part of the new installer, as well as available for download online. More details to be announced soon.

Document updated June 14, 2007 – Moved Documentation to the bottom per community request and changed RAID identifiers to QC identifiers CP

    43477

QC#

Area

43477

IDE

Description:

[QC Short Description]
editor or welcome page has incorrect size after maximize, minimize and restore

[QC Description]
*Vista Only*: after maximizing, then minimizing and finally restoring the IDE, the editor area has the wrong size and empty space is left

See attached screen shot.
QC Entry 43477

    43092

QC#

Area

43092

IDE

Description:

[QC Short Description]
BDS does not show on Task Manager applications list

SB: XP only

QC Entry 43092

    32650

QC#

Area

32650

IDE

Description:

[QC Short Description]
IDE Exception dialog: Call stack should be included with copy to clipboard

[QC Description]
The IDE Exception dialog supports Ctrl+C to copy the error message to the clipboard.

Unfortunately the clipboard copy does not include the call stack which is shown in the details.

When manually posting QC reports (and not using AIR) the call stack has to be copied manually which is cumbersome.

See Steps.
QC Entry 32650

NOTE: if you highlight the call stack, you can get it. it just takes a second step.

    43097

QC#

Area

43097

IDE\Dialogs

Description:

[QC Short Description]
Text display problems on Tools->Options

QC Entry 43097

    40821

QC#

Area

40821

IDE\Dialogs

Description:

[QC Short Description]
Confirmation dialog to add BPL path to the PATH environment variable is wrongly translated

[QC Description]
After installing build Spacely 2603, the first dialog that popups when the IDE is launched is badly translated.

It contains:

"Votre destination package Delphi pour win32 actuel ne fait pas partie de votre chemin syst me.
Pour utiliser les packages d' x cution construits dans ce r pertoire,
il faut que ce r pertoire soit dans votre chemin . Voulez vous l'ajouter maintenant"

It should rather be:

"Votre r pertoire contenant les paquets Delphi pour Win32 n'est pas pr sent dans votre chemin syst me. Pour utiliser ces paquets d' x cution il faut que ce r pertoire soit pr sent dans votre chemin syst me. Voulez vous l'ajouter maintenant ?"

screenshot attached
QC Entry 40821

// Francois Piette
This report is a duplicate of 244531 which is NOT resolved !

    44770

QC#

Area

44770

IDE\Dialogs\Project Options

Description:

[QC Short Description]
"Linker output" option resets after closing & reopening project

[QC Description]
When a project's "Linker output" option is changed, it resets to "Generate DCUs" after the project is closed and reopened. See Steps.

Delphi 2006 does not have this problem.
QC Entry 44770

    42948

QC#

Area

42948

IDE\Dialogs\Project Options

Description:

[QC Short Description]
Record Field Alignment Option not saved

[QC Description]
The Project Option "Record Field Alignment" (see Compiler page in Project, Options) is not saved properly. When opening a previously saved project it always reverts to 8. See Steps.
QC Entry 42948


Support Case 668452

http://caseviewer.borland.com/CaseViewer/CaseDetails.jsp?caseNumber=668452

    40074

QC#

Area

40074

IDE\Dialogs\Project Options

Description:

should remove "Windows Forms designer" from the Tools | Options dialog

    43475

QC#

Area

43475

IDE\Project Management

Description:

[QC Short Description]
Automatic conversion of .bdsproj to .dproj fails to convert $Z (DCC_MinimumEnumSize)

[QC Description]
When upgrading an BDS2006 .bdsproj file to the new-style .dproj file, the value in DCC_MinimumEnumSize is set to True, which cannot be interpreted later on during compilation.

This happens whenever the original .bdsproj file mentions the compiler option Z, with a value of 2 or 4 (the default value, 1, doesn't result in a DCC_MinimumEnumSize value in the .dproj file).
Note that compiler option A (which also needs a value of 1, 2 or 4) maps correctly to DCC_Alignment.
QC Entry 43475

    44777

QC#

Area

44777

IDE\Project Management

Description:

Child forms are not recreated together with the main form when MainFormOnTaskbar is True. Instead of being recrated the handle is destroyed, bypassing the DestroyWnd method which allows components to persist properties.


** Original description **

[QC Short Description]
ComboBox looses Items

[QC Description]
A TComboBox may loose all its Items. This is happening for all forms of the project which is automatically loaded when the IDE starts (so AutoSave Desktop needs to be enabled) and these forms had been in Code View when the desktop was saved.
QC Entry 44777

    43569

QC#

Area

43569

IDE\Project Management

Description:

[QC Short Description]
Environment variables not expanded/recognized at compile time.

[QC Description]
Setting an environment variable, such as NX, and using the environment variable in the library path, such as $(NX), is not recognized at compile time.
QC Entry 43569

[Additional Note: This is a MSBuild regression]

    43052

QC#

Area

43052

IDE\Project Management

Description:

[QC Short Description]
Switching between Debug and Release doesn't cause a recompile when project is run

[QC Description]
When you change a freshly compiled project from Debug to Release configuration, running it does not cause a recompile which would be necessary for the release settings to take effect.
QC Entry 43052

    40744

QC#

Area

40744

IDE\Code Editor

Description:

[QC Short Description]
Caret positioned one character further left of compiler error position

[QC Description]
If you compile a program with an error, the caret normally is positioned at the beginning of the faulty identifier.
With Spacely 11.0.2593.4239 the caret is positioned one character further left.
QC Entry 40744


[Additonal Note: This is an MSBUILD specific problem]

    44894

QC#

Area

44894

IDE\Code Editor\Error Insight

Description:

[QC Short Description]
Delphi 2007 IDE suddenly disappears while typing

[QC Description]
While typing "Row.LineB := #" the IDE disappears when the #-key is pressed. (Row: TStrings)
QC Entry 44894

    43597

QC#

Area

43597

IDE\Code Editor\Help Insight

Description:

[QC Short Description]
Help insight 'Object reference not set' errors with dotted filenames on search path

[QC Description]
If the uses clause contains a dotted filename that is on a project's search path but not added to the project, moving the mouse over the filename before the dot causes an 'Object reference not set to an instance of an object' error.
QC Entry 43597

    42529

QC#

Area

42529

IDE\Tool Palette

Description:

[QC Short Description]
Icon scrambling and unpredictible error messages in palette.

[QC Description]
By activating and deactivating component packages, while moving their sections up and down in the palette, I can get the icons to get scrambled (icons from a turned off set of components replacing those in the section that was below it). I can also get access violations, invalid pointer operations, priveleged instruction errors, and other random errors that often cause Delphi to crash.


SYSOP (transferred from comment)
=====================
The steps window keeps letting me add more text than it actually saves. Here's the second error dialog that produced the second data dump.


Error
---------------------------
Access violation at address 20006A04 in module 'rtl100.bpl'. Read of address FFFFFFDC.
QC Entry 42529

    41681

QC#

Area

41681

IDE\Form Designer

Description:

[QC Short Description]
Minimising D2007 whilst in undocked mode leaves forms visible

[QC Description]
Running on Vista Ultimate with the IDE in undocked mode and the vcl designer NOT embedded. Installed on a machine with BDS2006 already present and functioning correctly.

When minimising D2007 everything 'disappears' to the task bar with the exception of any open forms which remain on screen.

On about a 50/50 spilit, D2007 will restore correctly or restore without the Object inspection/Project manager/Tool Palette etc. If it fails to restore these windows a restart of the IDE is required.
QC Entry 41681

    42338

QC#

Area

42338

IDE\File Handling

Description:

When using Ctrl+Enter in the code editor to open a file, the IDE is not able to open an INC file because that extension is not found in the default filetype field in the open file dialog box. You have to manually select the inc file type to have the IDE "see" the inc file. Annoying !

It is expected to have the IDE be able to open anyfile is can find, whatever the extension is. This is specially true for inc files which are frequently used.

// Francois Piette
See also QC42338 which is probably the same issue.

// Francois Piette
Fixed in 2671

    42808

QC#

Area

42808

IDE\Code Templates

Description:

[QC Short Description]
Automated Incident Report

[QC Description]
List index out of bounds (15)

In a fresh RTM install of D2007, invoking certain code templates lead to a List Index Out of Bounds error.
QC Entry 42808

    33315

QC#

Area

33315

IDE\Code Browsing

Description:

[QC Short Description]
ctrl+shift+up/down command doesn't work in some classes with nested types.

[QC Description]
When I use nested types in classes then in special cases (really I cannot understand the causes) ctrl+shift+up/down doesn't work.
Some times catastrofic failure happens and IDE closes. This is the error stack

+ $A[20CB0BA6]{coreide100.bpl} StructureView.StructureView.TStructureViewServices.EditorViewChanged (Line 468, "StructureView.pas" + 18) + $A
+ $0[51F2A2A5]{rtl100.bpl } System.System.@CheckAutoResult (Line 18061, "system.pas" + 6) + $0
+ $19[20BF6FF3]{coreide100.bpl} EditorForm.EditorForm.TEditorViewsChangedEvent.Send (Line 4408, "EditorForm.pas" + 3) + $19

See steps.
QC Entry 33315

    43130

QC#

Area

43130

IDE\Desktop Layouts

Description:

[QC Short Description]
Under undocked mode the main Delphi window is improperly sized after a minimize/restore

[QC Description]
In undocked mode, the main Delphi window (where the main menu and toolbar live) will have its height improperly set after minimizing and restoring Delphi.

For this problem to occur, the Classic Undocked desktop must be selected, and the main Delphi window must be maximized.
QC Entry 43130

    32108

QC#

Area

32108

IDE\Desktop Layouts

Description:

[QC Short Description]
Resizing maximized editor window causes erratic behaviour

[QC Description]
When using the size grip on the bottom right corner of the editor window while it is maximized, apparently a panel is resized causing the status bar to become unusable and showing the text 'Panel2'

QC Entry 32108

    21953

QC#

Area

21953

IDE\ToDoList

Description:

[QC Short Description]
Priority information in To-Do List is lost

[QC Description]
When editing an existing ToDoList item, the priority shown in the edit dialog is incorrect. If you apply changes with this dialog, the original priority is overwritten.
QC Entry 21953

    41917

QC#

Area

41917

IDE\Help

Description:

[QC Short Description]
DEXPLORE.EXE not closed upon exit

[QC Description]
DEXPLORE.EXE reside in a memory after closing Delphi,


Merging new content help into Delphi help system will not succeed unless DEXPLORE.EXE will be restarted. Without restarting DEXPLORE.EXE help will look corrupted (no content). It could be a problem for component vendors because closing Delphi will just not be enough.
QC Entry 41917


RAID248730

    42640

QC#

Area

42640

IDE\Help

Description:

[QC Short Description]
Garbled characters within a help topics selection dialog

[QC Description]
In a help topics selection dialog, the Japanese string of a title column is garbled.
For example, when F1 key is pushed on 'ShowMessage' in an editor, the 'routine' of a 'ShowMessage routine' is garbled.
QC Entry 42640

[See #247168 - TArisawa]

    42237

QC#

Area

42237

IDE\Help

Description:

Help by F1 Doesn't work at all in object inspector for Modelling projects!!!


[QC Short Description]
Rapport d'incident automatis

[QC Description]
Impossible d'effectuer un cast d'un objet COM de type 'System.__ComObject' en type d'interface 'Borland.Studio.Interop.IManagedHelpTrait'. Cette op ration a chou , car l'appel QueryInterface sur le composant COM pour l'interface avec l'IID '{46C3FC48-A04A-369C-B79E-93C74BDE67D3}' a chou en raison de l'erreur suivante : Cette interface n'est pas prise en charge (Exception de HRESULT : 0x80004002 (E_NOINTERFACE))

Hit F1 when in the object inspector for property "since" when in model view mode.
QC Entry 42237

[SpUpdMF]

// Francois Piette
I still see this in Cogswell 2664

// Francois Piette
I still see this in Cogswell 2671

    45149

QC#

Area

45149

IDE\Unit Testing\Test Case Wizard

Description:

[QC Short Description]
No task bar entity for test case app

[QC Description]
Severity 1 - but actually highly INvisible problem!
QC Entry 45149

    43021

QC#

Area

43021

IDE\Unit Testing\Test Case Wizard

Description:

[QC Short Description]
Catastrophic failure when creating unit test

[QC Description]
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
QC Entry 43021

    41079

QC#

Area

41079

IDE\Memory Issues

Description:

[QC Short Description]
using safemm, changing selected unit in the ide causes a read-AV

[QC Description]
see steps

this one doesn't have a guaranteed-to-fail set of steps, but is relatively easy to cause. it seems to be timing-specific, so will probably change visibility depending on the speed of the pc etc. on my 1Ghz p3m i can cause this to fail within 10 seconds.

this requires the safemm memory-manager
QC Entry 41079

    42602

QC#

Area

42602

Install

Description:

[QC Short Description]
EPackageRegistrationException in module sanctuarylib.dll

[QC Description]
- See steps for complete description (only a windows 2000 problem)
QC Entry 42602

    40818

QC#

Area

40818

Install

Description:

[QC Short Description]
Delphi does not work without installing Database Features

[QC Description]
If you install Delphi and mark the "Database Features" tree as "feature will be unavailable," Delphi does not initialize properly and presents various errors on startup.
QC Entry 40818

    42247

QC#

Area

42247

Install\Registry settings

Description:

[QC Short Description]
Package load errors on startup when de-selecting some internet packages

[QC Description]
Deselecting these installer components:
BDE Components
Interbase Express
Indy
Internet Controls
Intraweb
ITE
Office Controls
Samples
Everything under Shared Files
XML Mapper

Results in these IDE load errors:
Can't load package dclwebsnap100.bpl and then the same for dclsoap100.bpl

[Maybe a good test for the automated test suite would be to deselect all of the installer components, and then start the IDE?]
QC Entry 42247

    44514

QC#

Area

44514

Install\Files

Description:

[QC Short Description]
Enterprise instead of Professional in field ProductName in the version info resource of bds.exe of the Professional edition

[QC Description]
The ProductName in the version info resource of the bds.exe in the Professional Edition is "Enterprise" and not "Professional".

Additional information:
AFAIK this was correct in the prior versions - this means the ProductName was "Personal" for a Personal Edition.
Has this something to do with the new deployment method and you have simply forgotten to put different bds.exe's into the installation files because the executables are simply the same and just the version info is different?
QC Entry 44514

    44662

QC#

Area

44662

Install\Files

Description:

[QC Short Description]
TeePrevi.dfm is missing in \lib

[QC Description]
The TeePrevi.dfm file is missing in the \lib directory. The TeePrevi.dcu is there, but not the form file.

Found in the german Delphi 2007 for Win32 Professional Version, but happens also when I install the english version.
QC Entry 44662

    22878

QC#

Area

22878

Database

Description:

[QC Short Description]
InterBase Blob output params of StoredProcs truncated in D2006

[QC Description]
The Stored Procs blob output params are truncated in D2006 to 18 characters.

18 is the default value in Param.Size property, but even if I change it to a enough greater value, Delphi 2006 truncs the returned value to 18 characters.

In Delphi 2005, the returned value are not truncated if the Param.Size is enough greater.

The same result occurs (in Delphi 2006) using dbxint30.dll or the old dbexpint.dll
QC Entry 22878

    42673

QC#

Area

42673

Database\DBExpress\TSQLConnection

Description:

[QC Short Description]
Memory leak in TSQLConnection.Open

[QC Description]
Using TSQLConnection to connect to Interbase server will cause TWideStringList memory leak.
QC Entry 42673

    42824

QC#

Area

42824

Database\DBExpress\TSQLConnection

Description:

[QA Note]
The memory leak seems to be set at a fixed amount. I can create and open several TSQLConnections and the number of widestrings reported as being created remains the same.
[/QA Note]

[QC Short Description]
DBX4 TSQLConnection Memory Leak and Debugger Fault Notification

[QC Description]
FastMM4 detect TWideStringList memory leak in TSQLConnection

when try to compile with Full debug mode get a Debugger Fault Notification
QC Entry 42824

    43141

QC#

Area

43141

Database\dbExpressCore

Description:

[QC Short Description]
mixing DBX3 and DBX4 drivers leads to crash in IDE and code

QC Entry 43141

    45565

QC#

Area

45565

Database\dbExpressCore

Description:

[QC Short Description]
Create constructor of DBXDynalink.DBXDriverLoader or of third party driver never called

QC Entry 45565

    42403

QC#

Area

42403

International\Truncation

Description:

[STRING CORRUPTION]

[QC Short Description]
First phrase in installer is too long in French

[QC Description]
When run in a French OS, the sentence on the very first screen is too long and gets truncated.
See attached screenshot for details
QC Entry 42403

    43331

QC#

Area

43331

VCL

Description:

[QC Short Description]
Taskbar button is duplicated when restarting Explorer.exe

[QC Description]
If you restart the Explorer.exe (taskbar) the taskbar button will be duplicated, so you have the TApplication.Handle and the MainForm on the taskbar.
QC Entry 43331

    37537

QC#

Area

37537

VCL

Description:

[QC Short Description]
Form.ScreenSnap handling is wrong if Windows Taskbar is docked to left or top of the screen

[QC Description]
If Taskbar is docked to the left side of the screen, Delphi forms still snap to the edge of screen, instead of to the edge of Taskbar. Similarly for when Taskbar is docked to top.

This is the method which contains the error (comments are mine):

procedure TCustomForm.WMWindowPosChanging(var Message: TWMWindowPosChanging);
...
HandleEdge(x, Left, Monitor.WorkareaRect.Left); // last param should be 0!
HandleEdge(y, Top, Monitor.WorkareaRect.Top); // last param should be 0!
...
end;
QC Entry 37537

    45745

QC#

Area

45745

VCL

Description:

[QC Short Description]
Vista Modal Dialog flashing broken in Update Patch

[QC Description]
The update breaks the modal dialog behaviour in that it no longer flashes when clicking outside a modal dialog.

Since XP if a modal dialog is open and you click outside the modal dialog on the application form, the dialog flashes and a sound is played to indicate there is a modal dialog open.

The update patch breaks this behaviour.

The RTM version does not exhibit this problem, is was introduced in the update patch.
QC Entry 45745

    36283

QC#

Area

36283

VCL\Additional Controls\Action Bar Controls

Description:

[QC Short Description]
TCustomizeDlg is not localized

[QC Description]
TCustomizeDlg is not localized in Japanese edition Delphi2006. However, it was localized in Delphi6.
QC Entry 36283

    43334

QC#

Area

43334

VCL\Core VCL Classes

Description:

[QC Short Description]
IDE keeps focus if project MainFormOnTaskBar is False

[QC Description]
I am seeing a strange new behavior with the new forms and vcl posted to binaries on 3/22 if MainFormOnTaskBar is set to False.

When a project is run from the IDE, after the application displays for a moment the IDE pops in front of it. This is caused by the fact that the IDE has focus -- not the project app -- and if anything under the mouse pointer causes the IDE to display a tooltip.

If I revert back to the RTM forms and vcl, this behavior does not occur because the project app gets focus when run.

Some notes:

- The first time I run an app after starting the IDE, it stays in front even though it does not have the focus. Thereafter all runs, even when opening and running a different app, the IDE will come to front if triggered by a tooltip.

- A simple new project with no controls does not exhibit this behavior because MainFormOnTaskBar is set True. If I change this to False, then it does exhibit.
QC Entry 43334

    43984

QC#

Area

43984

VCL\Core VCL Classes\TForm

Description:

[QC Short Description]
Application set to start minimized will behave erratically if MainFormOnTaskbar := True for non-Vista Windows

[QC Description]
When an application is set to start up in the wsMinimized state, it will have some very strange behaviors:

1) It will start like if it were running in Windows 3.1, i.e., instead of showing in the taskbar it will show a minimal window;
2) After restoring that window, it cannot be properly minimized to the taskbar: clicking the minimize button has no effect.

As shown in the steps, this can be seen on a simple blank VCL forms application.

Notes:
1) This only happens on Non-Vista (e.g.: XP, 2003);

2) This only happens when the default "Application.MainFormOnTaskbar := True;" is used; changing it to "False" will no longer exhibit the problem;

3) This happens regardless of using themes or not: tested in both configurations.
QC Entry 43984

    44910

QC#

Area

44910

VCL\Core VCL Classes\TApplication

Description:

[QC Short Description]
BDS 2006 compiled applications do not get their taskbar button selected on startup with the latest vcl bpl files for Delphi 2007

[QC Description]
BDS 2006 compiled applications do not get their taskbar button selected on startup with the latest vcl bpl files for Delphi 2007
QC Entry 44910

    42374

QC#

Area

42374

VCL\Core VCL Classes\TApplication

Description:

[QC Short Description]
Hiding main form changes the caption of the task bar icon

[QC Description]
If you hide the main form and show another form, the caption of the task bar
icon changes. See attached example.
QC Entry 42374

    46202

QC#

Area

46202

VCL\Core VCL Classes\TApplication

Description:

[QC Short Description]
Application.BringToFront not working as expected

[QC Description]
I have an application that controls another applicationusing SendKeys in order to get data from some dialogs. During this process of course this other application must be brought to front. At the end of the process my app calls Application.BringToFront to bring my app back.

BringToFront is not working in build 2686, and frankly I'm not sure when it was broken. The setting for MainFormOnTaskBar makes no difference. (edit: Actually, on the test app, MainFormOnTaskBar DOES make a difference -- the bug only exhibits when it is set to TRUE. However, the setting makes no difference in my production app.).


I also tried Application.MainForm.BringToFront, which didn't fix it either.

I get the same problem on both XP and Vista.

I have included a simple test application that exhibits the problem.
QC Entry 46202

    43007