Can we fix our Trac that doesn't lose new ticket text

Steps to reproduce: 1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen. Current version of Trac is 1.0.5, we're currently running 1.0.1 Thanks, Edward

On the contrary, I did precisely that just a few days ago (
https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac
*did* save my new ticket text. Perhaps this is a browser-specific issue?
I'm using 64-bit Chrome 42.0.2311.90.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

On 4/24/15, Eric Crockett
On the contrary, I did precisely that just a few days ago ( https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac *did* save my new ticket text. Perhaps this is a browser-specific issue? I'm using 64-bit Chrome 42.0.2311.90.
With a recent Firefox, I lost the text by clicking into "Formatting Hints" and surfing back. I was not amused. Cheers, Gabor
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
wrote: Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Whatever the case, it affects me, it affects SPJ, so we ought to fix it! (Change your browser is not a good answer :) Edward Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100:
On the contrary, I did precisely that just a few days ago ( https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac *did* save my new ticket text. Perhaps this is a browser-specific issue? I'm using 64-bit Chrome 42.0.2311.90.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
wrote: Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

My Firefox also has this issue. So it seems the problem is the browser
itself. How can this be fixed on the server side?
On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang
Whatever the case, it affects me, it affects SPJ, so we ought to fix it! (Change your browser is not a good answer :)
Edward
Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100:
On the contrary, I did precisely that just a few days ago ( https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac *did* save my new ticket text. Perhaps this is a browser-specific issue? I'm using 64-bit Chrome 42.0.2311.90.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
wrote: Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

My very pessimistic rule of thumb is don't trust a form field unless the
site actively saves a draft as you type.
On Fri, Apr 24, 2015 at 10:13 AM, Eric Crockett
My Firefox also has this issue. So it seems the problem is the browser itself. How can this be fixed on the server side?
On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang
wrote: Whatever the case, it affects me, it affects SPJ, so we ought to fix it! (Change your browser is not a good answer :)
Edward
On the contrary, I did precisely that just a few days ago ( https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise,
Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100: trac
*did* save my new ticket text. Perhaps this is a browser-specific issue? I'm using 64-bit Chrome 42.0.2311.90.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
wrote: Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

I've tried a few Firefox browser extensions which purport to "never lose your form text", but I find they just don't save frequently enough for my taste. I would love to know an extension that does this properly! Edward Excerpts from Ryan Yates's message of 2015-04-24 15:15:37 +0100:
My very pessimistic rule of thumb is don't trust a form field unless the site actively saves a draft as you type.
On Fri, Apr 24, 2015 at 10:13 AM, Eric Crockett
wrote: My Firefox also has this issue. So it seems the problem is the browser itself. How can this be fixed on the server side?
On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang
wrote: Whatever the case, it affects me, it affects SPJ, so we ought to fix it! (Change your browser is not a good answer :)
Edward
On the contrary, I did precisely that just a few days ago ( https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise,
Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100: trac
*did* save my new ticket text. Perhaps this is a browser-specific issue? I'm using 64-bit Chrome 42.0.2311.90.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
wrote: Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

I don't know about an extension, but there is .js library
https://github.com/simsalabim/sisyphus
2015-04-24 20:20 GMT+06:00 Edward Z. Yang
I've tried a few Firefox browser extensions which purport to "never lose your form text", but I find they just don't save frequently enough for my taste. I would love to know an extension that does this properly!
Edward
Excerpts from Ryan Yates's message of 2015-04-24 15:15:37 +0100:
My very pessimistic rule of thumb is don't trust a form field unless the site actively saves a draft as you type.
On Fri, Apr 24, 2015 at 10:13 AM, Eric Crockett
wrote: My Firefox also has this issue. So it seems the problem is the browser itself. How can this be fixed on the server side?
On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang
wrote: Whatever the case, it affects me, it affects SPJ, so we ought to fix it! (Change your browser is not a good answer :)
Edward
On the contrary, I did precisely that just a few days ago ( https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise,
Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100: trac
*did* save my new ticket text. Perhaps this is a browser-specific issue? I'm using 64-bit Chrome 42.0.2311.90.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
wrote: Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Not related to issue, but generally for Firefox I suggest an addon "Form
History Control" (UI is not superb, but it does what it should do)
https://addons.mozilla.org/uk/firefox/addon/form-history-control/
For Chrome, "Lazarus Form Recovery" used to work, but I'm not sure it still
does, since it seemed abandoned.
On Fri, Apr 24, 2015 at 4:54 PM, Edward Z. Yang
Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

At a guess, I recently had some websites start refreshing more than I
thought they used to when using the back/forward buttons. From what I
gather, this is due to the websites specifying no-cache or something
similar in their HTTP (?) headers. I think reloading the page throws away
entered text, while going back/forward to a stored page does not.
Perhaps something the ghc trac is using is setting this? Or it could be
something outside trac entirely?
Also wouldn't surprise me if Chrome behaves differently with such a setting
than Firefox.
Not sure if that helps.
On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang
Steps to reproduce:
1. Click "New Ticket" 2. Type some text into the box 3. Press "Back" in your browser 4. Press "Forward" in your browser
If you try this with an official Trac this doesn't happen, so either this was fixed in a new version, or we have a plugin installed which is causing this to happen.
Current version of Trac is 1.0.5, we're currently running 1.0.1
Thanks, Edward _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (7)
-
Alexey Vagarenko
-
Dan Doel
-
Edward Z. Yang
-
Eric Crockett
-
Gabor Greif
-
Kostiantyn Rybnikov
-
Ryan Yates