3 ms·
Wouldn't something like an "This page contains unsubmitted form input. Are you sure you want to leave?", with maybe a configuration option to disable it, be far
by userbinator 10y ago
Wouldn't something like an "This page contains unsubmitted form input. Are you sure you want to leave?", with maybe a configuration option to disable it, be far better than breaking a long-established and extremely useful keyboard shortcut? Instead the developers chose the easy way out, to pander to users who are apparently too stupid to notice that the focus is somewhere other than the text field they're entering into. Why not also remove the ability for spacebar/Enter to navigate to the currently focused link (or have they removed that already)? If you start blindly pressing keys on a page without looking, it's your own damn fault.
In any case, this screenshot of Opera's keyboard shortcut configuration shows just how far browser configurability has regressed:
http://www.ghacks.net/wp-content/uploads/2012/05/keyboard-setup.jpg http://www.ghacks.net/wp-content/uploads/2012/05/keyboard-se...
- gefh 10y agoWeb apps are too complicated to rely on form input changes as a stand-in for user state. Good idea about the space/enter thing, I'll file a bug.
- userbinator 10y agoGood idea about the space/enter thing, I'll file a bug. I was being sarcastic. I seriously hope you are too.
- DonHopkins 10y ago"But not that sarcastic, to be honest with you."
- mercer 10y agoI hope he was not. As a 'power user' I use GleeBox for keyboard navigation to links that match the text I enter. And as a power user, I've occasionally accidentally navigated away from a page by using space/enter while I was focused on a link without realizing it. Or backspace in the wrong context. Considering that I never intentionally used the space/enter action to navigate to a link, I wouldn't mind browsers removing this. I rarely encounter people who are so incredibly unsympathetic to the difficulty others face in using technology (even 'power users' like myself, apparently). Surely there's a point where perhaps we should at least consider changing our approach, when what works for us does not work for many (most?) other people. I haven't met a single non-power-user who actively used backspace to navigate back to the previous page, for example. At the risk of getting too personal, but with the memory of seeing my mother and grandmother actually crying because something they cared about disappeared for some reason that only I understood: please find something else to feel superior about, or just shut up and feel smug by yourself. It's difficult and frustrating enough already for many people to adapt to the rapid technological changes around them.
- viraptor 10y ago> to pander to users who are apparently too stupid to notice that the focus is somewhere other than the text field they're entering into I think you've just insulted a lot of people. I've run into the backspace behaviour multiple times and never on purpose. Here's a few reasons why it can happen, apart from stupidly mashing my keyboard, which I assure you, doesn't happen very often: - touchpad not registering a click on the text field - element reloading due to weird js and losing focus - tab switching properly between the first 4 fields, but then focusing some random button instead of the 5th input - broken custom JS elements which don't quite understand focus and editing - general keypress hijacking which doesn't do what you want I don't look at the keyboard as I type and I don't always look at the screen either. I expect the text actions (input and editing) to work on text. If I have to think about which possible, implicit mode I'm operating in, it's a bad design. Or are you saying that before every keypress you visually verify where your cursor is, is it blinking, is the right window focused, are there multiple cursors with fake focus, etc?
- userbinator 10y agotouchpad not registering a click on the text field It's not hard to notice whether an element has focused, and especially if you know you have flaky hardware, be aware of that. All your other reasons are the fault of the website, not the browser. I expect the text actions (input and editing) to work on text. If I have to think about which possible, implicit mode I'm operating in, it's a bad design. You're implying that the computer somehow magically (telepathically?) determines exactly where your input is to go. That's not possible. Or are you saying that before every keypress you visually verify where your cursor is, is it blinking, is the right window focused, are there multiple cursors with fake focus, etc? In a word, yes. It's seriously not hard to see where the focus is. I usually have multiple windows open but there is only one cursor and it's the only thing that's blinking. Many others I've seen maximise their browser window, so there shouldn't be other cursors much less blinking ones visible (unless there is some strange bug which does cause this --- in which case that is definitely a bug to be fixed). If I'm at all unsure, I make sure. Besides, if I'm going to submit some very long text, I'll write it all in a real text editor first and then copy-paste. I don't always look at the screen either. That's like saying "I don't always look at where I'm going when I drive. Why do I keep crashing into things?"
- Natsu 10y agoWhy would anyone overload a key commonly used when typing when mouse gestures are readily available? It's long established, but I, for one, have utterly detested its use ever since I discovered it. You can have alt-left arrow or something and you'll be used to it in a week, whereas everyone else won't lose their forms.
- aaron695 10y ago> be far better than breaking a long-established and extremely useful keyboard shortcut? No. This is bullshit, sorry to be strong, but this is true. Backspace in the normal world is for text. OT? https://blogs.msdn.microsoft.com/oldnewthing/20140715-00/?p=503 https://blogs.msdn.microsoft.com/oldnewthing/20140715-00/?p=... [edited]
- funkyy 10y agoWow, you jumped to some crappy conclusions rather quick. Maybe some people are not afraid of change, but simply use backspace on the daily basis? I am not one of them persons, but your reply is rather aggressive and assuming there is black or white in this case.
- aaron695 10y agoOk, fair enough, edited. but I was replying to this statement. > to pander to users who are apparently too stupid to notice that the focus is somewhere [edited] OK yes that was an excuse
- Springtime 10y ago> Wouldn't something like an "This page contains unsubmitted form input. Are you sure you want to leave?" Firefox presents this message, but it's unreliable and doesn't always present itself. I've already been used to an Alt+Left/Right binding [1] for navigation for at least a year in Firefox thanks to re-binding addons [2]. Backspace was both further away and too annoying in situations where input would lose focus (which can happen, and invisible/near-invisible focus styling on various input fields doesn't help). Chrome has always kept customization on lock-down, so this change to reduce such errors isn't surprising to be honest. [1] I use a half-size keyboard, where Fn+WASD is mapped to the arrow keys for one handed navigation. [2] keyconfig and KeySnail are both ones to check. The latter allows for key sequences to be bound to hotkeys (eg: typing 'pin' outside of an input to pin a tab), similar to Opera Presto's mnemonic keybindings ability but not quite as powerful.
- DonHopkins 10y agoYour suggestion doesn't work: Testing for "unsubmitted form input" is inadequate. With web apps and even many non-trivial forms, there is no way to tell if the page contains precious unsaved content, or if the user has performed any kind of work that they don't want to lose.
- ivanhoe 10y agoI guess I'm one of those "too stupid" ones, it happened many times to me... you're tabbing between inputs, and in speed you press first Backspace and then Tab, and boom, you've lost all the data entered in the form...
- dTal 10y agoDon't most major web browsers save unsubmitted form contents in history? I hit back followed by forward while composing this comment and it was still here. Or is this one of those "web apps ruin everything" things...
- gruez 10y agoThey do, but it's flaky and doesn't work on some sites due to js