Borland®
Shop
Products Downloads Services Support Partners News & Events Company Community
Delphi
Documentation
Support

Additional Resources
Technology Partners
Books
Community

 DELPHI DEVELOPER SUPPORT

Delphi 4 fixes and known issues
IDE SECTION

Areas of concentration under: ide


Area: ide\

Reference Number: 638 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/5/98
Severity: Serious
Type: Documentation Problem

Problem:

Selecting help for the dialog for File|Open of a 
nonexistent file produces a 'topic does not exist' 
error.

Steps:

File|Open, type in name zyz.bbb to open dialog.
Click help on resulting "requested file does not 
exist" dialog.
Note error.

The Help button needs to be removed.

Area: ide\

Reference Number: 438 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 4/15/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Tab order incorrect in Tools | Environment Options

Steps:

Select the Preferences page. Order is currently:

OK
Cancel
Help
Tab
Autosave options
Form designer
Shared repository
Desktop Contents
Compiling and Running

Color, Browser and Explorer pages are also wrong. 
Let me know if you need more on this

Area: ide\

Reference Number: 462 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 5/1/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Tools | Configure Tools

When two tools have the same name, the second 
tool does not take the correct parameter. It takes 
the one from the first tool.

I think when we check for a duplicate pickletter, we 
could also check for a duplicate name.

I use notepad to reproduce.

Steps:

- start Tools | Configure Tools
- click Add
- enter 'test' as title
- click Browse and select Notepad.exe in the 
windows directory
- enter 'one' as parameter
- click ok
- click Add
- enter 'test' as title
- click Browse and select Notepad.exe in the 
windows directory
- enter 'two' as parameter
- click ok
- click close
- select first 'test' in Tools menu
-- > check the parameter: one -- > This is 
correct
select the second 'test' in Tools menu
-- > check the parameter: one -- > this is wrong, 
should be two
 

Area: ide\

Reference Number: 481 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 5/8/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

There is an odd painting problem in the control used 
to demonstrate color syntax highlighting found on 
the Environment Options dialog Colors page 

Steps:

-Environment | Options | Color(s)
-Select Ocean from the Color SpeedSetting
-Move the Environment Options dialog down
 (so the Syntax highlighting example is invisible ) 
and
 then move it back up the syntax highlighting
 example gets repainted.

Note the 1 or 2 pixel wide line around the syntax
example that does not get repainted correctly

Area: ide\

Reference Number: 600 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 5/29/98
Severity: Infrequently Encountered
Type: Documentation Problem

Problem:

In Project Options under Applications tab, edits for 
Title and Help File aren't quite left aligned.

Area: ide\add component template

Reference Number: 323 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/18/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

When installing a component that contains a form, 
and that form contains a component that will be 
installed at the same as the target component, the 
load of the form fails.

If one isn't carefull with the answers to the 
messages boxes, the uninstalled component will be 
removed from the form.

This didn't happen in Delphi 3.0, since D3 didn't 
attempt to open the units in the editor when one 
added them to a package.

Area: ide\class completion

Reference Number: 743 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/15/98
Severity: Serious
Type: Crash

Problem:

When using the Code Explorer to insert new items 
an Access violation results if no data is provided (if 
you just hit enter in the edit box).  This only happens 
in some cases where CE sees the class as 
incomplete but cannot complete the class.

Steps:

-Open the attached file
-In the TDataServer class, hit Shift+Ctrl+C
result:
  "Could not find source location to add method. 
END or initialization not found in unit source"
-In CE, right-click on TDataServer class and select 
new
-Hit enter key without typing anything for the new 
name

result:
 Access violation at address 050392BC in module 
'VCLIDE40.BPL'. read of address 00000000

...and then...
 Expected an identifier but < found

Area: ide\class completion

Reference Number: 370 (Published: 11/30/98)
Status: Deferred to Next Rel
Date Reported: 3/10/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Parameter  problem with Class completion.

Class completion changes a parameter declared as 
a longint to integer.

The compiler does not complain (because they are 
one and the same) but it should be consistent.

Area: ide\class completion

Reference Number: 498 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/11/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Class completion can incorrectly insert a field in an 
inherited class when the field already exists in an 
ancestor.

Steps:

  Foo1 = class(TObject)
  protected
   FNumber : Integer;
  end;

  Foo2 = class(Foo1)
  protected
   property Number : Integer read FNumber write 
FNumber;
  end;

Invoking class completion in Foo2 results in

  Foo2 = class(Foo1)
  protected
   property Number : Integer read FNumber write 
FNumber;
  private
    FNumber: Integer;
  end;

This behavior really becomes a problem when Foo2 
is creating lots of properties whose fields reside in 
Foo1.

Area: ide\class completion

Reference Number: 561 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/25/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Completing a write only property will add a read 
clause.

Area: ide\class completion

Reference Number: 698 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/10/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

When attempting to finish a property with no trailing 
semicolon incorrect code is generated if a "get" 
procedure for the property already exists.
If the "get" procedure does not exist then the 
correct error 'Expected ; found END" is generated

Steps:

a) 
//Add a procedure  procedure GetAsSize;
//ad Ctrl-Shift-C
type
  TForm1 = class(TForm)
  private
    { Private declarations }
  public
    { Public declarations }

    procedure GetAsSize;

  end;

b) Now add a property ABOVE the procedure in the 
public OR private sections 
type
  TForm1 = class(TForm)
  private
    FAsSize: integer;
    procedure GetAsSize;
    procedure SetAsSize(const Value: integer);
  private
    { Private declarations }
    property AsSize:integer
  public
    { Public declarations }

    procedure GetAsSize;

  end;
//Now press Ctrl-Shitf-C
c) and you get 
  TForm1 = class(TForm)
  private
    FAsSize: integer;
    procedure GetAsSize;
    procedure SetAsSize(const Value: integer);
  private
    { Private declarations }
    property AsSize:integer
  public
    { Public declarations }

    procedure GetAsSize read FAsSize write 
SetAsSize;

  end;

NOTE the incorrect insertion.

Area: ide\class completion

Reference Number: 1327 (Published: 10/24/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 9/14/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

The class is never seen as complete and multiple 
handlers keep being generated if one of the event 
handlers in the class has a forward declaration of a 
local method.

Area: ide\class completion

Reference Number: 527 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/19/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

When using the Code Explorer to edit or insert 
values only the "Enter" key submits the edit.

Steps:

-File | New Application
-Make the Code Explorer the active window
-Select the node for TForm1
-Right Click, pick New ins (same behavior for 
Rename)
-Type a new procedure name
-Instead of hitting enter, select another node in CE 
with the mouse

result:
The edit action is ignored as if hitting "Escape"

expected result:
In Windows Explorer selecting another node after 
an edit is 
the same as hitting "Enter"

Area: ide\class completion

Reference Number: 576 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/26/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Renaming of a property successfully changes the 
name in all places except the setter

Steps:

-Add the following to a class declaration
   property X: integer;
-Shift+Ctrl+C
-In the Code Explorer highlight X, right-click 
Rename
-Enter new name < Y > 

result:
Names change correctly everywhere except in 
setter
   FX := Value;

Area: ide\class completion

Reference Number: 1027 (Published: 10/27/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 7/23/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Class completion adds unwanted methods.

Area: ide\class completion

Reference Number: 1101 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/12/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Class completion generates non-compilable code if 
a property is declared in a class without scope 
specifiers (i.e., if you accept the default of public)

Area: ide\class completion

Reference Number: 1165 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/20/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Class completion generates invalid code for the 
following class definition:

  MyClass=class
    function foo1: string;
    property Int1: integer read GetInt1;
    property Bool1: boolean;
  end;

Problems:

 1) private variables follow Get methods and are 
thus out of scope
 2) two private sections generated

Area: ide\class completion

Reference Number: 1297 (Published: 10/24/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 9/10/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

code navigation doesn't work correctly in certain 
cases.

submitted by user via web


Steps:

1. Open the system unit.
2. In the interface section of the code, put the 
editor's cursor on the declaration for the 
_FindDynaClass procedure.
3. Press ctrl-shift-down to go to the body.
4. Now press ctrl-shift-up to go back to the 
declaration in the interface section.

Result:
The editor will not go back to the declaration.

Area: ide\class completion

Reference Number: 1311 (Published: 10/24/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 9/11/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Code navigation

Using Ctrl+Shift+Up from within TObject.Free does 
not jump to the declaration in the class definition. 
Intriguingly, it takes you to the declaration of 
Destroy instead. Seems to work OK for some 
class/functions containing asm blocks but not 
others. E.g. works for NewInstance, but not 
FreeInstance.



Area: ide\class completion

Reference Number: 885 (Published: 12/18/98)
Status: Deferred to Next Rel
Date Reported: 7/3/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Using code completion with a property of type 
TStrings generates the wrong 'setter' code.

procedure TForm1.SetFred(const Value: TStrings);
begin
  FFred := Value;
end;

Should this not be fFred.Assign(Value)  ?

Steps:

1.  New Application
2.  Declare a property  Fred : TStrings;
3.  Hit Ctrl-Shift-C
4.  Check the generated Setter code

Area: ide\class completion

Reference Number: 1130 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/17/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:


Given this declaration

TA = class
  constructor Create;
  property i: integer read FI write SetI(var j: integer);
end;

Activate class completion, get

TA = class
  constructor Create;
  property i: integer read FI write SetI(var j: integer);
  private
    FI: integer;
    procedure SetI(const Value: integer);
  end;

Note that the argument to SetI has become 'const'


Area: ide\class completion

Reference Number: 334 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/21/98
Severity: Commonly Encountered
Type: Unknown

Problem:

Class completion:
when the cursor is in the interface part and a 
method/property is deleted (in the interface part), 
delete the implementation in the implementation part 
too - if its body is empty. Current behaviour is to 
re-add the old declaration.

Area: ide\class completion

Reference Number: 466 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 5/5/98
Severity: Infrequently Encountered
Type: Basic Functionality Failure

Problem:

Class is not seen as complete after an attempt to 
have a class declaration generated for an 
implementation procedure

Steps:

-File | New Application
-Double click on the form so you get an empty
 FormCreate procedure
-Paste the following code in the implementation 
section
 directly above the empty FormCreate body

       procedure TForm1.bar;

-Note in ME both "bar" and "FormCreate" are 
incomplete (bold)
-Go up to class declaration and enter Shift+Ctrl+C
result:
the declaration for bar is completed but multiple 
implementations for FormCreate are continually 
re-generated

Area: ide\class completion

Reference Number: 598 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 5/29/98
Severity: Infrequently Encountered
Type: Basic Functionality Failure

Problem:

If a class doesn't specify visibility then during 
completion of a property the class is completed in 
an order that will not compile.

Steps:

-Shif+Ctrl+C on the following ( note no published, 
public or private, etc.)
   TFoo = class
       property A: Integer read FA write SetA;
   end;

result:
the class looks like...

 TFoo = class
  property A: Integer read FA write SetA;
  private
    FA: Integer;
    procedure SetA(const Value: Integer);
 end;

Area: ide\class completion

Reference Number: 512 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/14/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Class completion doesn't check for conditional 
defines

Steps:

-Use Shift+Ctrl+C on the following class

TMyClass = class
  {$ifdef foo}
  procedure foo;
  {$endif }
  end;

result:
the procedure is generated whether foo is defined 
or not

Area: ide\class completion

Reference Number: 1411 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 9/23/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

The IDE shuts down when attempting to use Class 
Completion with a procedure with more than 1024 
characters in the parameter list 

Area: ide\code browsing

Reference Number: 590 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/28/98
Severity: Serious
Type: Crash

Problem:

Code browsing fails on new project - until it is 
saved.

Steps:

1)  File | New Application
2)  Ctrl+click on TForm1 to use code browsing.  
Note that you cannot jump
3)  File | Save All.  Ctrl+click on TForm1 and notice 
that it works now.

Area: ide\code browsing

