Last modified: 2011-09-15 00:24:33 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 T29603, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27603 - WikiEditor: Dialogs for inserting links get a few pixel wider every time called
WikiEditor: Dialogs for inserting links get a few pixel wider every time called
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
PC All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-21 09:55 UTC by Frozen-mikan
Modified: 2011-09-15 00:24 UTC (History)
4 users (show)

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


Attachments

Description Frozen-mikan 2011-02-21 09:55:45 UTC
Whenever a dialog for inserting links, a wider range of the dialog.

1. Open the Edit page.
2. Click on the link button in the editing toolbar.
3. to cancel the dialog that appears.
4. Repeat 2 and 3.

Then spread the width of each dialog that appears.

In the Japanese Wikipedia, reported the same.

I have confirmed the Japanese version and English version of Wikipedia.
Logging out is the same result.
Comment 1 Frozen-mikan 2011-02-21 13:05:18 UTC
Operating environment was confirmed.
OS is WindowsXP.
In IE8 and Google Chrome9 occurred.
But do not occur in Firefox3.6.13.
Comment 2 DieBuche 2011-04-18 09:03:34 UTC
Reproduced on Safari as well:
Close & reopen the dialogs repeatedly 
Width: 505px->510px->515px etc.
Comment 3 Bugmeister Bot 2011-08-19 19:12:57 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 4 Brion Vibber 2011-09-15 00:23:15 UTC
I can repro in Chrome on Linux...

Looks like it's happening in the resize function in jquery.wikiEditors.dialogs; there's some scary-looking code in there, but it look like the extra 5 pixels come directly from the wrapper div's .scrollWidth property.

Firefox reports 500, Chrome reports 505. So on Chrome we resize the dialog to 505px, then the next time we re-open it the scrollWidth reports 510, and the cycle continues.

This looks like an upstream webkit bug; may be related to http://code.google.com/p/chromium/issues/detail?id=34224 ...?
Comment 5 Roan Kattouw 2011-09-15 00:24:33 UTC
(In reply to comment #4)
> I can repro in Chrome on Linux...
> 
> Looks like it's happening in the resize function in jquery.wikiEditors.dialogs;
> there's some scary-looking code in there, but it look like the extra 5 pixels
> come directly from the wrapper div's .scrollWidth property.
> 
I wrote that code without any understanding of the box model, so I take full blame :D

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


Navigation
Links