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
When saving media files to disk (video/photo). Wrong message pops up: "saved in media" #11759
Comments
I would like to fix it. I m on it |
I had a look at this on Friday night (My first day running the code :) ), but since @MouadhKh actually was the first to jump in, I would like to share my analysis: @snooppr The exact message seems to be "Saved to media" extracted from the String resources and appended at this line on post-execution. @MouadhKh The actual directory was encapsulated in other objects i.e. from dir to contentValues map shown below, datapath as '_data': I guess the plan was to insert into Context at this line for future retrieval? The saved directory data seems retrievable with the use of a call to retrieve the Cursor from the Uri the path is encapsulated in, as follows: I suspect the UX decision on how long that path can be allowed to be on the printed Toast message to the user may be intentional. May need to be discussed in the Android UX feedback section of the forum here first? I wonder... Why do I say that? Well it seems that the appended suffix text 'media' in "Saved to media" is actually a shortened output of the mediaUri. I was unsure of what the best way to deliver it so I am glad I'll get to watch the agreed resolution here by you guys! |
I appreciate your help. I like the suggested approach. I will implement it and would appreciate it if you give me feedback. |
Hey @MouadhKh, Unfortunately it might not be a PR worth our time...
@snooppr If you feel I'm a bit unfair, could you maybe raise it in the UI/UX forum? @MouadhKh I really want to contribute but I'm finding it hard to go through 1400 issues, and finding a true issue, as there's also 200+ PRs awaiting approval for up to 3 years... It saddens me that this is the reality of this great app which can do a lot better. Hope you find one. |
@Aeonitis Hi! |
@snooppr I don't understand the hostility. I don't think you read what I wrote. It shows, with the fact that you order me for the files needed while I already did. Hope you have a better day. |
There is no animosity. (my language is not English, possibly google translate added AI rage). I wanted to convey simple thoughts: add information to the documentation 'where to find downloaded files' (in case of impossibility to fix it). I am not registered on the Signal forum (registration is not required). Wonderful continuation of the day. |
Hello :) Maybe it would help if there is a button or any form of interaction to open the just saved image in that directory Not every user understands, where the image is saved and i think not beeing able to open the image is restricting the user i will also open a ticket in the UI forum Have a good day :) |
@alpy91 that's the right thing to do. The reason is that depending on which Android device and storage configuration is used, the storage directory will not always be the same. For example, my phone saves it in the "/storage/emulated/0" folder... To the normal non-technical Signal user, they wouldn't know what 'emulated' means, what '0' means or if you saved it in their SD card or even what 'Internal Storage' means. To be honest, just because I prefer what @snooppr wants for myself, I don't think that Rule 2 in the contributing guidelines will respect that choice. Let's see what the UI/UX forum decides, it's the best next step for now. In a perfect world, Android OS would cut that technical lingo and explicitly state simple drive names in their Operating System API, in terms like 'Main Storage' and 'SD Card'. |
I would like to get your feedbacks |
I have just noticed that my IDE automatically changed the code formatting. I will fix this ASAP |
I created a new PR without changing Signal initial code formatting. Please review the solution. Thanks |
@snooppr can you give it a look please ? thanks |
You need to ask the Signal developers a question (I myself am surprised by this attitude from the Signal developers). I can only see the patched version in a compiled, finished form. |
It would be nice if a signal developer give it a look. I think the feature is quite helpful and i m excited to bring it to production( i m ready to make changes if needed obviously) |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I came across this issue because I had to google where Signal would store my saved images. |
When saving media files to disk (video/photo). Wrong message pops up: "
saved in media
"The problem is that Android has a directory
/data/media
and/storage/emulated/0/media
, and when checking these directories, the downloaded video files are not found.The documentation also lacks information where the media files are downloaded and you have to manually search for the directory with the saved data (exactly the path).
Solution to the problem: when saving files to disk, instead of "
saved in media
" specify the explicit directory :: "saved in /storage/emulated/0/Movies
".It is the same for other file types.
The text was updated successfully, but these errors were encountered: