views:

178

answers:

2

Does anyone else have this problem or is my Delphi cursed somehow?

I'll have a bunch of forms and files open in tabs in the editor and I'll be typing away and then suddenly everything stops - my .pas file has, seemingly at random, become read-only.

Sometimes I can just right-click the tab at the top and uncheck "Read-Only" and continue, but sometimes this option is checked and greyed-out (disabled), meaning I can't uncheck it and I can't make any further edits to the file. This too seems to be random.

In the latter case, the only solution is to save the file in question, which works, despite Delphi's assertion that the file is read-only, close its tab in the editor, and re-open it. Not catastrophic, really, but it's starting to become annoying.

Could it be that I am hitting a keyboard command combination accidentally to do this or is this a bug in Delphi?

I'm in Delphi 2010, Windows 7. Doubt it's anything to do with installed packages, but if anyone wants the list I'll generate it and attach it here.

+1  A: 

This happened once to me. I think it's a bug, I can't find an existing report for it and when you find repeatable steps the please create QC report for it.

Uwe Schuster
Good to know. I've tried to find a pattern to it happening but thus far it has eluded me. I'll post any updates here and file a QC if I unlock the riddle.
Justin
I've left this question open for a while now but I imagine that anyone who would have looked at it has already done so. Accepting this answer as it seems at this point that this is indeed a bug, albeit a shadowy one, and not something I've simply overlooked.
Justin