Bug#2340: marked as done ("Delete Method" command not up to par) by Ralf Nolden <nolden at kde.org>

Stephan Kulow owner at bugs.kde.org
Fri Jan 26 09:33:08 UTC 2001


Your message dated Fri, 26 Jan 2001 10:29:49 +0100
with message-id <0101261029490C.05786 at unixware>
and subject line (no subject)
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 25 Nov 1999 19:13:26 +0000
>From peturr at rhi.hi.is Thu Nov 25 20:13:26 1999
Received: from dimon.rhi.hi.is ([130.208.165.10]:23706 "EHLO dimon.rhi.hi.is")
	by max.tat.physik.uni-tuebingen.de with ESMTP id <S741393AbPKYTNX>;
	Thu, 25 Nov 1999 20:13:23 +0100
Received: from vh21.rhi.hi.is (peturr at vh21.rhi.hi.is [130.208.172.85])
	by dimon.rhi.hi.is (8.9.3/8.9.0) with SMTP id TAA07157
	for <submit at bugs.kde.org>; Thu, 25 Nov 1999 19:13:08 GMT
From:   Petur Runolfsson <peturr at rhi.hi.is>
Reply-To: peturr at hi.is
To:     submit at bugs.kde.org
Subject: "Delete Method" command not up to par
Date:   Thu, 25 Nov 1999 19:11:13 +0000
X-Mailer: KMail [version 1.0.17]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <99112519130702.00486 at vh21.rhi.hi.is>
Content-Transfer-Encoding: 8bit
X-KMail-Mark: 
Return-Path: <peturr at rhi.hi.is>
X-Orcpt: rfc822;submit at bugs.kde.org

Package: kdevelop
Version: 1.0beta4.1
Severity: normal

Bugreport ID : 11:44,25.11.99

Originator	: Pétur Runólfsson
E-Mail		: peturr at hi.is

Subject : "Delete Method" command not up to par

Error Class	: software bug
Error Location	: class tree
Priority	: medium
Bug Description ---------------------------

The command "Delete Method" from the popup menu in the class tree
sometimes does not always delete the correct data. It fails if the source
file containing the method to be deleted has been modified immediately
before calling "Delete Method".


How to repeat the error -------------------

Take any source file for a class. Select a member function of that
class. Locate the definition of that member function. Add or delete
a few lines above the definition. Right-click on the function in the
class tree and select "Delete Method". KDevelop will proceed to
comment out a piece of the source file the same length as the
selected function, but in the place it was initially (before adding
or deleting lines before the function).

Bugfix or Workaround ----------------------

My guess is that class tree uses an internal database to keep track of
were function definitions can be found and uses information from this
database to determine which lines to comment out. To fix the bug
it would suffice to update this database before deciding which lines
to comment out.

System Information ------------------------

KDevelop version	: 1.0beta4.1
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: Linux (kernel 2.2.5)/Red Hat 6.0
Compiler		: egcs-2.91.66

misc :

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list