amanharwara / altus

Desktop client for WhatsApp Web with themes, notifications and multiple account support
GNU General Public License v3.0
476 stars 65 forks source link

Incorrectly saving pictures as JFIF #158

Open chk1xn opened 2 years ago

chk1xn commented 2 years ago

Not sure wether this happened prior to 4.4.2 but just noticed that when I save pictures, they're saved as type JFIF. However they are actually JPGs. Altus simply assumes/appends a wrong type?

(Running Altus on Windows 10 Pro 21H1.)

chk1xn commented 2 years ago

additional info: when I use the "download" icon, the type (jpep) is correctly picked. just when I right-click on the picture, the save-as dialog is opened with jfif.

amanharwara commented 2 years ago

That's weird. Altus doesn't explicitly append any filetype.

chk1xn commented 2 years ago

not sure what's happening on my win machine then. sent you some screenshots...

amanharwara commented 2 years ago

This could be an Electron-related bug. Is this still happening? Have you tried with a newer version?

chk1xn commented 2 years ago

Hi Aman,

yes, when right-clicking on images to download them, the prompted extension is still jfif. I just updated my 4.4.2 version to 4.4.4 to verify, no difference.

What I've also noticed: when using the download icon, the Windows file explorer uses a filename like "WhatsApp Image YYYY-MM-DD at HH:MM:SS.jpeg". When using right-click it's the cryptic blob's name that is displayed in the file explorer's header (and which is actually identical for both ways of saving).

Cheers, Chris

On 16.10.2021 06:17, Aman Harwara wrote:

This could be an Electron-related bug. Is this still happening? Have you tried with a newer version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amanharwara/altus/issues/158#issuecomment-944852892, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABM7JB2IATLQVEMSJYEYY73UHD4GJANCNFSM5DWXKJOA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.