Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
Quality Central
Delphi-BCB
IDE
Add Component Template
Background compile
Batch file target
Block Completion
Build Tools
Caliber
Class Completion
Class Explorer
Code Browsing
Code Completion
Code Editor
Code Explorer
Code Parameters
Code Templates
Compiler Message Window
Dialogs
Direct
Docking
File Handling
Form Designer
Help
History View
IDE Insight
Memory Issues
Menu Designer
Menus
Module Manager
Multi-Monitor Support
Object Inspector
Object TreeView
Open Tools API
Packages
Performance
Printing
Project Explorer(old Object Browser)
Project Management
Refactoring
Repository
Save Desktop
Search
Start Page
Starteam
Startup/Shutdown
Structure Pane
System Resources
ToDoList
Tool Palette
Toolbars/Status Line
Translation Tools
Unit Testing
VersionInfo
Views
Visual Form Inheritance
Workgroup(PVCS)
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Code Completion
[ Add a report in this area ]
Report #:
2875
Status:
Closed
Code completion skips items when using arrow keys
Project:
Delphi
Build #:
4.453
Version:
7.0
Submitted By:
Sebastian Zierer
Report Type:
Basic functionality failure
Date Reported:
11/9/2002 1:49:51 AM
Severity:
Serious / Highly visible problem
Last Updated:
6/27/2006 12:27:20 PM
Platform:
95, 98, 2000, NT, XP
Internal Tracking #:
176351
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
7.0.8.1
Duplicate of:
None
Voting and Rating
Overall Rating:
(24 Total Ratings)
4.88 out of 5
Total Votes:
20
Description
When you call code completion by pressing Ctrl+Space and then use up/down arrow keys to select an item selection sometimes the selection bar skips every second item. At the same time the context sensitive help becomes useless, because when you press Ctrl+F1 it will show you the code completion help. If you want to continue working normally on your project you have to close all open files in the editor (loosing all your bookmarks) and reopen every file you worked on.
This is in my opinion a very annoying bug. I tested it with Delphi 7 Professional (English) on Windows XP Pro and Delphi 7 Personal on Win2K.
Steps to Reproduce:
It took me some time to find a safe way to reproduce this bug, but here is at least two ways to do it: (There seem to be more ways I haven't been able to identify yet)
1.
Start Delphi and Double-Click on the blank Form to create (for example)
TForm1.FormCreate(Sender: TObject);
begin
|
end;
(*)
Your cursor is at the "|". Now press Ctrl+Space to invoke code completion.
Then hold Ctrl down and click on "Self : TForm1" (or any other item)
Press Ctrl+Space again to invoke code completion. Now press down arrow key. You will notice that the blue selection bar jumps from "Self" to Formcreate skipping "Sender", press down again and it will jump to "Cascade" skipping "ArrangeIcons".
If this isn't enough skipping you can repeat repeat from (*) to here and it will skip two items, or even more.
----------------------------------------------------------------------------
2.
Start Delphi and open a second Unit (for example Forms.pas).
Double-Click on the blank Form to create (for example)
TForm1.FormCreate(Sender: TObject);
begin
|
end;
(*)
Your cursor is at the "|". Now press Ctrl+Space to invoke code completion.
Then press Ctrl+Tab to switch to Forms.pas in the editor (or press F9 to compile the program)
Press Ctrl+Space again to invoke code completion. Now press down arrow key. You will notice that the blue selection bar jumps from "Self" to Formcreate skipping "Sender", press down again and it will jump to "Cascade" skipping "ArrangeIcons".
If this isn't enough skipping you can repeat repeat from (*) to here and it will skip two items, or even more.
---------------------------------------------------------------------------
After you did 1. or 2. put cursor on code (for example FormCreate) and press Ctrl+F1. This will open Code completion help instead of context sensitive help for the keyword your cursor is at.
Workarounds
None
Attachment
None
Comments
Sebastian Modersohn at 11/10/2002 7:27:55 AM
-
I've seen this a lot of times as well. I also agree that this can be very annoying! Good report.
Additionally I would mark 2368 as a duplicate of this one and not vice versa as this report is much more comprehensive.
Stefan Hoffmeister at 11/10/2002 10:48:22 PM
-
2368 is not about code completion.
Sebastian Modersohn at 11/14/2002 3:43:10 PM
-
Oops. Sorry. Unfortunately I can't find the report which I originally had in mind.
Rodrigo Laurindo at 3/13/2003 3:48:24 AM
-
#2386
Pierre le Riche at 11/14/2002 6:19:05 AM
-
I frequently encounter this problem as well, but haven't been able to reliably reproduce it. Good job Sebastian.
Sebastian Zierer at 11/14/2002 12:46:42 PM
-
You can also reproduce this if you press F9 (to compile the program) while the code completion window is open.
Rodrigo Laurindo at 5/6/2003 5:53:30 AM
-
We can easily reproduce it now. What about open it?
Pierre le Riche at 5/12/2004 1:04:06 AM
-
This bug is NOT fixed in Delphi 7 Update 1, even though the readme claims that it is. I am currently looking at a code completion dropdown which still skips items when you press the up or down arrows.
Craig Farrell at 5/12/2004 1:20:33 PM
-
Do the steps in this report still show the problem? If so, which patch did you apply, e.g. Pro or Enterprise and what language?
Pierre le Riche at 5/13/2004 12:13:37 AM
-
It appears that these steps no longer produce the bug, so at least it is partially fixed. I will try to obtain steps to reproduce the remaining cases in which the bug exposes itself and post a new QC report.
Craig Farrell at 5/12/2004 12:14:57 PM
-
This report has two sets of steps, both of which show the problem before the patch and do not show the problem after the patch. I suggest adding a new QC report with your steps and preferably your project attached that shows the problem you still see.
View Your Reports
Search
Server Response from: CODE1
Developer Tools
Blackfish SQL
C++Builder
Delphi
Delphi for PHP
Delphi Prism
InterBase
JBuilder
J Optimizer
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Chats
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us