@budda85 Good to hear that it’s working now and thanks for the update
UI problems when URL contains space character during account setup
-
When entering an invalid URL during account setup, the “next”-button does nothing.
-
Where is the problem? It should be grayed out.
-
I see now that it’s grayed out, but this is hardly visible (only when tapping on it) and is not good UX IMO.
-
What do you suggest? It’s disabled so that users can’t continue. <del>How this is rendered depends on your theme (in my case, I use a theme where I can clearly see what is disabled).]</del> Maybe a hint “invalid URL” could be displayed below the URL when it’s invalid, but this would also appear when the user has entered a partial URL and has not finished yet, which I think would be confusing.
-
A toast message when trying to tap the button would be nice.
-
But that would imply that one could press the button, i.e. start the next action, with an invalid URL.
Have you been confused by the current behaviour? In which way?
-
But that would imply that one could press the button
With the default theme, this implication is already there because there is no visual difference (to me) between a tappable and disabled button.
-
With the default theme, this implication is already there because there is no visual difference (to me) between a tappable and disabled button.
So I’d say this is the real problem. We have used default Android icons, but maybe there would be better ones…
-
But even if you used a better icon, the user still would have no idea what exactly is wrong.
-
There’s the message “Please enter an URL”, and some garbage with a space isn’t an URL
-
I don’t see such a message. As said, the button does absolutely nothing. This is on CM11
-
Ok, the message is “Base URL (…):” but it still says “URL”.
I won’t change the concept of the disabled Next buttons as it’s a common Android pattern (see the Email account setup). The only possible thing would be to add a hint for invalid or incomplete URLs, but I’d prefer to trust users to know that URLs must not contain space characters. After all, they must have got their CalDAV URL from somewhere and this source mustn’t show a space in the URL.
-
Ok, the message is “Base URL (…):” but it still says “URL”.
Oh you meant the normal label, then nevermind.
I probably overestimated this issue because I entered my server URL by hand.
-
I probably overestimated this issue because I entered my server URL by hand.
Do you have spaces in your URLs? Where did you get it from?
-
It was a typo, unlikely to happen though. I think I tapped
.
or so. -
Ah ok. I guess I’ll close this with your permission… if someone digs it out some time, we can think about it again
-
Sure.