Open Bug 1722293 Opened 4 years ago Updated 9 months ago

edit page on readonly html file

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.53
Unspecified
All
defect

Tracking

(Not tracked)

People

(Reporter: mister_rs, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Steps to reproduce:

I opened my local html file in Version 2.53.8.1. This file was by mistake readonly. Go into edit mode by "File" -> "Edit Page". Change some text. Press save. Now if you close SeaMonkey your change is lost!

Actual results:

The user want to save, but the change is lost.

Expected results:

I would suggest to at least warn the user by an error message that nothing has been saved, or ask user to overwrite the readonly file.

REPRODUCIBLE with installation of unofficial (by wg9s) De SeaMonkey 2.53.9 beta 1 Mozilla/5.0 (NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build 20210707210003 (Newly created User Profile, Default Classic Theme) on German WIN7 64bit:

  1. Open Composer for html file
  2. Type some minimum text "this is read only" into page
  3. Save somewhere on HDD as "readonly.html"
  4. in WIN files Explorer go to folder containing "readonly.html"
  5. Rightclick → change properties of file to "write protected"
  6. Reopen "readonly.html" in SM Composer → add some text behins existing text → Save with click on Floppy disk Icon
  7. Open "readonly.html" in SM Browser
    » Expected: Warning already in Step 6: "Write Protected, doy ou want to savewith new name?" or so
    actual: As reported: new text from step 5 is lost 😥

We already had this problem and a solution with Bug 128367 - Save button and menu command silently fails to save to write-protected file.

Status: UNCONFIRMED → NEW
Component: General → Composer
Ever confirmed: true
OS: Unspecified → All
Version: SeaMonkey 2.53 Branch → SeaMonkey 2.53
You need to log in before you can comment on or make changes to this bug.