Reference Number: 589 (Published: 10/15/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 5/28/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Line number does not change in the status bar 
when you jump inside the same unit.

Steps:


New application, save it (must save to enable code 
browsing)
in the Var section
Ctrl-left click on TForm1;

Notice the cursor jumped to the Type section, but 
the line number in the status panel did not change.

Area: ide\code browsing

Reference Number: 1409 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 9/23/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

In STD SKU, the Code browsing icons are still on 
the upper right corner of the editor.


Fly over works(fly over "location info" at design 
time) - should fly over even work?
But there is a lengthy pause when you fly over, 
seems more so than Pro/CSS.

[BCB UI]

Steps:

Code Browsing is a feature not offered in the STD 
SKU.

we need to remove the icons or add the feature

Area: ide\code browsing

Reference Number: 1132 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/18/98
Severity: Commonly Encountered
Type: Unknown

Problem:

User suggestion: Make ctl-click invoke help on a 
token if it is something that cannot be browsed (a 
reserved word, for example).

Area: ide\code browsing

Reference Number: 1380 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 9/22/98
Severity: Infrequently Encountered
Type: Basic Functionality Failure

Problem:

Browsing to a symbol defined in a file open in two 
edit windows always focuses and moves the cursor 
to the symbol definition in the first edit window.

Area: ide\code browsing

Reference Number: 487 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/10/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

The module browser doesn't work for selected 
(highlighted) text.

Steps:

start delphi32
View | Units | Unit1
Hold mouse cursor over 'Windows' in uses clause 
and press < CTRL > 
Notice underlining
Double-click 'Windows' and hold mouse cursor over 
Windows and press < CTRL > 
Result: no underlining

Area: ide\code completion

Reference Number: 223 (Published: 7/22/98)
Status: Fixed in Version 4.0
Date Reported: 3/6/97
Severity: Serious
Type: Basic Functionality Failure

Problem:

The fly-over hintwindow for kibitzing only displays 
one line which cannot show the entire parameter list 
for routines which take more than 4 or 5 parameters 
(i.e., a large number of Win32 APIs)

Area: ide\code completion

Reference Number: 287 (Published: 11/11/98)
Status: Deferred to Next Rel
Date Reported: 1/22/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

If you have the Kibitz window open and you switch 
editor tabs using Ctrl-Tab the kibitz window does 
not get closed.  This also was true in D3.

Area: ide\code completion

Reference Number: 683 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/10/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

When invoking Code completion in the context of 
default parameters,type matching of  applicable 
values is not correct.

Steps:

given:

const
  ReallyBigInt =$7FFFFFFFFFFFFFFF;
  BigInt = $7FFFFFFF; 
  BigNegativeInt = $80000000;
  BigWord = $FFFF;

and
  
procedure Gungla(W: Word = < --invoke code 
compeletion.

you are allowed to chose values which don't fit in a 
word, in which case the code we've helped write 
won't compile (constant expression violates 
subrange bounds)

Area: ide\code completion

Reference Number: 445 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 4/20/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

When you're in a CASE statement that uses an 
enumeration as the case variable and you pick a 
constant for a case using the drop-down list (Ctrl- < 
space > ), the cursor jumps to the left-most 
column instead of inserting at the proper indentation 
level.

 

Area: ide\code completion

Reference Number: 455 (Published: 10/15/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 4/27/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Code completion window doesn't go away when 
you grab the editor titlebar and move the editor. 

Steps:

File | New Application.
Double click form.
type "Self."
move editor window.

Area: ide\code completion

Reference Number: 488 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/10/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Tooltip symbol insight doesn't work for selected 
(highlighted) text.

Steps:

start delphi32
Tools | Environment Options | Code Insight
Make sure Tooltip Symbol Insight is on
View | Units | Unit1
Hold mouse cursor over the TForm string and get 
declaration tooltip
Now double-click TForm to highlight it
Hold mouse cursor over the highlighted TForm
Result: no tooltip

Area: ide\code editor

Reference Number: 817 (Published: 10/19/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 6/18/98
Severity: Serious
Type: Crash

Problem:

AV's and crash of the IDE after you Cancel a 
"Open File at Cursor" command in a second Edit 
window. AV then happens when you close the 
second edit view and attempt to Run the 
application

Steps:

-File | New Application
-Double click on Form so you are in Code Editor
-Right-click, "New Edit Window"
-(In second edit window without moving cursor), 
Right-click "Open File at Cursor"
-Hit the Cancel button in the Open File dialog
-(Still in second edit window), Right-click, "Close 
Page"
-Back in first edit window add some text after final 
".end" to generate a warning
-Run | Run

result:
multiple AV's whenever you access the menubar
Access violation at address 200DD3AA in module 
'CorIde40.bpl' Read of address
6C6F62E1
two debugshell logs are attached

Area: ide\code editor

Reference Number: 663 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/8/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

Syntax highlighting doesn't distinguish between 
when a certain word is supposedly reserved and 
when it's not

Steps:

The message reserved word is correctly displayed 
as a reserved word in the editor when used in the 
declaration of a message handler.

However it is incorrectly displayed as a reserved 
word when used elsewhere. For example in an 
exception handler, you can access the Message 
property of the trapped exception, but it is displayed 
by the editor as a reserved word.

Clearly the editor has the capability of displaying 
one word as a reserved word or as an identifier, 
since the read and write words are displayed 
differently depending upon whether they are found 
in a property declaration or not.

The following unit shows the issue:

unit Unit2;

interface

type
  TTest = class(TWinControl)
    procedure WMTest(var Msg: TMessage);
      //Message should be bold here (it is)
      message wm_User;
    //Read & write should be bold here (they are)
    property X: Byte read FX write SetX;
  private
    FX: Byte;
    procedure SetX(const Value: Byte);
  end;

implementation

procedure TTest.SetX(const Value: Byte);
begin
  FX := Value;
end;

procedure TTest.WMTest(var Msg: TMessage);
var
  //Read & write should not be bold here (they 
aren't)
  //Message should not be bold here (but it is)
  Read, Write, Message: Byte;
begin
end;

end.

Area: ide\code editor

Reference Number: 1139 (Published: 10/28/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 8/19/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

With persistent blocks turned on, when you put the 
cursor on a command in the editor and press F1, if 
anything else is highlighted, the highlighted text gets 
searched instead.

Steps:

1. Turn on persistent blocks in the editor
2. Highlight a block of text.
3. Move the cursor to a location outside of the 
marked text and try to use F1 on any identifier.
// The IDE attempts to search on the highlighted 
text not the text at the cursor location.

Area: ide\code editor

Reference Number: 262 (Published: 7/17/98)
Status: Fixed in Version 4.0
Date Reported: 9/26/97
Severity: Commonly Encountered
Type: Crash

Problem:

When a SQL statement is loaded in the normal 
code editor window, I get an access violation when 
I try to change the TQuery component name for 
that SQL statement.  This only happens after you 
have closed the project and reopened it.
If I delete the dsk file then the project comes up 
without the sql strings in the editor. This eliminates 
the problem.

Steps:

Drop a TQuery on a form, click on the SQL property 
editor and then click on the 'Code Editor...' button 
to load it into the code editor. Close all files for this 
project (File|Close All).  Reopen the project (the SQL 
window should still be in the code editor) and try to 
change the TQuery component name and the error 
should be generated.


Access Violation 0043F40D in DELPHI32.EXE.  
Read of address FFFFFFFF


Area: ide\code editor

Reference Number: 305 (Published: 8/4/98)
Status: Deferred to Next Rel
Date Reported: 2/9/98
Severity: Commonly Encountered
Type: Crash

Problem:

[Search and Replace]

Replacing a character with the upper case 
equivalent of that same character in a marked 
block hangs the IDE if the direction is backwards 
and you don't check the "Case Sensitive" 
checkbox.

Steps:

* File | New Application
* Goto the source for Unit1
* Select from right to left the word Windows (in the 
Uses list)
* Search | Replace
* Text to find: n
* Replace with: N
* Direction: Backward
* Scope: Selected text
* Click on Replace All
// Need to terminate IDE through task manager

Area: ide\code editor

Reference Number: 744 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/15/98
Severity: Commonly Encountered
Type: Crash

Problem:

A write-only property declared as 'stored false' 
causes Delphi 
to crash when the property is another component.

  TMyClass = class( TComponent );
    ...
    published
      property MyInteger: integer write SetMyInteger 
stored false;  < < this is OK
      property MyObjProp: TComponent write 
SetMyObjProp stored false;  < < this is NOT
  end;

MyObjProp produces AV's and crashes Delphi 3 
when TMyClass is on a TForm
and you try view the dfm in the IDE.  The 
documentation indicates that 
properties declared with 'stored false' do not 
participate in streaming 
and that this flag is checked first before any attempt 
is made to stream 
the property value.  Adding 'read FMyObjProp' 
eliminates the problem.  

It looks like the IDE is not treating 'stored false' 
exactly the same as the compiler.  

Steps:

this unit does the trick


unit Component1;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, 
Controls, Forms, Dialogs;

type
  TComponent1 = class(TComponent)
  private
      procedure SetMyObjProp(c: TComponent);
    { Private declarations }
  protected
    { Protected declarations }
  public
    { Public declarations }
  published
    property MyObjProp: TComponent write 
SetMyObjProp stored false;
    { Published declarations }
  end;

procedure Register;

implementation

procedure 
TComponent1.SetMyObjProp(c:TComponent);
begin
end;

procedure Register;
begin
  RegisterComponents('Samples', [TComponent1]);
end;

end.

Area: ide\code editor

Reference Number: 329 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/20/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

The replace logic doesn't appear to respect the 
"selected text" setting when the block doesn't span 
a full line. For instance, if you paste this line into the 
Delphi editor

  Result := MessageDlg(Msg, AType, AButtons, 
HelpCtx);

and mark the word AButtons and do a replace "t" 
with "q" in selected text, the whole line changes.

The work-around, of course, is to do the edit by 
hand.


Area: ide\code editor

Reference Number: 436 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 4/15/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

The syntax highlighter gets confused by this 
construct:

        (*)


Compiler does fine with it, only the syntax highlight it 
incorrect 

Area: ide\code editor

Reference Number: 482 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 5/8/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Changing to Terminal or larger sized fonts causes 
paint problems.

Steps:

1) Tools | Environment Options
2) Display Tab
3) Set Font to Courier New 10
4) Close Dialog
5) Bring up Code Editor
6) Repeat 1-4 except choose Terminal

Take a look at text. It is displayed with letters cut 
off. Also adding to the end of a line causes odd 
painting.

Area: ide\code editor

Reference Number: 493 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/11/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

DPR file is badly highlighted
by Delphi 4:

Steps:

Start delphi32 dcc32774.pas
Result:
  Syntax highlighting for 'in' for line:
B in 'B.pas';
isn't on

  Syntax highlighting for 'begin' isn't on.

Area: ide\code editor

Reference Number: 1149 (Published: 10/28/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 8/20/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Having a forward declaration nested in an event 
method prevents the IDE from being able to 
generate further event methods.

Area: ide\code editor

Reference Number: 359 (Published: 11/16/98)
Status: Deferred to Next Rel
Date Reported: 3/4/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

In the editor in Brief mode, the keystrokes
  Alt+M Ctrl+End
ought to start the selection mode, and then extend 
the selection to the bottom of the screen.

What happens is that the Ctrl+End does not extend 
the slection to the bottom of the screen, but instead 
makes a null selection which is not visible.
Pressing Alt+M again does not turn *on* the 
selection mode, but turns it off (which would be 
correct if Ctrl+End actually highlighted a selection).

Same thing happens with Alt+L and Alt+C 
(line-selection mode and column-selection mode).

Steps:

1. Open a text file
2. Set the Brief mode in the editor
3. Go to the middle of the text file.
4. Press Alt+M to start a selection.  See a 
1-character highlight
5. press Ctrl+End to go to the bottom of the screen.  
The cursor goes to the bottom of the window, but 
the highlight is gone.  The highlight should have 
extended to the bottom of the window.

Area: ide\code editor

Reference Number: 511 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/14/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Deleting the only unit name from a uses clause, and 
then trying to add it back in via Use Unit, causes 
the unit name to appear in a weird location.

Steps:

1)  File | New Application
2)  File | New Form
3)  Click on Form1
4)  File | Use Unit..., Unit2, OK
5)  In Unit1.pas, delete "Unit2;" from the line "uses 
Unit2;"
6)  File | Use Unit..., Unit2, OK.
Notice that a "uses Unit2;" is added above the line 
"uses ;"
7)  Project | Compile Project1 and notice the error 
reported on the line with "uses ;", and a Fatal Error 
as a result of that.

Area: ide\code editor

