-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve image support #3282
Comments
The server has separate limits for maximum text message length and maximum image message length. Drag and drop has the issue of where it should be sent; the current channel, the selected channel, or one the user wants to select? I believe we recently removed support for link-external-embedding images via href in 1.3.0 [IIRC], as that allows users to send prepared links and the users IP address will be leaked to the web server hosting the image. A potential privacy and security issue. Sending images should offer to resize images to more manageable sizes. When dropping a 5MB UHD image mumble should offer to send a resized version. |
Perhaps the image when shrunk down to a more manageable size could link back to a full size picture originally fetched? |
Maybe #3597 is another way to handle the image. |
For completeness' sake, the situation seems to have slightly changed on latest master:
Another idea I'm throwing in here in case it helps: if loading external images (by URL) is allowed again, protecting clients could happen by making all images (both external and internal) not automatically load until a client consents to it through an overlay button, which is what mail clients do.
The ability to paste images could also use some additional exposure in the UI. I've been using Mumble for years and only just figured out that it exists 😄. |
#4632 is currently working on improving the down-scaling behavior of images. They still are scaled down if they exceed the maximum image size allowed by the server's settings but this is no checked explicitly and the images are not automatically resized to a fixed size.
Any suggestions for this? :) |
Great to hear!
Well, I'm no designer or UX expert, but maybe a good first start would be to take a page (steal 😄) from Dino? This is the chat input field Dino shows:
Icons could be shown at the end rather than the start, if preferred. Another idea may be to change |
At the end of the day, I think the root of the problem is Mumble's text message function is too simple. We don't keep the history of channel messages, transmit everything as HTML (even for images we just encode it with base64...), and the widget used to render messages is just some basic HTML widget from Qt... Basically, if we don't support other methods and enhance the protocols, there's no simple way of transferring images and files. If we don't have a backend that keeps track of the message history, there's no way and no point to cache/proxy images and to share files. I don't know if it is me only or not that feel the chat box is so ugly... and the way to send direct messages to other users is so cumbersome (right-click and Send Messages) and the message compose box is strange as well. Can we have a more consistent method, like what Element Web App would do, display the name and avatar of the user in the input box when sending direct messages? It is totally possible to customize the widget we are using further and make a beautiful plus modern UI with Qt. But I wonder if we customize more, in the end, QSS would no longer do the job and we have to hard-code color and other UI properties in the code. Maybe To summarize, in order to have a better text chat experience, we need to consider:
These problems are entangled. There's no way to solve one of them without solving all of them. |
I agree that the chat functionality could use a (major) overhaul. For that it will probably turn out to be useful to go beyond pure HTML messages and on the UI side, we definitely want to go beyond a single HTML viewer. The least thing that is required is something that has already been started to be implemented in #3465 For persistent chat messages (aka message history) see also #2560 |
The behavior I currently experience with posting images:
The ideal scenario:
I am willing to pay a bounty for these.
The text was updated successfully, but these errors were encountered: