android-keyboard icon indicating copy to clipboard operation
android-keyboard copied to clipboard

Quickly Capitalize Word When Cursor Is at End of Word

Open Zetaphor opened this issue 2 years ago • 10 comments

Coming from Swiftkey, I'm finding a huge usability miss when trying to upper/lowercase a word

If I type a word and the cursor is at the end of that word, I would like if the shift button (capitalize button?) uppercased the word, and inversely if the word is already uppercased, lowercase it

Zetaphor avatar Jun 13 '24 21:06 Zetaphor

I would love to see something similar to this

I believe this would be annyoying for words with unusual capitilasation, like PuTTY, for exaple. Maybe the smartbar can be used to suggest the change in case instead of applying with just the press of the shift key?

The keyboard should temporarly remember the exact lower/uppercase characters of the original, incase user wants to revert to the original. This can also be shown in the smartbar

Alexanderkocha avatar Jun 15 '24 16:06 Alexanderkocha

Coming from Swiftkey, I'm finding a huge usability miss when trying to upper/lowercase a word

If I type a word and the cursor is at the end of that word, I would like if the shift button (capitalize button?) uppercased the word, and inversely if the word is already uppercased, lowercase it

you can already double tap the word to highlight it and press shift to Capitalize or UPPERCASE it

Progaros avatar Jun 20 '24 22:06 Progaros

Coming from Swiftkey, I'm finding a huge usability miss when trying to upper/lowercase a word If I type a word and the cursor is at the end of that word, I would like if the shift button (capitalize button?) uppercased the word, and inversely if the word is already uppercased, lowercase it

you can already double tap the word to highlight it and press shift to Capitalize or UPPERCASE it

It would be nice to see another way of capitalising a word only by interacting with the keyboard, in addition to being able to highlight it

Alexanderkocha avatar Jun 20 '24 22:06 Alexanderkocha

It would really improve the usability if we can do it with keyboard-only. After switching from swiftkey, this is the feature I miss most!

WhiteBahamut avatar Jul 09 '24 18:07 WhiteBahamut

Same as above, I really miss that feature for ex when writing "pr" and the autocorrect wants "Pr" and I want "PR" and so i need to erase everything and start over (and that one is only 2 chars)

fanf avatar Oct 22 '24 06:10 fanf

#474 and #235 are duplicates - merging those requests into this one.

dean-futo avatar Nov 03 '24 00:11 dean-futo

One thing I've noticed since switching to FUTO keyboard is that I frequently get suggestions for a word and the same word with a capital letter. If we had this feature to quickly capitalize, there would be no need for duplicate predictions and it could free up space for another word prediction.

I realize that would probably increase the scope of this issue though...

nicr9 avatar Aug 23 '25 14:08 nicr9

I'm trying hard on the change from swiftkey to futo, this is by far the most missing feature.

Please consider implementation.

Thx

Ziggi76 avatar Mar 27 '26 06:03 Ziggi76

I spent quite a while going through all the many GH issues and their comments mentioning capitalizaton and requesting improvements of its use/invocation, e.g. #1693, #1440, #1587, #1208, #801, #874, and some more that are duplicates or otherwise closed. Trying a summary here as this is one of the few issues actually assigned to someone, in the hope of getting heard and providing a helpful overall analysis of the requests.

The main common ground and complaint that I notice, and can only second, is this: Switching capitalization of a just typed word is too cumbersome and hinders the typing (or swiping) flow. A more convenient way of doing it is dearly missed

Most commenters mention coming from SwiftKey or another swiping keyboard (Swype & Dragon in my case) and miss a simple action to switch capitalization with a single key stroke or gesture.

Multiple times there was the hint that changing capitalization is indeed possible by 1. selecting the word and 2. switching capitalization using the shift key. While this is a valid workaround, it does not address the real problem: it breaks your typing or swiping flow to the point where multiple users mentioned this being the reason to not switching to FUTO keyboard.

To highlight why this is such a problem, consider this German sentence: "Ich rufe in der Gruppenbesprechung das Reizthema der Arbeitsplatzverteilung auf, um die Diskussion auf die laut gewordenen Rufe nach Regeln, die die Verteilung regeln würden aufzugreifen - doch kein Laut von den Meckerfritzen dieses eine Mal."

It showcases two very common things in German:

  • Some words are used in identical form as verbs and nouns (e.g. regeln vs Regeln)
  • Many so called compound nouns exist in their own right, but are actually constructed out of multiple simple nouns existing individually but concatenated without blanks (e.g. Arbeitsplatzverteilung)

The former just need a way to switch capitalization quickly. The latter however need some convenient way to construct them while typing. Typically one wouldn't want to assume (or try) if they are already part of the dictionary, but rather just type one part after the other. This requires setting the option for automatic spaces to be set to disabled (which is coined as "not recommended", even though clearly useful in such a language). Then you would type for example: Arbeit+s+Platz+Verteilung, then correcting capitalization. Such words are frequent and you always need to correct the capitalization for them - that is why you need a quick way of doing so.

Given he above sentence, I'd swipe this: "Ich Rufe in der GruppenBesprechung das ReizThema der ArbeitsPlatzVerteilung auf, um die Diskussion auf die laut gewordenen Rufe nach Regeln, die die Verteilung Regeln würden aufzugreifen - doch kein laut von den meckerFritzen dieses eine mal." Each of the 9 bold character needs to be changed to make the spelling correct!

I hope I was able to motivate why this is such an important and frequently requested feature and why this is a show-stopper for using FUTO keyboard for German, at least as swiping keyboard.

PR #2205 was even very close to solving this but its author seemed not very positive about getting it accepted. Is there anything the community can do to make it happen? I would even step in myself for a PR but have no experience with the CI and build system whatsoever not having coded for Android before, so I wouldn't step up that ladder without a significant chance of getting things merged.

Tagging @abb128 as assignee and @Zvonimir-FUTO, @dean-futo as they seemingly have been involved as Collaborators in some of the other relevant issues, hoping to catch some attention of the right folks.

Regarding the invocation/interaction the suggested "hold shift key" action to cycle lower/upper/word capitalization would be so intuitive IMHO that replacing the duplicate way of switching to CAPS lock (double tapping shift is just as fast) would be reasonable, even more so if this feature would be opt-in.

la-la-lars avatar Aug 31 '26 15:08 la-la-lars

As this is a feature I'm missing most from Swiftkey, I'd like to take a stab at this!

What I'm currently doing:

  • Tapping Shift right after "hello" turns it into "Hello", tapping again turns it into "HELLO", tapping again goes to the original. "hello" -> "Hello" -> "HELLO" -> "hello"
  • I'm still not totally sure with words such as "iPhone", currently it goes "iPhone" -> "Iphone" -> "IPHONE" -> "iPhone"
  • Still thinking about camelCase, my current thinking is after writing "camel" holding the shift key only capitalizes the next character. This clashes with the current handling of holding the shift key, which currently does caps lock. Using the Swiftkey handling, the current handling could be disabled.

17. One thing I've noticed since switching to FUTO keyboard is that I frequently get suggestions for a word and the same word with a capital letter. If we had this feature to quickly capitalize, there would be no need for duplicate predictions and it could free up space for another word prediction. I realize that would probably increase the scope of this issue though...

I also noticed this, removing duplicate predictions would be great. But that's nothing I would implement before speaking with a maintainer first.

sinanboecker avatar Nov 03 '26 11:11 sinanboecker