Reference Number: 1129 (Published: 10/28/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 8/17/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

this concerns the ide under d4, which worked fine 
from d1 to d3.  
using the brief default key mapping, < alt > < n 
> & < alt > < - > goto
the next and previous pages in the textual editor, 
respectively.
 < alt > < n > still works fine, but < alt > < - 
> does not scroll through
the previous unit page.  

Steps:

just try it in the editor under the brief default key 
mapping,
make all editor properties brief by default.

Area: ide\code editor

Reference Number: 889 (Published: 12/18/98)
Status: Deferred to Next Rel
Date Reported: 7/4/98
Severity: Commonly Encountered
Type: Documentation Problem

Problem:

When default keystroke mapping is selected, the 
option used to select it forgets to highlight the fact

Steps:

In Delphi 4, choose Tools | Environment Options... | 
Display

Change keystroke mapping from whatever it is to 
Classic and press OK

Now choose Tools | Environment Options... and 
observe that Classic is indeed selected.

Change the keystroke mapping to Deafult and 
press OK

Now choose Tools | Environment Options... and 
observe that no keystroke mapping appears to be 
selected

Area: ide\code editor

Reference Number: 327 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/20/98
Severity: Commonly Encountered
Type: Unknown

Problem:

Search/Replace functionality:

The search dialog should automatically ignore the 
"Whole words only"  option if the search phrase 
does not conform to the search engine's definition 
of a word.

For instance, with the way it's working now, 
searching for "TForm1." will always yield a "not 
found" when "whole word" is selected.


Area: ide\code editor

Reference Number: 343 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/23/98
Severity: Commonly Encountered
Type: Unknown

Problem:

In the text editor, I'm addicted to the classic 
keyboard layout. However, I never use the Ctrl+ < 
letter > commands to do cursor movement, and I 
often press Ctrl+C, etc, when I want to do clipboard 
operations - instead the cursor moves. 

I would like to have the option to turn on the default 
Windows clipboard shortcuts when when in 
classical-mode. This could be a seperate option 
(Registry only, if you don't want to add it to the UI). 

Ideally we would be able to modify all keyboard 
shortcuts.

Area: ide\code editor

Reference Number: 350 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/25/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Default IDE keymapping.

If you are replacing a highlighted selection that 
exceeds a visible page in length with a single line, 
the editor does not redraw properly.

Area: ide\code editor

Reference Number: 399 (Published: 12/3/98)
Status: Deferred to Next Rel
Date Reported: 3/26/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Refreshing problem in the editor window.

Steps:

1) Open a large source file (db.pas for example)
2) Press the following keys in the exact order 
   a) Ctrl + Home
   b) ArrowDown
   c) Shift+PageDown
   d) Do not press anything just look on the last 
selected line.
      If it is no text in this line, change the size of 
editor window 
      and repeat all previous steps. 
   e) If you see the text in the last selected line than 
remember it
   f) Press Enter key - the selection is deleted but 
      the top line of editor window (the last line of 
selection) 
      is not refreshed. 
   g) press ArrowUp - it refreshes now.

Area: ide\code editor

Reference Number: 453 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 4/26/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Tooltips on the toolbar buttons show keystrokes 
bound to the commands, except when the 
keystroke is a keypad key. 

Steps:

1 Set the editor keymap to Brief mode
2. Put the mouse cursor over the Cut button on the 
toolbar.  This should pop up a string that says "Cut 
(Keypad +)", but it says "Cut ()".

Same is true for the Copy button

Area: ide\code editor

Reference Number: 631 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/4/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Ifthe Code Editor Font Size is set to 30, the Caret is 
inside the gutter when it is all the way to the left.

Steps:

1.  Tools | Environment Options.  Go to the Editor 
Tab and change the Font Size ComboBox to 30. 
(happens with at least Courier New, and Terminal 
Type)

Area: ide\code editor

Reference Number: 662 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/8/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Syntax highlighting doesn't work correctly with array 
properties defined with two separate indexes

Steps:

If you add the following into a class (say a form 
class in a form unit) the compiler correctly 
emboldens the read and write words, since they are 
reserved words when used in the property 
definition:

    property X[A,B:Byte]: Byte
      read GetX write SetX;

However if you redefine the property like this, then 
the read and write words are left in the syntax 
coluring for identifiers, which is incorrect:

    property X[A:Byte;B:Byte]: Byte
      read GetX write SetX;

Area: ide\code editor

Reference Number: 1123 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/14/98
Severity: Infrequently Encountered
Type: New Feature

Problem:

It would be really nice to be able to re-arrange the 
tabs in the code explorer when needed (like via 
drag & drop).  

Area: ide\code editor

Reference Number: 1432 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 9/25/98
Severity: Infrequently Encountered
Type: New Feature

Problem:

Add Cut, Copy, Paste menu items to editor context 
menu when text is selected.

Steps:

1. Select a word in the IDE
2. Right-click on the word

It now unselects the word.

Area: ide\code explorer

Reference Number: 1035 (Published: 8/4/98)
Status: Fixed in Version 4 Update Pack 1
Date Reported: 7/27/98
Severity: Critical
Type: Crash

Problem:

Declaring a function or procedure with more than 
1024 characters in the parameter list whenever the 
Code Explorer is visible will cause Delphi 4 to abort 
without any apparent error messages.  It appears 
that the Code Explorer has a limitation that should 
not exist.

Area: ide\code explorer

Reference Number: 931 (Published: 8/4/98)
Status: Fixed in Version 4 Update Pack 1
Date Reported: 7/10/98
Severity: Serious
Type: Crash

Problem:

The IDE crashes after modifying the project source.

Steps:

1. File | New Application
2. Project | View Source
3. Add the line Application.Title := z; after the 
"begin" in the project source.
4. File | New Application and do not save any 
changes
// AV occurs.

Area: ide\code explorer

Reference Number: 1487 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 10/2/98
Severity: Serious
Type: Crash

Problem:

The CodeExplorer hangs while parsing a large file 
and then renaming a member of the _previous_ unit 
(which it is still showing).

Steps:

1. Playing with the CodeExplorer, I loaded the 
ultimate test as usual, the Windows.Pas file. 

2. As usual it was horrible slow at loading the huge 
file and the CodeExplorer still showed the contents 
of my small form unit, that had been active. 

3. I get the Windows text file in the editor, while the 
CE is still showing my methods in the form unit. 

4. Clicking in CE navigates to the corresponding 
line-number in Windows - strange, but Ok. 

5. Then if I try to _rename_ one of my methods 
while the CE is still parsing  Windows.Pas in the 
background, Delphi hangs completely. 

6. I waited for 5-6 minutes, then closed it down (with 
the Task Manager). This was on a P60, 64MB, 
Win95a machine.

 > > > > > > Additional steps from Craig F 
> > > > > > 
-File | New Application
-File | Open, browse to Windows.pas
-Before windows.pas finished parsing
 type a new procedure into Unit1
-click on Windows.pas tab in Code Editor to re-start 
parsing
-In Code Explorer, right click rename the procedure
-type a new name and hit Enter key

Results first test:
  Invalid class typecast
  Expected ':' but the end of the file found

Results second test:
  Access violation at address 40003BE4 in module 
'Vcl40.bpl'.
  Read of Address FFFFFFF2

Area: ide\code explorer

Reference Number: 523 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/18/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Pressing '*' on large files is extremly slow

Steps:

1) Open the included file with everything marked in 
the options as being collapsed.
2) Open the interfaces
3) Press '*'

Area: ide\code explorer

Reference Number: 524 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/18/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

There is a repaint failure when the Code Explorer 
window needs to be repainted and is in a 
horizontally scrolled state

Steps:

-Size Code Explorer window so that it gets a 
horizontal scroll bar
-Make sure there is some white space at the bottom 
of the CE
 (make sure there is no vertical scroll bar )
-Scroll the CE all the way to the right
-Move the CE window around (off and back onto 
the visible area)

note:
the blank area after the end of the tree is not 
repainted correctly
(helps to see the problem if you change code editor 
color to a non-white background)

Area: ide\code explorer

Reference Number: 562 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/25/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Code explorer does not parse .inc files. Since they 
contain valid source I think the code explorer 
should parse them.

Steps:

New Application
File/New... Text. Add declarations etc. - save as 
"Unit1.inc"
Note that Unit1.inc is properly syntax higlighted.

In Unit1.pas, {$include Unit1.inc}

Verify that the project compiles and runs properly.

Explorer is empty when viewing Unit1.inc though.

Area: ide\code explorer

Reference Number: 319 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/17/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Unit explorer does not position correctly after an 
item is selected.

Steps:

Open a unit that has a lot of code in the editor.
Scroll to the bottom and select an item.
Explorer will position relative to the top of the 
treeview.

[Seems to be a request for the newly selected area 
in the module explorer to always be at the top] 

Area: ide\code explorer

Reference Number: 363 (Published: 11/16/98)
Status: Deferred to Next Rel
Date Reported: 3/4/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

In the module explorer, the popup menu on the 
Uses clause shows you can "View Editor" but 
doesn't actually do anything.  It should take you to 
the beginning of the uses clause.

