Make WordPress Core

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)

40158.diff​ (283.9 KB ) - added by bor0 10 years ago.

Download all attachments as: .zip

Change History (24)

#1 follow-up: @bor0
10 years ago

I (almost) have a patch ready, but can you please share the 2 images you're trying to upload so that I can test?

#2 in reply to: ↑ 1 @stiofansisland
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

@bor0
10 years ago

#3 @bor0
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 @swissspidy
10 years ago

  • Component Upload → External Libraries
  • Milestone Awaiting Review → 4.8
  • Version trunk

#5 @swissspidy
10 years ago

#40207 was marked as a duplicate.

#6 @swissspidy
10 years ago

  • Milestone 4.8 → 4.7.4

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

#9 @azaozz
10 years ago

  • Owner set to azaozz
  • Status new → reviewing

This ticket was mentioned in ​Slack in #core by swissspidy. ​View the logs.


10 years ago

#11 @swissspidy
10 years ago

  • Keywords needs-testing added

#12 @azaozz
9 years ago

  • Milestone 4.7.4 → 4.7.5

Don't think we can merge this in time for 4.7.4-beta.

#13 @Otto42
9 years ago

#40207 was marked as a duplicate.

This ticket was mentioned in ​Slack in #core by desrosj. ​View the logs.


9 years ago

#15 @desrosj
9 years ago

  • Milestone 4.7.5 → 4.8

This ticket was mentioned in ​Slack in #core by obenland. ​View the logs.


9 years ago

#17 @obenland
9 years ago

  • Milestone 4.8 → Future Release

#18 @wpcachepress
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 @swissspidy
9 years ago

@wpcachepress The milestone was changed because WordPress 4.8 will probably be released today and this patch still needs testing.

#20 @azaozz
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.

#21 @azaozz
9 years ago

  • Keywords has-patch needs-testing removed

#22 follow-up: @stiofansisland
9 years ago

In my testing 2.1.9 did not fix the issue... The plot thickens :(

#23 in reply to: ↑ 22 @azaozz
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.

Note: See TracTickets for help on using tickets.