Is your feature request related to a problem? Please describe.
When writting sms via gsconnect, I can't make a newline.
More often than not, this means that I have to use my phone, as the message would look weird otherwise.
Describe the solution you'd like
It would be a really cool feature if the sms text input field would allow newlines, e.g. a textarea or multiline input.
Describe alternatives you've considered
Don't know of any alternatives
System Details (please complete the following information):
Additional context
None
You can add a newline using Shift + Return, but there are no plans to change the entry widget itself at this point.
Since commit 96d0388, Shift+Enter should insert a newline in the SMS input field. Can you check whether that works for you?
Duplicate of #464
Whoops, too slow.
Thanks for the quick Response, yes that works.
Can we add this to the wiki maybe under "common problems" or via a new page "Tipps&Tricks"?
Or was I just blind and there was a help where I should have looked?
The Features page would probably be the logical place for this in the Wiki, but we should probably add a shortcuts help window to the application at some point.
I'll try to get a mention of Shift+Enter into that page tonight or tomorrow.
When I looked at it earlier, I noticed some other things out of date or missing as well. I've already updated the file manager extension section to mention Nemo in addition to Nautilus, and I'll try to fill in whatever else I spot, or as much as I can.
can anyone think of any input options besides newline entry and emoji input that should be listed there?
I think we have a keybinding for sending, don't we? Ctrl+Return or something?
Nah, just plain Enter sends (hence Shift+Enter)... though I suppose it couldn't hurt to mention that, anyway.
Edit: Added.
Sorry for the late reply, thanks for adding that.
there are no plans to change the entry widget itself at this point.
Do you mind if I open an issue to track interest in this? I would really appreciate the feature.
We can re-open this one, but I still don't have any plans to do this. Dealing with GtkTextView is not fun at all, and writing a custom widget even less so.
Understood. I just think it can be good to have an issue that people can +1 if they want the feature, as an "outlet" if you will.
So let it be known: :+1: this comment if you want a mutliline SMS input widget (or, better yet, open a PR :stuck_out_tongue_winking_eye:).
There is, of course, the additional wrinkle that using a multiline widget would _preclude_ the current widget's Enter-to-send mapping, changing the established functionality of the SMS entry field.
(Sure, with a little hoop-jumping you can probably manage a Shift- or Ctrl-Enter binding for newlines, and still use Enter to send the message. But that seems like it risks and a lot of accidental partial sends and confused users, because a multiline widget generally implies the ability to type multiple lines using Enter.)
I can't speak to the technical challenges, as I've never worked with GTK, but I think ideal UX would be:
That's how messages.google.com/web works, for what it's worth.
I think the second point (initial height = 1) and last point (no resize handle) go a long way toward communicating to the user that Enter will send the message.