[If there are two uses clauses, perhaps it could first 
go to one, then to the other, so if you press 
Ctrl+Shift+E twice you'd switch back and forth?]

Steps:

1. File|New Application
2. Go to the Module Explorer and select the Uses 
clause.  Right-click and choose "View Editor".  This 
does nothing.
3. Compare to what happens when you choose one 
of the child objects.

Area: ide\code explorer

Reference Number: 593 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/28/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Subfocus management for nodes in code explorer is 
confused when code explorer's model is changed.

Steps:

1. New application
2. Expand Units section of code explorer and resize 
until a large scrolling range is available
3. Open classes.pas
4. Scroll-down to the Variables/Constants section 
and dblclick on toWString
5. Notice gray subfocus rect in code explorer
6. Change editor tabs back to view Unit1
7. Notice the scroll position is near the bottom
8. Click on the last node - notice that the tree 
control scrolls to the top

Area: ide\code explorer

Reference Number: 679 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/10/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Tools/Environment options/Explorer/Automatically 
show Explorer does not immediately work on the 
code editor window.

Instead, you have to close and reopen the window 
for this option to have an effect.

This is in contrast to other options on the same 
page that do have an immediate effect.

Steps:

New Application
Tools/Environment options/Explorer
Change the setting of Automatically show Explorer
OK
Nothing seems to happen

Area: ide\code explorer

Reference Number: 888 (Published: 12/18/98)
Status: Deferred to Next Rel
Date Reported: 7/4/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Code Explorer doesn't react to Alt-F10 to generate 
its local context menu

Steps:

Start Delphi ensuring the Code explorer is visible 
(mine is docked in the editor)

Click on the Code Explorer

Press Alt-F10

Nothing happens, whereas a popup menu should 
appear for consistency with the rest of the 
environment (eg the form designer and editor)

Area: ide\code explorer

Reference Number: 366 (Published: 11/20/98)
Status: Deferred to Next Rel
Date Reported: 3/7/98
Severity: Commonly Encountered
Type: Unknown

Problem:

If module explorer is undocked and you click on an 
item of interest, the  explorer goes behind the editor 
if it floating above it.

Steps:

Undock module explorer and position it above the 
editor. Click on an item and the module explorer 
goes behind the editor and is thus unavailable.

Area: ide\code explorer

Reference Number: 335 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/21/98
Severity: Commonly Encountered
Type: New Feature

Problem:

Module Explorer: add a right-click-menu entry for 
Form properties in module explorer that enable the 
user to jump to the form and focus the 
corresponding element.

Area: ide\code explorer

Reference Number: 967 (Published: 10/22/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 7/15/98
Severity: Infrequently Encountered
Type: Basic Functionality Failure

Problem:

Procedures/Functions without parameters using the 
"( )" fail to show up in the code explorer. 

Steps:

1. File | New Application, add the below code to the 
implementation section:

procedure MyProc();
begin
  Showmessage('Hello!');
end;

The code explorer will not pick this procedure up, 
but if you get rid of the empty parens it will.  If we 
allow the empty parens the explorer should honor 
this.

Area: ide\code explorer

Reference Number: 1099 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/11/98
Severity: Infrequently Encountered
Type: Basic Functionality Failure

Problem:

Code explorer fails to update

Area: ide\code explorer

Reference Number: 587 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/27/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

After opening a second edit window and using the 
Code Explorer window of the second edit view to 
navigate into the code the first edit window is 
activated rather than the second edit window

Steps:

-File | New Application
-Right click on Unit1 in Code Editor, select "New 
Edit Window"
-In the second Code Explorer window (titled 
Unit1.pas:2)
 expand the uses node and select and double 
'graphics'

result:
uses grapics in the first edit window code editor 
becomes active

Area: ide\code explorer

Reference Number: 604 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 5/29/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

The name for the Variables/Constants node is the 
wrong name in the Options dialog

Steps:

-Tools | Environment Options | Explorer
-Explorer Categories
-Note there is a Variables node not a
 Variables/Constants node.

Area: ide\code explorer

Reference Number: 682 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/10/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

The Rename local menu item applied to a property 
will rename the read and write methods, but will not 
do the same for the stored method.

Steps:

New Application
Add the following property to TForm1:

property X : Integer read GetX write SetX stored 
StoredX;

Do local menu item "Complete class at cursor".

Click on X in the code explorer and rename it to Y.

GetX is changed to GetY, SetX is changed to SetY, 
but StoredX stays StoredX.

Area: ide\code parameters

Reference Number: 1015 (Published: 8/4/98)
Status: Fixed in Version 4 Update Pack 1
Date Reported: 7/23/98
Severity: Serious
Type: Crash

Problem:

Typing the following causes an AV in DCC40.DLL:

showmessage(inttostr(height

Steps:

1. File | New App.
2. Double click the form to create an OnCreate 
event handler.
3. In the event type "showmessage(inttostr(height" 
(without the quotes)
// AV in DCC40.DLL occurs.


Area: ide\code parameters

Reference Number: 1251 (Published: 10/24/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 9/1/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

At certain times when viewing code perameters, 
delphi gives a "list index out of bounds."

Area: ide\code parameters

Reference Number: 1083 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/5/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Code parameters tooltip is fooled into going away by 
the wrong type of bracket

Area: ide\code parameters

Reference Number: 1084 (Published: 10/28/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 8/5/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Code parameter tooltip does not suggest that 
SetLength will work on a dynamic array

Steps:

In some event handler, type:

SetLength(

Notice that the tooltip specifies it works on strings, 
but not arrays. There should be some mechanism, 
like with the method overloading, that specifies this 
correctly as working with both strings and arrays

Area: ide\code parameters

Reference Number: 1445 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 9/28/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Inconsistency in the Code Parameters window with 
the original parameter declarations. 

Check it out when used against Format and against 
ShowMessageFmt

[Routines taking "array of const" parameters show 
as "array of TVarRec" but "const array of const" 
shows correctly (but without the "const" modifier - 
MD]

Steps:

Examine the source declarations of Format and 
ShowMessageFmt. You should find them like this:

function Format(const Format: string; const Args: 
array of const): string;

procedure ShowMessageFmt(const Msg: string; 
Params: array of const);

Now try typing in a call to Format by typing into 
some event handler: Format(

When the Code Parameters window pops up, 
notice it almost matches what the formal declaration 
says:

const Format: string; const Args: array of const

However the second argument's const modifier is 
missing.

Now change it to a call to ShowmessageFmt. when 
you see the Code Parameters window for this call, it 
is more wrong. This looks like:

const Msg: string; Params: array of TVarRec

I noticed that ShowMessageFmt was not defined 
with the const modifier used for the second 
argument, unlike the call to Format. Maybe this has 
something to do with the problem

Area: ide\code templates

Reference Number: 866 (Published: 10/21/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 7/6/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Hard-coded string "{ Protected Declarations }" in 
app\ui\pascrtrs.pas.

Area: ide\code templates

Reference Number: 419 (Published: 12/7/98)
Status: Deferred to Next Rel
Date Reported: 4/3/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Editor doesn't replace multi word code template 
names correctly when you press Ctrl+J.

Only the first word of the template name is replaced 
by the actual template.

Steps:

* Tools | Environment Options | Code Insight
* Click on Add
* Set the name to "Code Template Name"
* Set the code to be: case x of 1: ; end;
* Enter "Code Template Name" in the editor
* Select all 3 words from right to left or place the 
cursor on the first character of the word
* Press Ctrl+J

Area: ide\code templates

Reference Number: 396 (Published: 12/3/98)
Status: Deferred to Next Rel
Date Reported: 3/24/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

The Code Insight templates fail if you try to create a 
template like this --

   []

Steps:

1.  Select Tools|Environment Options
2.  Select the Code Insight Tab
3.  Create a new Code Template and call it 
'brackets'
4.  Add the following text -- []  -- as the code.  Note, 
that just left square bracket, right square bracket
5.  Click Ok
6.  Type 'brackets' in the code editor and hit 
CTRL-J.  Nothing happens other that the word is 
highlighted.
7.  Go back to the Code Insight tab, and scroll to 
the brackets template.  Note that the brackets are 
gone.

This works with curly brackets and regular 
parentheses.

Area: ide\component palette

Reference Number: 807 (Published: 8/4/98)
Status: Fixed in Version 4 Update Pack 1
Date Reported: 6/17/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Can't arrange components on the palette.  Can 
rearrange the tabs though, but not the components 
inside of the tabs.

Steps:

1)  select Component | Configure Palette from the 
delphi menu.
2)  select a page and then select a component 
(Standard - > TButton) and move it up to become 
the first item in the list.
3)  close the Palette Properties editor.

Notice that the TButton component didn't move.


Area: ide\component palette

Reference Number: 575 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/26/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

The arrows for component palette are cut off.

Steps:

1) shrink the main IDE window until the component 
palette get the little black arrows on the right hand 
side.  Notice those arrow buttons tops are cut off.
This breaks automation testing.

Area: ide\component palette

Reference Number: 900 (Published: 10/22/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 7/7/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

Shift+Clicking a component on the palette to drop 
multiple components requires 2 clicks to get out of 
that state.  Delphi 3 it only took 1.

Steps:

Shift Click the Edit control
Now click the label.

//takes 2 clicks.

Area: ide\component palette

Reference Number: 285 (Published: 11/11/98)
Status: Deferred to Next Rel
Date Reported: 1/22/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

If you turn off the component palette the main 
window has no default minimum height like in Delphi 
3.

Steps:

1. View | Component Palette
2. Resize the main window making it very small.
// Notice that the main window has no default 
minimum size.

Area: ide\component palette

Reference Number: 624 (Published: 10/15/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 6/3/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Examples of windows that have no F1 context help 
available.

Component List dialog box has no F1 Help when 
the edit box has focus.

Area: ide\dialogs

Reference Number: 563 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/25/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Customize Toolbar dialog, The Options page:

- When the checkbox for 'Show tooltips' have been 
cleared, the 'Show shortcut keys on tooltips' 
checkbox should be disabled.

Steps:

1. Load Delphi
2. Right-click any toolbar and select Customize
3. Select the Options page and uncheck Show 
Tooltips
Notice Show shortcut keys option is not disabled.

Area: ide\dialogs

Reference Number: 272 (Published: 11/11/98)
Status: Deferred to Next Rel
Date Reported: 12/15/97
Severity: Serious
Type: Minor Functionality Failure

Problem:

[Install Packages Dialog, Design Packages listbox]

Highlighted item text is not drawn in clHighlightText.

Area: ide\dialogs

Reference Number: 273 (Published: 11/11/98)
Status: Deferred to Next Rel
Date Reported: 12/15/97
Severity: Serious
Type: Minor Functionality Failure

Problem:

File | Open Project | Open dialog does not append 
the default extension to the filename (dpr)

Steps:

1) Do a File | Open Project
2) Navigate to a directory with a .dpr
3) type in the name of the .dpr, but do not include 
the .dpr extension

Delphi will not try to open the .dpr 

Area: ide\dialogs

Reference Number: 578 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/27/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

The New Component dialog defaults the unit name 
to a directory that does not exist and which cannot 
be created if you manually type the ancestor class 
name.

Steps:

1. Component | New Component
2. Type "TComponent" as the Ancestor Type
// Notice the Unit File Name that has been created.  
\\.\Component1.pas".  
3. Click Ok.
// You are prompted "Directory \\.\Test.pas does 
not exist.  Create it?"
4. Click Ok.
// Error occurs "Directory \\.\ could not be 
created.

Area: ide\dialogs

Reference Number: 757 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/15/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

After using the TImageList editor's OpenPicture 
dialog, the open and save dialogs are stretched to 
the same size as the OpenPicture dialog is.

Steps:

Drop a TImageList on a form. Double-click it, then 
in the editor, click add. Browse to and select an 
image.
File | Open.

Area: ide\dialogs

Reference Number: 270 (Published: 11/11/98)
Status: Deferred to Next Rel
Date Reported: 12/11/97
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

[Tools | Environment Options | Editor]

Block indent, Tab Stops, Undo Limit and Syntax 
Extensions edit controls are all auto-highlighted after 
a clean install.

Area: ide\dialogs

Reference Number: 309 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/13/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

There are a number of odd characteristics in the 
Import Type Library and Import ActiveX dialogs.

They present a Tab/PageControl with only a single 
Tab.  

The Tab text duplicates the dialog caption.

The area above the type library list is blank where a 
label once existed (in Delphi 3).

The Class names listbox is now narrower than the 
Unit dir name edit.  They were the same width in 
Delphi 3.

Area: ide\dialogs

Reference Number: 311 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/13/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Import Type Library dialog

When importing a type library, Allegro checks if 
there already exists a component/class installed 
with the same generated name.  This is appropriate 
for ActiveX control installation, but not for just 
importing a type lib.

This should generate a warning dialog with 
Continue/Cancel options

Steps:

Project | Import Type Library
Highlight the Chartfx 2.0 OLE Custom Control 
(Version 2.0)
Click < OK > 
Note error message here, 'A class named TChartfx 
is already installed.'

Area: ide\dialogs

Reference Number: 441 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 4/19/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Hints that show up in the object inspector and the 
module explorer for text that is too wide are offset 1 
pixel to the right from where they should be.

The left column of the object inspector suffers from 
this, the right column works as it should.

Steps:

Shrink the left column of the object inspector so 
that items are cut off on the right and move the 
mouse over one.
 
Right hand column:
  Hint pops text starts in the cell.  
Left hand column:
  Hint pops up at beginning of the cell

Area: ide\dialogs

Reference Number: 581 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 5/27/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

The following dialogs have truncated text when 
runinng under Japanese Windows:

Help - About
Workgroups - Set Data Directories
Tools - Environment Options - Explorer
Tools - Debugger Options
Tools - Debugger Options - General
Tools - Debugger Options - Event Log
Tools - Debugger Options - language Exceptions
Tools - Object Repository (there are 3 checkboxes)
Database - Form Wizard (the "In a grid" 
radiobutton, its description)
Component - New Component
Component - Install Component - All pages
Component - Import ActiveX Control
Component - Create Component Template
Component - Install packages - [Runtime Packages 
- Add]
Run - Parameters - Remote
Project - Import Type Library
Project - Options - Version Info

Area: ide\dialogs

Reference Number: 639 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/5/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Palette property dlg, the "Move up" button 
unhighlights the currently selected item, the Move 
down works as expected.

Steps:

1) Right click on the palette, and briing up the 
properties dlg.
2) Select the last item in the Pages list, or the 
components list (It matters not)
3) hit the "Move up" button twice.
  Note the selected Item moved up to places, but 
was not high lighted after you hit the button once.
4) Now hit the "Move Down" button, note moved, 
and is now highlighted.  (as expected)

Area: ide\dialogs

Reference Number: 1476 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 10/1/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

Duplicate pickletter 'D' in the popup menu of the 
Breakpoint List Window.

Steps:

- New Application
- press CTRL-ALT-B
- right click in Window
-- > duplicate pickletter D

Area: ide\dialogs

Reference Number: 333 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/21/98
Severity: Commonly Encountered
Type: Unknown

Problem:

In the Tools/Configure Tools Dialog is a Makro for 
the actual DPR-File (incl Path) missing. this will be a 
very usable makro. I don't see any chance, how I 
can do the same with the actual makros.

Area: ide\dialogs

Reference Number: 318 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/17/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

Selecting Edit| Scale and clicking OK with out 
entering a number will give the Error message - " is 
not a valid integer value.

Steps:

With a Form as the active window select the Edit| 
Scale menu and without entering a value, press 
OK.  
The error message '' is not a valide integer value will 
appear.

Area: ide\dialogs

Reference Number: 310 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/13/98
Severity: Infrequently Encountered
Type: Unknown

Problem:

The Class Names listbox allows the user to add and 
delete classnames.  Only upon clicking on the < 
OK > , < Install... > , or < Create Unit > 
buttons does the user get an error message that 
'Class names cannot be added or deleted.'

The list would serve better if it were a listview with 
the items editable or perhaps a new editable listbox 
component.

Area: ide\dialogs\environment options

Reference Number: 942 (Published: 12/18/98)
Status: Deferred to Next Rel
Date Reported: 7/14/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Tools | Environment options library tab, "Add" and 
"Replace" buttons are not enabled unless you edit 
an already existing path

Area: ide\dialogs\environment options

Reference Number: 1000 (Published: 12/18/98)
Status: Deferred to Next Rel
Date Reported: 7/20/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

The Right Margin Combo box doesn't display as 
disabled when the Visible Right Margin checkbox is 
deselected.

Steps:

1.  Start Delphi 4
2. Go to "Environment Options", Display tab
3. Uncheck Visible Right Margin (Right Margin 
combobox will be disabled 
at this point)
4. Click OK
5. Go to "Environment Options", Display tab again
- Right Margin combobox is no longer disabled even 
though that Visible 
Right Margin is still unchecked

Area: ide\dialogs\environment options

Reference Number: 1016 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 7/23/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

"Visible Right Margin" checkbox fails to disable 
"Visible Margin" combobox

Area: ide\dialogs\environment options

Reference Number: 340 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/23/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

The Environment Options dialog has the following 
keyboard and tabbing problems:

Steps:

1. The tabbing order in the Preferences dialog is 
wrong. It is:

Autosave, Form designer, Repository, Desktop 
contents, Compiling/Running.

It should be:

Desktop contents, Autosave, Form designer, 
Compiling/Running. Repository.

2. In the Editor page, the Editor Speedsetting does 
not have any keyboard shortcut (there does not 
seem to be many available though - only Z, Q and 
numbers are free)

3. The checkboxes for right margin, gutter and 
Module Explorer do not follow the convention of 
other grouped check boxes with regard to Tab vs. 
arrow keys.

4. Tab order in the Color page is wrong. It is:

Element, Text attributes, Use default for, Color 
SpeedSetting, Color

It should be:

Color SpeedSetting, Element, Color, Text attributes, 
Use default for

5. Tab order in the Debugger page is wrong. It is:

Integrated debugging, Event Log, Exceptions, 
General.

It should be:

Integrated debugging, General, Event Log, 
Exceptions

6. In the Debugger page, there is quick way to 
select the Exceptions list. You have to use the Tab 
key. I suggest you add Alt+X as a shortcut for 
E&xceptions and focus the exception list when it is 
selected.

7. The tab order in the Browser page is wrong. It is:

Symbol filters, Display, Object tree, Initial view

It should be:

Symbol filters, Initial view, Display, Object tree

Area: ide\dialogs\environment options

Reference Number: 1603 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 11/4/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

German Only:

In the Programmierhilfe tab of the 
Umgebungsoptionen (Env. Option) page, the 
checkbox Code-Vervollständigung is a pixel too low 
(or the other three needs to be lowered)

Steps:

*  Tools | Umgebungsoptionen
*  Select Programmierhilfe
// note problem

Area: ide\dialogs\environment options

Reference Number: 1604 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 11/4/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

German Only:

In the Explorer tab of the Umgebungsoptionen 
(Env. Option) page, the checkbox Unvollständige 
Eigenschaften vervollst. should line up the 
checkboxes in the Exploere-Optionen: groupbox.

Steps:

*  Tools | Umgebungsoptionen
*  Select Exploere
// note problem

Area: ide\dialogs\environment options

Reference Number: 1187 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/21/98
Severity: Commonly Encountered
Type: Unknown

Problem:

This is actually an enhancement request. In Delphi 
4.0, the environment directories have what appears 
to be a macro of sorts, "$(DELPHI)" that takes the 
place of the base directory where Delphi is installed. 
It would be nice to allow users to define other 
directory "macros" instead of having to enter a 
complete (and usually long !) directory.

Area: ide\dialogs\project options

Reference Number: 10 (Published: 12/16/98)
Status: Fixed
Date Reported: 12/11/97
Severity: Critical
Type: Crash

Problem:

We need to have an option for the final output files, 
e.g for .EXE, .DLL etc. in order to make remote 
debugging usefull.

High Priority:  Many, Many customers complain 
about this.
Really, really need this for remote debugging.  
Blocking testing.

Area: ide\dialogs\project options

Reference Number: 325 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 2/20/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

The directories dialogs that are brought up by the 
'...' buttons in the Directory/Conditions page of 
Project Options need to have some way of 
browsing for directories.

Long search path are prone to spelling / typing 
errors 

Steps:

*  Project | Options | Directory/Conditionals
*  Click on any one of the '...' buttons
// note the only way to add new path is to type it in.  
There are no ways to pick a directory.

Area: ide\dialogs\project options

Reference Number: 338 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/23/98
Severity: Commonly Encountered
Type: Unknown

Problem:

Project Options dialog has some problems for 
keyboard users.





Area: ide\dialogs\project options

Reference Number: 1557 (Published: 12/21/98)
Status: Deferred to Next Rel
Date Reported: 10/13/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

There is a duplicate hotkey in the Project | Options | 
Directories/Conditionals page

Steps:

-Project | Options | Directories/Conditionals
-Alt+P for "DCP output directory"

result:
takes you to "BPL output directory"

Area: ide\direct

Reference Number: 1393 (Published: 10/28/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 9/23/98
Severity: Serious
Type: Crash

Problem:

AV in VCL40.bpl and DIRECT40.BPL after installing 
the web update 2 over 4.00. Dispatch the error 
dialog and the IDE disappears.

Steps:

Uninstall Delphi.
Install 4.00 from the CD.
Run 4.00, when Delphi Direct appears, click "dont 
show this again" and then "no".
Shut down Delphi.
Install the 4.02 web update.
Run Delphi 4.02. Wait for Delphi Direct to kick in.

Area: ide\direct

Reference Number: 917 (Published: 12/18/98)
Status: Deferred to Next Rel
Date Reported: 7/8/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

Typo in Delphi Direct dialog:

"Delphi Direct stellt die Informationen über Delphi 
für Sie zusammen und bringt Sie direkt zu Ihnen!"

needs to be

"Delphi Direct stellt die Informationen über Delphi 
für Sie zusammen und bringt sie direkt zu Ihnen!"

-- > The second word 'sie' in the sentence needs 
to have a lowercase letter, or the context is totally 
wrong.

Also, on the first button, there is a double space 
between the words 'Informationen' and 'zu'

Steps:

- select Hilfe | Delphi Direct

Area: ide\direct

Reference Number: 1385 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 9/22/98
Severity: Serious
Type: New Feature

Problem:

Delphi Direct dialog has no way to set auto-popup.

Area: ide\docking

Reference Number: 795 (Published: 8/4/98)
Status: Fixed in Version 4 Update Pack 1
Date Reported: 6/17/98
Severity: Critical
Type: Basic Functionality Failure

Problem:

If you tab dock the Project Manager to the object 
inspector and have the call stack and watch view 
tab docked to the bottom of the edit window, you 
will get an error: A component named DockSite0 
already exists.

Steps:

File| New Application.
Tools| Environment Options| Preferences and turn 
on autosave desktop.
Tools| Environment Options| Explorer and turn off 
automatically show explorer.
Close the explorer docked in the edit window.
View| Debug Windows| Call Stack.
View| Debug Windows| Watches.  
Tab dock the watch view to the call stack.
Dock them to the bottom of the editor.
View| Project Manager and tab dock it to the object 
inspector.
File| Save All and save all files.
File| Close All.
Reopen the project.
File| Close All and you will see the error message.

Area: ide\docking

Reference Number: 297 (Published: 11/11/98)
Status: Deferred to Next Rel
Date Reported: 2/4/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Mouse cursor doesn't track closely with a floating 
toolbar when the toolbar is "torn-off" very quickly.

Area: ide\docking

Reference Number: 446 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 4/22/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Object inspector painting problem.

Steps:

Dock the O.I. onto the code editor.  Click the 
Combobox on the O.I. (So the class section list 
pops up)

Move the Code editor - note the list of classes from 
the  O.I. combobox remains focused, and stays 
painted on the desktop.

Area: ide\docking

Reference Number: 535 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/21/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

When undocking, a covered tool window is a valid 
dock site.

[This is a basic problem with being able to dock to 
obscured windows.]

Steps:

Start Delphi and

1) Dock (conjoined or tabbed, it does not matter) 
call stack and the object inspector (for     instance 
(It also does not matter).

2) Move the resulting tool window over the code 
editor

3) Set focus to the code editor, so the tool window 
is now covered.

