Last modified: 2014-07-08 20:17:19 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 T63282, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61282 - VisualEditor: Image size is shrinking to a dot size after exceeding a specific value while setting the image size
VisualEditor: Image size is shrinking to a dot size after exceeding a specifi...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Moriel Schottlender
:
Depends on:
Blocks: ve-mediasupport
  Show dependency treegraph
 
Reported: 2014-02-12 19:27 UTC by Rummana Yasmeen
Modified: 2014-07-08 20:17 UTC (History)
5 users (show)

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


Attachments
Screenshot (35.05 KB, image/png)
2014-02-12 19:27 UTC, Rummana Yasmeen
Details
This is how it appears in the review changes in the save dialog (23.05 KB, image/png)
2014-03-06 19:22 UTC, Rummana Yasmeen
Details
Reproduced on windows8-chrome (151.44 KB, image/png)
2014-03-10 19:10 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-02-12 19:27:03 UTC
Created attachment 14575 [details]
Screenshot

Steps to reproduce:

1.Open this page with VE:http://en.wikipedia.beta.wmflabs.org/wiki/12thfebchrome?veaction=edit

2.Go to the Media Settings for the image:[[File:Dau ho thoi Ho.png]]

3.Set the Width size of the image to 8000 and Apply changes (Works fine)

4.Set the Width of the image to 8000000 and apply changes (Still work fine)


5.Set the Width of the image to 80000000 and Apply changes 

Observed Result:
The image shrinks to a dot size in the VE mode


See the screenshot attached

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 
OS: MAC OS X 10. 8. 5
Comment 1 Moriel Schottlender 2014-02-24 20:53:51 UTC
I can't replicate the exact phenomenon, but it does seem to show an issue with maximum dimensions.

When I increase the size (even to the 80000000 width) I just get a humongous version of the stretched image. 

I'm looking into the conditions of limiting image scale size.
Comment 2 Gerrit Notification Bot 2014-02-24 21:59:08 UTC
Change 115307 had a related patch set uploaded by Mooeypoo:
[wip] Limit thumbnail dimensions in media edit dialog

https://gerrit.wikimedia.org/r/115307
Comment 3 Gerrit Notification Bot 2014-02-26 20:46:24 UTC
Change 115307 merged by jenkins-bot:
Limit thumbnail dimensions in media edit dialog

https://gerrit.wikimedia.org/r/115307
Comment 4 Rummana Yasmeen 2014-02-26 23:56:40 UTC
I can still reproduce this issue.
Comment 5 Gerrit Notification Bot 2014-03-05 03:52:50 UTC
Change 115939 had a related patch set uploaded by Mooeypoo:
[wip] Deal with 'none'/'border' and default size in media edit

https://gerrit.wikimedia.org/r/115939
Comment 6 Gerrit Notification Bot 2014-03-05 19:11:22 UTC
Change 115939 merged by jenkins-bot:
Deal with 'none'/'border' and default size in media edit

https://gerrit.wikimedia.org/r/115939
Comment 7 Rummana Yasmeen 2014-03-06 00:04:47 UTC
I can still reproduce this issue for the image :[[File:Dau ho thoi Ho.png]] with Frame and Basic Image type
Comment 8 Rummana Yasmeen 2014-03-06 01:36:45 UTC
Another page and image where I encountered this issue: http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Hateres&veaction=edit
Comment 9 Moriel Schottlender 2014-03-06 01:46:00 UTC
I see this image as a huge one. There is a bug here that the context menu is hidden outside the page (should be reported separately) but I don't see this as a dot-size.

Checked under Windows on Chrome version 33.0.1750.146 m and Firefox 27.0.1

In both cases, I see this image as humongous, which is exactly as it appears in the "view" mode. 

I can't manage to replicate the "dot-image" effect.
Comment 10 Rummana Yasmeen 2014-03-06 19:22:36 UTC
Created attachment 14761 [details]
This is how it appears in the review changes in the save dialog
Comment 11 James Forrester 2014-03-10 01:10:20 UTC
I can't replicate here; I set the image even up to "800000000000000000000" width and still it resized as "expected".
Comment 12 Rummana Yasmeen 2014-03-10 19:10:35 UTC
Created attachment 14785 [details]
Reproduced on windows8-chrome
Comment 13 James Forrester 2014-07-08 20:17:19 UTC
This looks like it's now fixed, I think.

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


Navigation
Links