Last modified: 2014-05-29 19:46:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64293, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62293 - VisualEditor: When an image has a full size which is smaller than the default size, it does not set the default size to the value of full size
VisualEditor: When an image has a full size which is smaller than the default...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-05-22
Assigned To: Moriel Schottlender
:
Depends on:
Blocks: ve-mediasupport
  Show dependency treegraph
 
Reported: 2014-03-06 00:17 UTC by Rummana Yasmeen
Modified: 2014-05-29 19:46 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot (50.51 KB, image/png)
2014-03-06 00:17 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-03-06 00:17:08 UTC
Created attachment 14752 [details]
Screenshot

Steps to reproduce:

1.Open a page with VE
2.Add an image which has an full size less than the default size for example: http://en.wikipedia.beta.wmflabs.org/wiki/File:FS_barnstar.png
It has a full size of 111x107 px which is less than the default size 220x212 px

3.Now if you switch to set to custom size , it will show Size values are invalid as it is larger than the full size.

Page:http://en.wikipedia.beta.wmflabs.org/wiki/Betachrome5th?veaction=edit
Comment 1 Gerrit Notification Bot 2014-03-06 05:02:02 UTC
Change 117161 had a related patch set uploaded by Mooeypoo:
Enforce width-only default size only on larger images

https://gerrit.wikimedia.org/r/117161
Comment 2 Gerrit Notification Bot 2014-03-10 21:32:05 UTC
Change 117161 merged by jenkins-bot:
Enforce width-only default size only on larger images

https://gerrit.wikimedia.org/r/117161
Comment 3 Rummana Yasmeen 2014-03-11 23:56:18 UTC
I can still reproduce this bug for the same image on that page when I switch from "Set to default size" to "Set Custom Size"
Comment 4 Gerrit Notification Bot 2014-03-12 03:10:13 UTC
Change 118231 had a related patch set uploaded by Mooeypoo:
Deal with images whose size is smalled than default

https://gerrit.wikimedia.org/r/118231
Comment 5 Gerrit Notification Bot 2014-03-12 18:10:52 UTC
Change 118231 merged by jenkins-bot:
Deal with images whose size is smalled than default

https://gerrit.wikimedia.org/r/118231
Comment 6 Rummana Yasmeen 2014-03-12 18:32:18 UTC
Verified the fix on :http://en.wikipedia.beta.wmflabs.org/w/index.php?title=12thmarchchrome&veaction=edit
Comment 7 Rummana Yasmeen 2014-03-15 01:20:09 UTC
Verified the fix on test2:https://test2.wikipedia.org/w/index.php?title=User:RYasmeen_%28WMF%29/sandbox&veaction=edit
Comment 8 Rummana Yasmeen 2014-03-20 21:19:38 UTC
Verified the fix in production: https://en.wikipedia.org/wiki/User:RYasmeen_%28WMF%29/sandbox?veaction=edit
Comment 9 Rummana Yasmeen 2014-04-14 23:25:34 UTC
This bug is happening again now in Betalabs and test2 for the image File:Ló_heraldika.png
Comment 10 Moriel Schottlender 2014-04-16 20:24:25 UTC
I can't replicate on master with the same image [[File:Ló_heraldika.png|thumb]]

It appears in the proper size, which is much smaller than the default.
Comment 11 Rummana Yasmeen 2014-05-08 18:19:07 UTC
This is still happening:

Getting the error message "Size values are invalid" when I switch to custom from default tab.Also, also the default size is appearing as 220x245 px where as the full size of the image is 71x79 px (smaller than the default size)
Comment 12 Moriel Schottlender 2014-05-21 06:19:39 UTC
Just tested this again with the new MWImageModel, and it seems this bug is fixed.

I tested on both Ló_heraldika.png and FS_barnstar.png with quick changes to the size (as before). Works properly for me in labs.
Comment 13 James Forrester 2014-05-21 19:50:22 UTC
Provisionally marking as FIXED, then. :-)
Comment 14 Rummana Yasmeen 2014-05-21 19:56:36 UTC
Yes, I checked it with those images on Betalabs and looks like it got fixed with https://gerrit.wikimedia.org/r/#/c/120808/
Comment 15 Rummana Yasmeen 2014-05-23 01:29:43 UTC
verified the fix in test2
Comment 16 Rummana Yasmeen 2014-05-29 19:46:39 UTC
Verified the fix in production

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links