4) Grab the nib of the code explorer, and move the 
preview rect to a point over the tool     window.

Notice it will change the preview rect when it goes 
over the tool window, release the mouse and it will 
dock "though" the code editor.

Area: ide\docking

Reference Number: 539 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/21/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Undocking a window from a Tool Window dock site 
causes focus to go back to the dock site.  Focus 
should stay with the selected undocked window.

Steps:

1. Load Delphi
2. View | Debug Windows | Call Stack
3. Tab dock the Call Stack Window into the Object 
Inspector
4. Grab the tab of the Call Stack Window and drag 
it slightly to undock it.
The Object Inspector window comes to the 
foreground.  If the tab docked window was 
originally a small size, it can be obscured, leaving 
user's to believe it disappeared. 

Area: ide\docking

Reference Number: 611 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/1/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

In 120 DPI (large fonts), I have the Code Explorer 
and Project Manager docked at the bottom of the 
Editor winodw. I cannot resize the docked windows 
using the Horizontal splitter.

This is intermitent.

Steps:

- Run in 120 DPI
- dock the CE and PM at the bottom of the Editor 
window
- try to resize

Area: ide\docking

Reference Number: 1182 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/21/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

Submitted by user via the web:

When the object inspector is docked you can no 
longer copy/cut from the fields.  You can when the 
OI is undocked.  The bahavior should not change 
jsut becasue of docking.

