Description

"Remember last page visited" user preferences does not remember the last page unless "Show trail" is activated.

Steps to reproduce

  1. Login
  2. Visit a UserPreferences

  3. Turn "Show trail" off, make sure "Remember last page visited" is on and save.
  4. Visit FrontPage

  5. Visit http://moinmoin.wikiwikiweb.de:80/

  6. You get back to UserPreferences instead of FrontPage

Details

This wiki

Workaround

Use only when "show trail" is on

Discussion

This is the same bug as ../TrailMissingPagesOrOutdated, we don't update the trail unless the the user want to show it, but we need the trail for the "remember las page" feature. Fixing the trail will automatically fix this bug.

This is a small bug, but should be fixed. The best fix would be to keep the trail always, ignoring the trail user setting, which wil fix both bugs. Keeping the trail cost us one read and one write of tiny trail file per request.

Another option is to indent the remember option under the trail option, as it works only when the trail option is selected.

[ ] Show trail
    [ ] Remember last page visited

Using simple javascript we can even gray out the remember option when the trail is not selected.

Here is an example of such interface, in this case tab options in Safari:

With better wording, its the best we can do :-).

Fixed by saving the trail when remember_last_visit is selected. Actually this WAS already in user.addTrail, but somebody added a wrong check in Page.send_page that cause this check to be ignored.

Plan


CategoryMoinMoinBugFixed CategoryRelease1.3.5

MoinMoin: MoinMoinBugs/RememberLastPageVisited (last edited 2007-10-29 19:15:52 by localhost)