Author Topic: "Save of Read-only file" issues  (Read 2558 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
"Save of Read-only file" issues
« on: October 07, 2009, 04:20:40 pm »
"Save of Read-only file" issues, HE still shows the r/o file

Steps:
- open an read-only file
- disable r/o flag in HE
- modify the doc
- save the file > dialog appears > use 'Save as..'  >> fine!

Problem:
1) But then if have still the old file name, but with content of the new 'save as'  saved file,
2) and when i modify more and save again i get again the dialog "Save of Read-only file"
Edit:
3) 'Save as' didn't provide the same folder as the current file - to use as the save-as-folder.
    Instead it use the 'last used folder', what is sub-optimal for that issue.
4) 'Save as'  didn't work at all, nothing is saved?


I find (2) annoying at least
but (1) is inconsistent IMHO, (having content of new file - but still see file name and have r/o state off last file)


Suggestion:
i think it would be better to show the new file after 'save as'
 as it would be without those r/o issue too?

.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2184
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: "Save of Read-only file" issues
« Reply #1 on: October 07, 2009, 05:13:51 pm »
Hi Stefan,

- current file name is not changed after read-only Save as.. it is a bug. Would be fixed.
- disable r/o in HE does not change r/o of the file (by default, you can set <UpdateFileReadOnly>true</UpdateFileReadOnly> in General in settings.xml to chnage this).

Best regards,
Alex.