 |
 |
|
 |
|
 |
|  |
|  |
|
 |
From: Marc-Hendrik Bremer
Subject: [Win] Save_as destroys original file
Date: 8 Sep 2001 13:42:18
Message: <3b9a587a@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Hi,
I did not much testing, but:
When I save a modified file under a different file, the original file is
destroyed, too. I end up with to identical files.
I remember this happened in previous versions, too, but I don't think it's a
feature ...
Marc-Hendrik
PII 450MHz, 128MB, Windows 98, POV-Ray beta1
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> When I save a modified file under a different file, the original file is
> destroyed, too. I end up with to identical files.
I can't replicate this. Can someone else confirm this, to see if it's an OS-
specific problem ? (I am only testing under 2k).
-- Chris
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chris Cason wrote:
>
> > When I save a modified file under a different file, the original file is
> > destroyed, too. I end up with to identical files.
>
> I can't replicate this. Can someone else confirm this, to see if it's an OS-
> specific problem ? (I am only testing under 2k).
I can confirm that a save_as results in two duplicate files under Win 98.
All changes are retained across both files.
--
Ken Tyler - POV-Ray Techncial Assistance Group
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ken wrote:
> I can confirm that a save_as results in two duplicate files under Win 98.
> All changes are retained across both files.
For what it is worth the behavior is the same in POV-Ray v3.1g. I wonder
why no one noticed this before.
--
Ken Tyler - POV-Ray Techncial Assistance Group
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" <tyl### [at] pacbell net> wrote in message news:3B9A5CBE.3AF930DA@pacbell.net...
> I can confirm that a save_as results in two duplicate files under Win 98.
> All changes are retained across both files.
Can you try turning Auto-Reload to 'Never' and see if it still happens ?
-- Chris
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chris Cason wrote:
>
> "Ken" <tyl### [at] pacbell net> wrote in message news:3B9A5CBE.3AF930DA@pacbell.net...
> > I can confirm that a save_as results in two duplicate files under Win 98.
> > All changes are retained across both files.
>
> Can you try turning Auto-Reload to 'Never' and see if it still happens ?
That changed it to the expected behavior. Bug or do I need to RTFM ?
--
Ken Tyler - POV-Ray Technical Assistance Group
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Marc-Hendrik Bremer
Subject: Re: [Win] Save_as destroys original file
Date: 8 Sep 2001 14:25:38
Message: <3b9a62a2@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Ken schrieb in Nachricht <3B9A6136.A17E7C8D@pacbell.net>...
>That changed it to the expected behavior. Bug or do I need to RTFM ?
Fixed it for me, too.
Someone warned about this behaviour some time ago on this server (in some
other context). That was the reason I did not use Save_As at all (copied the
files to the clipboard instead, closed Pov, opened a new file and pasted
from the clipboard) and checked it now. I thought it was a MegaPov issue,
though.
Marc-Hendrik
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Chris Cason" <newsadmin@-despam-povray.org> wrote in message
news:3b9a5a8d@news.povray.org...
> > When I save a modified file under a different file, the original file is
> > destroyed, too. I end up with to identical files.
>
> I can't replicate this. Can someone else confirm this, to see if it's an
OS-
> specific problem ? (I am only testing under 2k).
I have been doing a lot of exactly that thing, renaming files to
*035.pov instead of *031.pov, usually with small changes. I still have all
the old ones.
Win98
PII 400
128 mb ram
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" <tyl### [at] pacbell net> wrote in message
news:3B9A5CBE.3AF930DA@pacbell.net...
>
>
> Chris Cason wrote:
> >
> > > When I save a modified file under a different file, the original file
is
> > > destroyed, too. I end up with to identical files.
> >
> > I can't replicate this. Can someone else confirm this, to see if it's an
OS-
> > specific problem ? (I am only testing under 2k).
>
> I can confirm that a save_as results in two duplicate files under Win 98.
> All changes are retained across both files.
Arrggh!! I didn't check mine to see if changes were duplicated! I
misread the original post! All my old files are changed!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
The file destruction was definitely true in 3.1, as it is in 3.5. I guess I
stopped noticing it when I got myself in the habit of saving the file under the
new name *before* making any changes. But now that you mention it, it would be
nice if it didn't do that.
1G Athlon
Win ME
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
: > I can confirm that a save_as results in two duplicate files under Win 98.
: > All changes are retained across both files.
:
: For what it is worth the behavior is the same in POV-Ray v3.1g. I wonder
: why no one noticed this before.
:
: --
: Ken Tyler - POV-Ray Techncial Assistance Group
I have had that happen under 3.1 also but thought I had
somehow screwed it up myself. It was quite some time
before I went back to rerun the original file and by then
I was no longer certain of how I had saved the new file.
Win 98. Haven't yet confirmed this with 3.5.
--
Y
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Dave Dunn" wrote
: The file destruction was definitely true in 3.1, as it is in 3.5. I guess I
: stopped noticing it when I got myself in the habit of saving the file under the
: new name *before* making any changes. But now that you mention it, it would be
: nice if it didn't do that.
:
: 1G Athlon
: Win ME
:
Exactly the reason I forgot about it too ...
Turning Auto-Reload to 'Never" does correct this but I'm
not certain what feature I lose by doing that.
--
Y
Win 98 Pov3.5b1
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Y" <out### [at] huntel net> wrote in message
news:3b9a78fa$1@news.povray.org...
> "Dave Dunn" wrote
> : The file destruction was definitely true in 3.1, as it is in 3.5. I
guess I
> : stopped noticing it when I got myself in the habit of saving the file
under the
> : new name *before* making any changes. But now that you mention it, it
would be
> : nice if it didn't do that.
> :
> Exactly the reason I forgot about it too ...
> Turning Auto-Reload to 'Never" does correct this but I'm
> not certain what feature I lose by doing that.
Well, well, well. That explains my messed up camera Insert menu text files!
I knew I had done it right but I was going from file to file by using Save
as... after each edit.
Ha ha, Auto Reload is set to Ask here. So what I must have been doing is
answering OK or Yes to the question each time. And I do remember something
like that going on now. I think I usually say not to reload, figuring on
the reasoning I know the file doesn't need to be. Actually without really
knowing what I was ever doing too, so now I understand that for certain.
Thanks to you guys.
No telling what files I scrambled besides over time; no matter I suppose, as
long as those bak files are intact after the fact.
Bob H.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" <tyl### [at] pacbell net> wrote in message news:3B9A6136.A17E7C8D@pacbell.net...
> > Can you try turning Auto-Reload to 'Never' and see if it still happens ?
>
> That changed it to the expected behavior. Bug or do I need to RTFM ?
I don't know if it's a bug in POVWIN, but it's not RTFM either. Somehow doing a
'Save As' under Win98 causes POVWIN to lose focus (perhaps only for a very short
time), and this triggers the automatic saving of the file as documented in the
section on Auto-Reload.
I'll have to see if I can work out why it's losing focus.
-- Chris
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Redbeard (MDJohnson)
Subject: Re: [Win] Save_as destroys original file
Date: 9 Sep 2001 02:23:40
Message: <3b9b0aec$1@news.povray.org>
|
|
 |
