Kunzisoft / Kunzisoft/KeePassDX
Show Spaces in Passwords
- Dominant language
- Kotlin
- Stars
- 7.3k
- Forks
- 401
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 1
Description
## Problem
When viewing a password (e.g. for manually typing it on another device), spaces can be invisible.
Here's a screenshot: In this password, there is no space at the end of the first line, however there are spaces at the end of the second and third lines that are displayed.

This took me a while to figure out.
First I thought early line wraps were a safe indication for a space, however this example shows otherwise.
Presumably the first line in this example wraps because of the '0'?
This is also an issue with newlines in the password, but that really doesn't make sense to do, so I don't think it matters.
## Solution Idea
I think there should be some indication of a space.
My Idea is to display a different (potentially configurable) character instead of Spaces, e.g. this: '␣'.
But this would be a problem when that character is actually in the password.
So maybe working with colors could help, like using a very light gray for the space replacement.
I was also surprised to see that putting '␣' in a password doesn't highlight it green like all the other weird symbols.
Contributor guide
Research direction
No source files, tests, or entry points are named. Start by locating the Android screen used to view password values; done means spaces are visibly distinguishable while preserving the actual password content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100