Area: ide\docking

Reference Number: 726 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/13/98
Severity: Serious
Type: Minor Functionality Failure

Problem:

The desktop is not restoring correctly.

Steps:

// Make sure save desktop is on
1. File | New Application
2. File | Save Project
3. File | Close All
4. File | Reopen
// Notice that the form should be on top but instead 
the editor is on top.

Area: ide\docking

Reference Number: 440 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 4/17/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

The Toobars give no indication via the mouse 
cursor that the toolbars can be moved or dragged.  
The cursor should change to indicate that the user 
can take action.

Steps:

1.  Place the mouse over one of the two vertical 
lines on the left of a tool bar.

2.  The cursor doesn't change, remaining the 
standard pointer. 

3.  The toolbar can be dragged on un-docked, but 
there is no visual cue

Area: ide\docking

Reference Number: 449 (Published: 8/4/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 4/23/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

DockSite0 error appears when exiting if Autosave 
desktop is on and multiple packages are tab 
docked together. Also it seems to be necessary to 
have closed and not saved a default project1.

Steps:

-Have two package projects saved on disk
-Make sure Autosave desktop is on in Delphi 4
-Launch Delphi 4
-Move Form1 slightly to dirty Project1
-File | Close All
-Say NO to prompt to Save project1 changes
-File | Open Project (don't use "File | Open")
-Change open dialog mask to *.DPK and open 
package1
-File | Open Project (don't use "File | Open")
-Change open dialog mask to *.DPK and open 
package2
-Tab Dock Package1 Manager into Package2 
Manager
  (it is important that the first one opened is tab 
docked into the
    second one opened)
-File | Exit
result:
Error: A Component Named DockSite0 already 
exists


Area: ide\docking

Reference Number: 513 (Published: 11/12/98)
Status: Deferred to Next Rel
Date Reported: 5/15/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Persistence is on the project level.  

There's no way to arrange your desktop as save it 
as a default.

Steps:

For example: Set up the code editor with the project 
manager docked above the code explorer on the 
left  one on top of the other. Doc the object 
inspector on the right side of the code editor.  Kind 
of like the JBuilder layout. 

Opening a new project forces me to reset this each 
time. 

Area: ide\docking

Reference Number: 1166 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/21/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

Undocked component palette jumps to location of 
mouse click

Area: ide\docking

Reference Number: 1554 (Published: 10/14/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 10/13/98
Severity: Commonly Encountered
Type: Basic Functionality Failure

Problem:

When pressing the zoom shortcut while on a 
docked view, the docked view is "zoomed" in 
place instead of the outer most window getting 
zoomed.

Steps:

Dock the call stack into the editor.
Set focus to the call stack.
Press the zoom shortcut key (F5 in classic).

Area: ide\docking

Reference Number: 506 (Published: 10/15/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 5/13/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

When Project Manger is dock with MOdule Explorer 
with Page contorl and close them. When reopen 
Project Manger will display Tool Windows with it.

Steps:

1. File | New Application. to open New application.
2. View | Project Manger to open Project Mnager
3. Dock Project Manger into Module Explore such a 
way that Page control appear.(not the side way)
4. File | Close All to close it.
5. View | Project Manger. to open Project Manger
6. You will see Project Manger with Tool Windows.  

Area: ide\docking

Reference Number: 714 (Published: 12/15/98)
Status: Deferred to Next Rel
Date Reported: 6/12/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

An empty dock site gets left on the code editor.

Steps:

New project, open a second editor window.  swap 
the code explorers.  Close a code editor, it will take 
both code explorers away with it, leaving a big ugly 
docksite where one of them was.

Workaround:


Goes away (?) if you dock something to it, then 
undock it.

Area: ide\docking

Reference Number: 1555 (Published: 10/14/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 10/13/98
Severity: Commonly Encountered
Type: Minor Functionality Failure

Problem:

When the Object Inpspector is docked, the View | 
Object Inspector menu item does not toggle 
between focusing the Form/Editor/Object 
Inspector.

Steps:

1) Dock the Object Inspector.
2) Press the View | Object Inspector shortcut (F11 in 
classic).
3) Repeat step 2, note focus.  Compare with Object 
Inspector undocked.

Area: ide\docking

Reference Number: 332 (Published: 11/13/98)
Status: Deferred to Next Rel
Date Reported: 2/20/98
Severity: Commonly Encountered
Type: Unknown

Problem:

The form Alignment Palette should be dockable in 
this version of Delphi.

Area: ide\docking

Reference Number: 1183 (Published: 12/16/98)
Status: Deferred to Next Rel
Date Reported: 8/21/98
Severity: Commonly Encountered
Type: Unknown

Problem:

The Code Explorer;
You can dock it elsewhere BUT you can't save its 
location for next
time???  Personally I like docking it as part of Code 
Inspector 
so as it becomes a tab sheet.  But I can't save this 
arrangment???

Area: ide\docking

Reference Number: 1495 (Published: 12/17/98)
Status: Deferred to Next Rel
Date Reported: 10/4/98
Severity: Infrequently Encountered
Type: Minor Functionality Failure

Problem:

With the Object Inspector docked to the right side 
of an edit window, the focus returns to it after a run 
even if the edit window had the focus before the 
run. This doesn't happen if "Hide designers on run" 
is unchecked.

Area: ide\file handling

Reference Number: 820 (Published: 8/4/98)
Status: Cannot Reproduce
Date Reported: 6/18/98
Severity: Serious
Type: Crash

Problem:

Repeatedly reopening and closing a project, where 
the typed commands are typed before the 
completion of the preceding process, causes an 
AV.

Steps:

View|Preferences|save desktop on, ok.
Load DEMOS\DB\MASTAPP example.
(note: be sure to remove any mastapp.dsk file)
View|Forms, select all, Ok.
Do this sequence twice:
Alt+F+L, Alt+R+ < enter > 
(close all, reopen mastapp)
Your last Alt+R+ < Enter > should be typed 
before the repainting is done from the preceding 
close.
AV in corlde40.bpl.

Area: ide\file handling

Reference Number: 860 (Published: 10/21/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 7/1/98
Severity: Serious
Type: Crash

Problem:

This particular attachment, when included in a 
project, then altered after a run, causes an AV in 
the IDE.

Note: the whitespace and comments in the 
attachment appear to be necessary, as well as the 
declarations.

Steps:

Put attachment in projects dir.
In default project, right below {$R *.DFM} line, add

{$I nolatar.inc}

F9 to run.
File|Open nolatar.inc.
Add one space in the line below the syotto 
declaration (fourth line).
F9 again: AV in corlde40.bpl.

Area: ide\file handling

Reference Number: 1403 (Published: 10/28/98)
Status: Fixed in Version 4 Update Pack 2
Date Reported: 9/23/98
Severity: Serious
Type: Crash

Problem:

Creating a new application while there is a package 
project open results in loss of package source code

Steps:

-File | Close All
-File | New | Package
-Package Manager Add button | New Component
-Add new component based on any ancestor
-In Code Editor, edit the new component unit
-File | New Application

result:
Loss of all edits as well as the generated new unit

Area: ide\file handling

Reference Number: 627 (Published: 11/19/98)
Status: Deferred to Next Rel
Date Reported: 6/3/98
Severity: Serious
Type: Basic Functionality Failure

Problem:

[Concurrent use issue]
When two IDE instances have the same project 
open (or just the type lib) at the same time, there is 
no way to tell that someone else has the type library 
open, and there is no indication that the type library 
has been changed out from under you.

No reload request is ever given. This is true 
whether the TLE UI has focus or the _TLB.PAS in 
the code editor. All other (code) module buffers are 
aware of a change to the files beneath them based 
on the date/timestamp of the file on disk.

This means that each can successively save 
changes that overwrite the other's changes.

Steps:

1 - Run an instance of Delphi
2 - Create any project that contains a typelib and 
save to disk
3 - Make sure TL Editor is visible, and _TLB.PAS is 
current
buffer in text editor
3 - Run another instance of Delphi (same or another 
machine)
4 - From the 2nd instance, open the same project 
and
modify the type library (add a method, etc.)
5 - Just for grins, add a comment to the main project 
.PAS file
to "dirty" the buffer (2nd instance)
6 - File | Save All  (2nd instance)
7 - Set focus to the 1st instance of Delphi. The IDE 
will detect that the project file has changed and will 
reload, but will still not
be aware that the typelib/_TLB.Pas has changed...
// If both