Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Refactoring/Rename    [ Add a report in this area ]  
Report #:  102454   Status: Closed
Reload dialog without possible action
Project:  Delphi Build #:  16.0.4358.45540
Version:    16.3 Submitted By:   Curt Mayers
Report Type:  Minor failure / Design problem Date Reported:  1/9/2012 10:26:53 AM
Severity:    Infrequently encountered problem Last Updated: 9/22/2012 11:09:20 PM
Platform:    All versions Internal Tracking #:  
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
This is really two bugs rolled into one:

In woking on a frame unit, I renamed the frame object using the  "Refactor" submenu.    It renamed the fram in the unit, but not in the corresponding DFM file, I received a bunch of error messages.

I opened the DFM in an external editor in order to rename the frame class in it.    After I saved, I receved the following message from Delphi:

Module [Unit Name]'s time/date on disk has changed.   In-memory changes to this module have been detected as well.   Releading the module from disk will overwrite these changes.  Reload?

However, there were no buttons on the dialog box in which the user was to indicate whether to reload the DFM or not.  

A screen shot is attached.
Steps to Reproduce:
1.   Create a new "frame" unit, and elaborate it a bit.
2.   Create an additional test form unit that references the frame.   Save this as well.
3.   Save and re-open the project.
4.   Highlight the frame unit, highlight the frame name, and select Refactor-->Rename
5.   Rename the frame  (it will change only in the unit)
6.   Without saving the project, open the DFM file in an external editor, and rename the class name of the frame.
7.   Go back to the Delphi project.   You should see the attached "dialog."
Workarounds
None
Attachment
102454.zip
Comments

Teodor Nacu at 1/12/2012 1:57:43 AM -
Hi,
I am not able to reproduce this.
It renames the frame in the .dfm too.
Could you attach a sample project and write some steps to reproduce the issue with that project, please?

Thanks,
Teodor Nacu
SDET - IDE, QA RAD Studio

Curt Mayers at 1/12/2012 3:48:25 PM -
Just look at the screenshot:   you have a "dialog window" that is asking whether to perform an action, but providing no way (e.g. buttons) to respond to the question.

As for the other issue, that is not the one I'm reporting.

Tomohiro Takahashi at 9/22/2012 11:10:11 PM -
Curt-san
Does your issue still occur with Delphi XE2 Update 4 or Delphi XE3(RTM/Trial) ?

Server Response from: ETNACODE01