Company Christmas Holidays
North American Headquarters in Miami, USA: Dec 25, 2015, Jan 1st 2016
European Headquarters in Muenster, Germany: Dec 21, 2015 until Jan 03rd 2016
Limited support is available during this period.
We at PROVISIO wish you Merry Christmas and a Happy New Year!

 

Bug Report: Chrome Upload from Webpage defaults to .txt file types instead of Custom Files

Reproduction

When using the upload file from webpages that have specific file types allowed to their upload link, the SiteKiosk Chrome browser defaults to first file extension the allowed list and the users must click the drop-down to see "All files".

The code behind the website upload button is:

<input type="file" class="file-form-element__input" multiple="" data-bind="event: { change: element.onFileSelected },
attr: attributes,
hasFocus: isFocused" id="attachment-upload-2" name="attachment-upload" accept=".txt, .rtf, .doc, .docx, .pdf, .odt, .htm, .html" title="Upload Resume">


The real website I'm having problems with is behind a login so, here is a test example that I created:
https://www.w3schools.com/code/tryit.asp?filename=GJBKKP073WI2

It works as intended on other computers with Chrome browsers, but is causing trouble on SiteKiosk computers running 9.8.5547 using the Chrome browser. When you try to upload a file on a SiteKiosk computer, it opens explorer and it defaults to which ever file type is first in the list (in my case .txt). You must click the file types drop down to then view all files.

I’ve tried many other websites with upload file capabilities and they all seem to function normally on the SiteKiosk PCs and show all files or just image files. See attached (SiteKiosk_BrowserIssue.pdf) for an example of after you have clicked upload link from SiteKiosk computer and an example from another computer not running SiteKiosk.

At this point, getting the html changed on the website is not possible. So, does anyone know why SiteKiosk with Chrome are not displaying "Custom Files" when trying to upload on a website using the input type= and accept= code or have suggestions on how to correct?

Thanks,
bmelzow

Description

When using the upload file from webpages that have specific file types allowed to their upload link, the SiteKiosk Chrome browser defaults to first file extension the allowed list and the users must click the drop-down to see "All files".

The code behind the website upload button is:

<input type="file" class="file-form-element__input" multiple="" data-bind="event: { change: element.onFileSelected },
attr: attributes,
hasFocus: isFocused" id="attachment-upload-2" name="attachment-upload" accept=".txt, .rtf, .doc, .docx, .pdf, .odt, .htm, .html" title="Upload Resume">


The real website I'm having problems with is behind a login so, here is a test example that I created:
https://www.w3schools.com/code/tryit.asp?filename=GJBKKP073WI2

It works as intended on other computers with Chrome browsers, but is causing trouble on SiteKiosk computers running 9.8.5547 using the Chrome browser. When you try to upload a file on a SiteKiosk computer, it opens explorer and it defaults to which ever file type is first in the list (in my case .txt). You must click the file types drop down to then view all files.

I’ve tried many other websites with upload file capabilities and they all seem to function normally on the SiteKiosk PCs and show all files or just image files. See attached (SiteKiosk_BrowserIssue.pdf) for an example of after you have clicked upload link from SiteKiosk computer and an example from another computer not running SiteKiosk.

At this point, getting the html changed on the website is not possible. So, does anyone know why SiteKiosk with Chrome are not displaying "Custom Files" when trying to upload on a website using the input type= and accept= code or have suggestions on how to correct?

Thanks,
bmelzow

Answer: (3)

Re: Chrome Upload from Webpage defaults to .txt file types instead of Custom Files 10/5/2020 2:26 PM
Hello,

Thank you for your inquiry. This behavior is reproducible. What you are experiencing, applies to the Chromium CEF Browser Engine 81 as it also happens in the Chromium CEF Test Browser 81 outside of SiteKiosk: [SiteKiosk 9.8.5463 uses Chromium 81.0.4044.138 Windows 32 Bit].

Here you can find the corresponding Chromium test application for download (unzip 2x and run the cefclient.exe in the "Release" folder) which is currently used in SiteKiosk 9.8.5463 (Chromium 81.0.4044.138 Windows 32 Bit):

http://opensource.spotify.com/cefbuilds/cef_binary_81.3.10%2Bgb223419%2Bchromium-81.0.4044.138_windows32_client.tar.bz2

It is most likely fixed in the coming SiteKiosk version releases that includes a new Chromium CEF version. Reason being when testing it with Chromium CEF 85, the issue is resolved. See:

http://opensource.spotify.com/cefbuilds/index.html

Best regards,
Andre.
Re: Chrome Upload from Webpage defaults to .txt file types instead of Custom Files 10/7/2020 12:10 AM
Do you know if there is a way that I can update Chromium on my current release of Sitekiosk 9.8.5463 so that I can fix this before the next release of SiteKiosk?

Also, can you tell me when the next version of SiteKiosk is expected to be released?

Thank you,
Billy
Re: Chrome Upload from Webpage defaults to .txt file types instead of Custom Files 10/7/2020 2:50 PM
Hi Billy,

This is not possible. You will need to update SiteKiosk itself to update the Chrome Browser. The date of the next release is not known but it is currently in the works. You can verify with our release notes which version would include a Chromium update: https://www.provisio.com/en-US/Downloads/VersionHistory.aspx.

Best regards,
Andre.