A URL field pre-filled with a http:// which doesnt disappear on focus is bad UI
log.valhallaisland.com
log.valhallaisland.com
An unfounded assumption. I type out URLs quite often on things like blog comments or when creating accounts on new webapps. I'm not sure why I'd go to my own Web site or Twitter page and copy/paste the URL when I can type it a lot quicker.
Further, you don't have to "delete" the existing "http:// when pasting. Just double click in the field to have all the text selected, then paste. It replaces the existing contents. Adds the time it takes to do a double click or press Ctrl/Cmd+A.
The problem with UI suggestions is that even when they're logical and seem to make sense, they won't for everybody - especially not those who've become so used to working around the problem, that a "solution" could expend more mental effort than following how everyone else does it already.
This won't work when using the primary selection (ie. middle-click paste) in X. Selecting the text wipes out the previous selection.
What am I missing?
There, selecting the text automatically copies it, so when you paste you just paste back the text you just highlighted.
I used right click menu paste for the first run merely to show you what I was doing. I used Ctrl+V later on and got the same result.
- Firefox
- Gnome Terminal
- Dozens of Gnome Apps
- almost everything that is stock on recent distros
seem to disagree with you.
Yeah, emacs is the one app that I can think of that does copy-on-select, and I'm pretty sure even it can be configured to be more like Windows/GTK.
Unless you are a certain nameless firewall manufacturer which doesn't go with convention, and mangles password fields into something like single-click-select (but only if changing the focus to them).
Then you just double click, watch it be highlighted then unhighlighted, then single click, which does nothing this time, then try to click and select and paste and realise it doesn't accept keyboard paste, only right-click-paste.
The problem with your UI suggestions is that even when they're logical and seem to make sense, they wont for every program. ;)
Except I didn't make any suggestions to change the UI. Instead, I'm saying leave it as it is, do it like everyone else does, and users already know how to deal with it :-) Your comment highlights exactly why I hold that belief - you've demonstrated that there are edge cases that I (and everyone else) never anticipated.
The letters http:// help I think, they suggest what's supposed to go in the field. A lot of people don't know what "url" means but they recognize the http://.
Before it uses that URL for anything, the server should process it, and if it's missing something like a protocol, add in a good default like http.
Is:
foo@bar.com
mailto:foo@bar.com
or
ftp://foo@bar.com
or
http://foo@bar.com
Each one of those does something totally different, and all are legal.The browser can add a default though - and it does.
Each one of those protocols works totally different. Different ports, different messages to the server, different ways of contacting the server.
And it's not a text field either. It gets broken up into multiple pieces and each piece is used in a different part of the conversation with the server. And on top of that you need to understand the format to even figure out which server to talk to.
They're talking about input fields in forms in the contents of the page.
So, you both know what you're talking about, you just don't know what they are talking about :)
You can actually use the http protocol on ports other than 80 and its actually commonly done on local development servers where anything like 8080, 8000, 8090 or many others are frquently used. In such a case the url would be something like http://myserver.com:8080/blabla where 8080 would be the port. The confusion might arise because protocols have a default port associated with them. Sorry for the explanation of something thats probably waaaay too simple for most of the readers but that comment was just so wrong for me.
At the very least, if you are going to have that as your UI, it'd be nice if the server would notice and strip the doubled http prefix.
"Terrible" might be a bit far, though.