ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Adrek on September 07, 2014, 02:15:30 pm

Title: Chrome (for Android) can't download attachments?
Post by: Adrek on September 07, 2014, 02:15:30 pm
If anyone can check this it would be great.

Latest Google Chrome on Android can't download any files from attachments here, it works fine on RC2, but here AFAIK you have some newer version from git. I checked it on my forum, on SP forum (just to be sure that it's not my phone ::)) and and it works fine there. Here I get error that file cannot be downloaded.

Firefox for Android does not have this issue.
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 07, 2014, 03:35:05 pm
hmm... I tried to use Chrome on the android VM I have, but I can't run it, so I'm out of luck on that one...

I don't remember any change that would affect downloads, but I can't be sure.

Can you see the images thumbnails?
And if you click on the image what happens? Something different than when you click on the download link?
Title: Re: Chrome (for Android) can't download attachments?
Post by: Adrek on September 07, 2014, 03:38:43 pm
Here for example: http://www.elkarte.net/community/index.php?topic=1124.0
Image is open in new tab, but CSS file can't be downloaded.
Title: Re: Chrome (for Android) can't download attachments?
Post by: Feline on September 12, 2014, 09:24:48 am
true.. don't work with the new chrome for android...
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 14, 2014, 08:10:04 am
Can you try with the two attachments here?
Just to try some different kind of attachment.

Also, apart from the preview, could you try this link and see the result?
http://www.elkarte.net/community/index.php?action=dlattach;topic=1124.0;attach=775

Thanks!
Title: Re: Chrome (for Android) can't download attachments?
Post by: Adrek on September 14, 2014, 08:36:00 am
Both can't be downloaded in mobile Chrome, for FF works fine.
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 14, 2014, 08:44:01 am
Do you get any error?
Or an empty page or...?
Title: Re: Chrome (for Android) can't download attachments?
Post by: Adrek on September 14, 2014, 09:29:19 am
all I get is notification from browser, file is not created.
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 14, 2014, 09:50:36 am
Okay, that looks like the header if not recognised for some reason.

And the link I posted? Same result?
Title: Re: Chrome (for Android) can't download attachments?
Post by: Adrek on September 14, 2014, 10:03:48 am
yes,also error
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 14, 2014, 12:02:18 pm
Just of test, can you try to logout and start the download afterwards?
Title: Re: Chrome (for Android) can't download attachments?
Post by: Adrek on September 14, 2014, 01:17:20 pm
the same error
Title: Re: Chrome (for Android) can't download attachments?
Post by: Feline on September 18, 2014, 07:41:43 am
A simple hint from me .. look at SMF 2.1 code .. download works perfect  ;D
Title: Re: Chrome (for Android) can't download attachments?
Post by: Spuds on September 18, 2014, 10:25:58 am
Its a problem with BB and android chrome, still looking in to it
Title: Re: Chrome (for Android) can't download attachments?
Post by: Spuds on September 18, 2014, 10:52:51 am
Found the error in BB and applied a fix here, it fixed it for my Nexus tab so please give it a try and see if it fixes it for other droid devices as well.
Title: Re: Chrome (for Android) can't download attachments?
Post by: Adrek on September 18, 2014, 10:56:08 am
Now downloading in Chrome works fine, good job Spuds :)
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 18, 2014, 10:57:01 am
AHA!
I always forget about BB...
Title: Re: Chrome (for Android) can't download attachments?
Post by: emanuele on September 18, 2014, 11:08:00 am
Tracked for the record: https://github.com/elkarte/Elkarte/issues/1822
Title: Re: Chrome (for Android) can't download attachments?
Post by: Spuds on September 18, 2014, 12:33:08 pm
Cool, I'll try to get BB to make an update (issue reported and denied :P ), if I have no luck I'll make a PR to fix it.
Title: Re: Chrome (for Android) can't download attachments?
Post by: Feline on September 18, 2014, 01:40:12 pm
Quote from: Spuds – Found the error in BB and applied a fix here, it fixed it for my Nexus tab so please give it a try and see if it fixes it for other droid devices as well.
Seems to work now ..
Title: Re: Chrome (for Android) can't download attachments?
Post by: Mstcool on September 18, 2014, 04:35:47 pm
Mine works.  :P