Opened 10 years ago
Last modified 9 years ago
#40158 reviewing defect (bug)
Plupload bug with Firefox and Mac OS where the user can't select .jpeg files
| Reported by: | stiofansisland | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | External Libraries | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
Description
NOTE: Core currently uses Plupload version 2.1.8, this bug is solved in version 2.2.1 + (latest stable is 2.3.1).
The bug
If plupload is limited to jpg/jpeg images and a user using FireFox and Mac OS tries to select images, all the .jpeg images are grayed out and not selectable, a user can select .jpg files but not .jpeg ones.
Bug Example
(You need to be running FireFox on Mac OS to recreate)
http://jsfiddle.net/sr8jarsc/1/
Solution
Update the Plupload version to 2.2.1 or greater
Example: http://jsfiddle.net/mr31zw6L/1/
Attachments (1)
Change History (24)
#2
in reply to: ↑ 1
@
10 years ago
Replying to bor0:
I (almost) have a patch ready, but can you please share the 2 images you're trying to upload so that I can test?
It seems to just go by extension so any .jpg and any .jpeg images will do.
Thanks,
Stiofan
#3
@
10 years ago
- Keywords has-patch added
Was able to reproduce this. Added diff that updates the version of the library. Feel free to use https://gist.github.com/bor0/c1f47e46bf9824746ac06a5a4ac76b6f for testing. Note that this issue is only reproducible on Firefox.
#4
@
10 years ago
- Component Upload → External Libraries
- Milestone Awaiting Review → 4.8
- Version trunk
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
10 years ago
This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.
10 years ago
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
10 years ago
This ticket was mentioned in Slack in #core by desrosj. View the logs.
9 years ago
This ticket was mentioned in Slack in #core by obenland. View the logs.
9 years ago
#18
@
9 years ago
@obenland why so? this bug is related to other bug - chrome + non-standard TLDs too - media select bug https://core.trac.wordpress.org/ticket/40207
#19
@
9 years ago
@wpcachepress The milestone was changed because WordPress 4.8 will probably be released today and this patch still needs testing.
#20
@
9 years ago
Unfortunately Plupload version 2.2.x and newer are released under the AGPLv3 license which is incompatible with GPLv2. We can update to the latest GPL Plupload, version 2.1.9. See #41755.
#23
in reply to: ↑ 22
@
9 years ago
Replying to stiofansisland:
2.1.9 is the latest version we can bundle. From there on we will have to fix any bugs ourselves.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I (almost) have a patch ready, but can you please share the 2 images you're trying to upload so that I can test?