snapdrop icon indicating copy to clipboard operation
snapdrop copied to clipboard

Bug with Firefox while receiving file

Open laukeng opened this issue 3 years ago • 2 comments

I have fixed the bug with Firefox while receiving file. https://github.com/laukeng/snapdrop When Firefox receives files, if it loads the page befor the sender, the received packet type is Blob. If Firefox loads later than the sender, the received packet type becomes Arraybuffer.Other browsers don't have this problem,no matter who opens it first, the received packets are Arraybuffer type. I don't know why. Edit network.js,goto _onChunkReceived() Just modify it as follows: _onChunkReceived(chunk) { if(!(chunk.byteLength || chunk.size)) return;

laukeng avatar Nov 20 '21 08:11 laukeng

Thanks a lot. Now it works for me with receiving on Firefox again.

netadair avatar Jan 30 '22 18:01 netadair

الغاء الاشتراك

احصل على Outlook لـ iOShttps://aka.ms/o0ukef


من: Michael Rausch @.> ‏‏تم الإرسال: Sunday, January 30, 2022 9:15:58 PM إلى: RobinLinus/snapdrop @.> نسخة: Subscribed @.***> ‏‏الموضوع: Re: [RobinLinus/snapdrop] Bug with Firefox while receiving file (Issue #373)

Thanks a lot. Now it works for me with receiving on Firefox again.

— Reply to this email directly, view it on GitHubhttps://github.com/RobinLinus/snapdrop/issues/373#issuecomment-1025198953, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APYGGSIGMJZRJB2DM4W4STTUYV555ANCNFSM5INWIWLQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

sdo7h avatar Feb 05 '22 01:02 sdo7h