1
votes

Odd behaviour for an IDE, choose File Open from the main file menu or press the file Open button on the toolbar and the IDE shuts down.

Select "Exit" on the File menu to shut down the IDE and it produces the File Open Dialog.

It seems unlikely that this is intentional behaviour or have the programmers gone mad?

Update: It looks like when XE6 is first opened, the buttons behave properly, then reverse when a new vcl application is created.

The machine is Dell latitude Win7 32 bit laptop.

I have installed XE6 on my Win7 64 bit desktop machine and it appears to function correctly.

2
Obviously this is either a bug in your installation (more likely) or a bug in the whole software. You should reinstall the IDE first, download it again, or contact Embarcadero for support. - Vinícius Gobbo A. de Oliveira
It's not normal behavior for XE6 - I have it installed on both my work desktop and laptop, and it works perfectly well on both. (Clearly there are others who are using it as well, as this issue hasn't been reported in QC or any of the forums either, AFAICT.) Seems like you either have a borked installation or a badly buggy third party component; based on your other question about images on the component palette, I'd risk a wager it's the latter (although third-party may mean "your own"). - Ken White
Since XE6 is brand new, and the first release of each previous Delphi version have had numerous weird bugs as well, it might be an IDE bug. Anyway, I would choose to reinstall it again too. If the problem remains, contain Embarcadero/file a bug. Also, make sure to test it before installing any 3rd party components or IDE plug-ins. - GolezTrol
@GolezTrol: Ads XE6 has been out for several weeks now (and went through beta testing before then), it's highly unlikely this is an IDE bug - it would have been reported or mentioned before now. It's highly more likely that the user's component (or some third party component or expert) is causing this issue; remember that design-time component code actually executes within the IDE, as do experts and wizards. The poster's previous question mentions difficulties with installing his own components (being ported from D2007, which also adds Unicode-related issues into the mix). - Ken White
@Andy I doubt you have a vanilla XE6. What else did you install? - David Heffernan

2 Answers

3
votes

This can be caused by extra files being added to the IDE's Bin folder. In my case it was the FastMM dlls.

I found the answer on the Embarcardero Forums: https://forums.embarcadero.com/message.jspa?messageID=914786#914786

Per Remy's answer

The IDE's copy protection is being invoked at startup. If unauthorized non-Embarcadero files are placed in the IDE's \bin folder, the actions of the file menu's Open and Exit items are swapped. You need to find the offending files in the \bin folder and remove them.

The poster there has the issue in XE5, I experienced the issue in Delphi 10.1 Berlin.

1
votes

With probability close to 1, this is due to one of the design time packages that you have installed in your IDE. Remove these packages one by one until the IDE returns to its normal behaviour. At that point you will have identified the faulty package and can dig deeper to understand why it breaks your IDE.

Update

It seems that people other than you are facing the same issue. It is possible that they have installed the same third party components as you that are defective. And of course, it is possible that this is in fact a Delphi IDE defect.