Opened 17 years ago
Closed 15 years ago
#10256 closed defect (bug) (wontfix)
Autosave while typing title creates permalink too soon
| Reported by: | xibe | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Autosave | Version: | 2.8 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
Autosave is a great help to prevent loosing one's post, but I just stumbled on a possible defect: autosave happened while I was typing my post's title. I was not yet done with typing, so while my fully-typed was of the form "aaaa bbbb ccc ddddd eee ffff", the permalink generated by the autosave was just "aaaa bbbb ccc".
This is not a big issue, since I can edit the permalink whenever I want, but this is still a hindrance.
I think autosave should be disabled while the focus is on the title.
Change History (10)
#2
@
17 years ago
- Milestone 2.9 → 3.0
- Priority normal → low
- Severity normal → minor
Not sure if we should explicitly disable autosave while the title field has focus. Perhaps we can disable it for 3 sec on each keyup there or something similar.
#4
@
17 years ago
Autosave should be disabled until there is content in the post body.
Some people like to enter a title, upload content, then write a post. It all comes down to individual taste.
IMO, a autosave to get a post ID should occur pretty early, but the permalink should not be created until the title has not had focus for ~5 seconds?
Something in the back of my head says that the slug is not set in stone at that point however and may change? (Or am i completely wrong?)
#5
@
17 years ago
Alright; how about doing it the first time any one of the following occurs :
- The title looses focus and is not blank.
- The title has not had focus for 1 minute and there is content in the post body.
- There is more than X characters in the post body.
- The Upload dialog is opened.
#6
@
17 years ago
And, if the post is autosaved while the title is blank, then the first time the title is changed the slug should be changed to match.
#7
@
17 years ago
Can you autosave without creating a permalink at all?
That would be best; autosave anyway but don't create a permalink until the first time the title looses focus and is not blank.
#9
@
15 years ago
- Keywords close added; needs-patch 2nd-opininon removed
The permalink that is generated on the autosave of a new post isn't permanent - it will get refreshed once you click "save draft" or "publish" and if the title has changed then so will the permalink. So I don't see any issue here?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I think it works this way now. I have tried and it waits until I focus another place to autosave and create the permalink.
Maybe you are having some trouble with javascript? Any plugin?