|  |
|  |
|
 |
"Chris Cason" <newsadmin@-despam-povray.org> wrote in message
news:3b9af164@news.povray.org...
>
> "Ken" <tyl### [at] pacbell net> wrote in message
news:3B9A6136.A17E7C8D@pacbell.net...
> > > Can you try turning Auto-Reload to 'Never' and see if it still happens
?
> >
> > That changed it to the expected behavior. Bug or do I need to RTFM ?
>
> I don't know if it's a bug in POVWIN, but it's not RTFM either. Somehow
doing a
> 'Save As' under Win98 causes POVWIN to lose focus (perhaps only for a very
short
> time), and this triggers the automatic saving of the file as documented in
the
> section on Auto-Reload.
>
> I'll have to see if I can work out why it's losing focus.
>
> -- Chris
>
>
I've noticed this with programs other than POVWIN. It happens most often
when closing sub-windows. For instance, sometimes POVWIN will lose focus to
another program (which is brought to the top) when I close the render
window. At first I thought it was just POVWIN, but I've noticed (since I
began paying attention) that it happens in many of the programs I have that
has subwindows that can be closed. That leads me to believe it's a Windows
issue.
Michael
(POV-Ray 3.5 beta 1, Windows, Athlon 750, 196 MB RAM)
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Marc-Hendrik Bremer
Subject: Re: [Win] Save_as destroys original file
Date: 9 Sep 2001 04:23:43
Message: <3b9b270f@news.povray.org>
|
|
 |
|  |
|  |
|
 |
It's a bug at least in a way, 'cause it should ask to re-load the file if
it's configured (Auto-Reload set to "ASK") that way. But there is no such
question!
Marc-Hendrik
Chris Cason schrieb in Nachricht <3b9af164@news.povray.org>...
>I don't know if it's a bug in POVWIN, but it's not RTFM either.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Marc-Hendrik Bremer" <Mar### [at] t-online de> wrote in message
news:3b9b270f@news.povray.org...
> It's a bug at least in a way, 'cause it should ask to re-load the file if
> it's configured (Auto-Reload set to "ASK") that way. But there is no such
> question!
You didn't read the original message (or you didn't read the docs; your pick).
The problem is not that the external file has been changed, but that it has been
saved. The docs say nothing about being asked to save the file if auto-reload
is set to 'ask'.
Are you able to understand this, or do I need to explain it another way ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Marc-Hendrik Bremer
Subject: Re: [Win] Save_as destroys original file
Date: 9 Sep 2001 08:37:22
Message: <3b9b6282@news.povray.org>
|
|
 |
|  |
|  |
|
 |
I'm able to understand this and I'll shut up for now. Sorry, didn't want to
insist in anything.
Marc-Hendrik
Chris Cason schrieb in Nachricht <3b9b5caf@news.povray.org>...
>Are you able to understand this, or do I need to explain it another way ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |