Open brunobsouzac opened 9 years ago
@auchri thanks
If it's a duplicate, the best is to close this :P
Yes. Or close the old one :stuck_out_tongue_winking_eye:
It is a duplicate, true. But more recent and images, it would be an attractive best perhaps. It's a question that few put only makes sense since the client is for desktop. What do you think?
I mentioned in #414
It's a safety issue, but it makes sense to have this option as it is focused on the desktop. A user get the smartphone to take pictures becomes much more complicated and we should focus on usability for both desktop and mobile. The telegram it is in need of a reformed, be simple, safe and objective.
Take a picture using the webcam also opens a possibility being requested by users is video calls and connections as well as Skype, but open, simple and secure. Of course the community will decide this with time.
what do you think of this idea ?? looks at the end of the reviews (I decided to make a mockup using the paint) https://github.com/DrKLO/Telegram/issues/1147#issuecomment-111154097 New UX/UI Design
Is this feature planned for future releases?
@corb06 I hope so. And that puts the shortcut ctrl + space to send voice messages instead of pressing and holding the audio button
+1 for screenshot capture Line has this function in desktop Also, should rename the title as #838 is closed
Yeah as of now all issues regarding selectable screen area for capture and send has been closed.
I will have to reopen another one.
This is almost a must already. I see no reason why the mobile version sends photos with any problem, while the desktop one has security issues with that! ¿Why? A lot less secure is to be able to send files!!
Having video calls would be great, but I think it should be required as a different issue, if it hasn't been already.
I see no reason why the mobile version sends photos with any problem, while the desktop one has security issues with that!
Who says something about security issues?
But he is not a member of the telegram team, so it is not necessarily true what he says :wink:
And a few more I don´t want to search now.
Who are still nobody. So please, leave the dev wonder how to implement straightforwardly something so code-burdening.
I leave them all do whatever they have to do. And I hope they are able to implement something asap! This would be a very nice functionality to have! Best regards!
Tdesktop has ffmpeg as dependency (used to e.g. converts gifs to mp4s). It shouldn't be difficult to use it for webcam input, as It includes support for directshow and v4l2.
Oh, why not? I'm actually quite surprised that you can use the microphone to record sounds but you cannot use the webcam to take pictures and record videos.
I also like the ability to take a screenshot. Perhaps the menu can be expanded, like how you see it in mobile:
Camera should show a webcam window in the middle of Telegram window, and activate the webcam of the computer. Press to take a photo, or hold to record a video.
Photo/Video should open the dialog to select files. The filter should be 'Images and Video Files'. Videos could be compressed as well before sending, rather than sending huge files.
Screenshot should minimize Telegram window and activate an overlay where the user can drag a section of the screen to take a screenshot. If user held Ctrl while clicking Screenshot, or right-clicked Screenshot, Telegram window should not minimize but stay on screen (to be included in screenshot if user desired). There should be a guide for first-time activation of this feature to tell the user how to use it (including the Ctrl/right-click modification).
PS: I don't really understand the security argument against webcam access, since messengers like Skype, Yahoo Messenger, etc are normally expected to be able to access webcam as part of their normal messaging experience, and one would expect the same with Telegram as a messenger. In fact, Telegram on mobile has full access to both cameras on a phone - including a recently introduced "previewing shortcut" to the Telegram's internal camera function. If a user is really paranoid about their faces being recorded in secret, they can disable Telegram's access to the webcam hardware, they can disable the webcam hardware or they can even physically block the webcam's aperture from capturing any light (there are those sliding window thingies to stick on a laptop webcam aperture you can find nowadays). But to suggest that you inconvenience everyone else with having to go through a whole lot of hoops to achieve such a simple functionality, JUST so that your paranoia is well served and taken care of is downright ridiculous.
Will this functionality be made?
Few days ago the battery of my mobile phone was exhausted, no gps, so i had to take a photo with windows camera application and send it with telegram, this way we can save time :)
Open source multiplataform library for this https://opencv.org/
Duplicated or not, secure or not. Telegram needs this two:
This is actually quite insane that it's not implemented yet!
Facebook for the web can even do it, let alone any other standalone messaging app which you install.
Can we either get the go-ahead to implement this or a solid reason why not?
It seems to just be getting ignored because someone doesn't agree with the rest of us about this, but not actually providing any concrete reasoning...
@Kyrluckechuck The reason is I'm not ready to add a QtMultimedia dependency (last time I checked it brought a hard dependency on libpulse and if I add that it won't be able to run on non-libpulse systems anymore) and without QtMultimedia it is not that easy to add webcam support in all supported systems. And I have no spare time for that :(
@john-preston Thank you for the response, that helps add some reasoning to it.
So I assume that if someone else were to create a pull request about this that didn't force the libpulse dependency it would likely get the A-OK?
Is the hesitation with requiring libpulse for building or for runtime usage on unix-like systems?
@Kyrluckechuck The problem with libpulse is that if it is a static dependency and someone without libpulse will autoupdate tdesktop his version will be replaced with one that won't launch on his system anymore.
If someone makes a PR that adds a way to take a photo from a webcam and it won't add new static dependencies, this will be cool. It even can work not in all cases (not on all platforms / versions / DEs), but it should work at least on modern Windows / macOS versions and it should provide a way to check if it will work or not (so that UI elements could be hidden and so on), without bad user experience (like there is always a button, but no one knows will it work or not if clicked).
Absolutely, that makes total sense.
Thanks for the information, hopefully this will help move a PR along!
Hey @john-preston, I don't understand: what happens if a new version of tdesktop starts depending on libpulse0? What if qtcore starts depending on something new? At some point you will need to add or remove or update dependencies, right? Let's see if I get it: this is in the case of people autoupdating the tdesktop binary. What happens if someone installs tdesktop without installing all the Qt libraries, for example? Isn't it the same case?
(I don't see this myself because I install tdesktop using apt or flatpak, never compiled myself or used upstream binaries if they exist)
@jmallach Qt is linked statically. I don't think QtCore / QtGui / QtWidgets / QtNetwork will start depending on non-statically-linkable dynamic library.
What happens if someone installs tdesktop without installing all the Qt libraries, for example? Isn't it the same case?
Qt is statically linked and therefore not needed on the system. It dynamically links only against these.
librt.so.1
libdrm.so.2
libz.so.1
libICE.so.6
libSM.so.6
libfontconfig.so.1
libfreetype.so.6
libEGL.so.1
libGL.so.1
libxcb.so.1
libX11.so.6
libX11-xcb.so.1
libdl.so.2
libglib-2.0.so.0
libpthread.so.0
libm.so.6
libgcc
libc.so.6
ld-linux-x86-64.so.2
Ah, I see. So how do you deal with a system not having libglib or libfontconfig installed? Or do you consider all systems running a desktop environment will surely have those two? (I ask because I thought libpulse was pretty much the norm these days, too)
5 years and still not implemented. Whatsapp have had this feature for many many years
5 years and still not implemented. Whatsapp have had this feature for many many years
whatsapp "desktop" have support of take photo? :)
5 years and still not implemented. Whatsapp have had this feature for many many years
whatsapp "desktop" have support of take photo? :)
Yepp! 2 clicks and photo taken.
This should be at the top of the list for addition if you want to be a good communication tool, especially in the 21st century every communication app has video call/screenshare expect this one!! makes it hard to switch when you like to video call your friends
It would already be a great feature. Especially because people under Sailfish, UBPorts, fedora or Mobian use telegram desktop on their phones 😉 there a camera device is nothing more than a webcam. in terms of security, access can still be limited via bw. At least on Linux.
Yeah, telegram is not really quick on adding new features, that's for sure. But then again their team is not as big as Facebook owned WhatsApp's, I think...
Please! We need to do all actions in all paltforms to this important request.
this would be a great feature
It's 7th March and... still nobody is assigned? Guys, what the "serious rubbish" you're busy with that this high demand feature still hangs w/o attention? You made chat client and obviously "take pic from camera" is quite needed feature. I request to pay MORE attention to this.
WinKey+Shift+S can get screenshot or use PrintScreen and some others in Windows. But of cause we need some for Linux. And yes, we request a feature to use camera.
It's 7th March and... still nobody is assigned? Guys, what the "serious rubbish" you're busy with that this high demand feature still hangs w/o attention? You made chat client and obviously "take pic from camera" is quite needed feature. I request to pay MORE attention to this.
I totally agree
Yes please... I would really like to be able to take a picture with my laptop webcam, similar to my iPad and iPhone...
Yeah, telegram is not really quick on adding new features, that's for sure. But then again their team is not as big as Facebook owned WhatsApp's, I think...
Let's be real here. WhatsApp still does not have even an iPad app. The only "innovation" I have seen from them in recent memory is that they have implemented a progressive get-shittier-or-agree-to-our-new-abusive-terms system, which I haven't tried, but I think their big team is just enough to get it right.
This should be at the top of the list for addition if you want to be a good communication tool, especially in the 21st century every communication app has video call/screenshare expect this one!! makes it hard to switch when you like to video call your friends
Totally agree, this should be top on addition list. Please add it, would be an awesome feature
https://github.com/telegramdesktop/tdesktop/commit/3cb595c3c9add29d0f2fa6cfa760de1df9594fa7
maybe this code can be updated to allow to take photos with any place?
+1
maybe this code can be updated to allow to take photos with any place?
Huh, that looks pretty promising. Now that I think about it, how are video calls handled in the app? Since they already have a way to connect to the camera, I would assume that @john-preston's worries about the dependencies in 2018 don't apply anymore. Anyhow, I'm sure the profile picture code could be abstracted into a common camera access for both video messages and pictures (although the video messages are probably harder)
Sometimes I want to take a photo by Telegram Desktop, but there is only the option to send a photo. you can use the webcam to take a picture would be ideal. Something more elaborate and will be asked here a while is the links and video calling. Could release the webcam for video calling as it is more interesting in the desktop Smartphones.
Thank you for all devs!