Last modified: 2012-08-23 18:43:37 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 T40655, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38655 - VisualEditor: White box syndrome strikes back!
VisualEditor: White box syndrome strikes back!
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2012-08-06
Assigned To: Rob Moen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-24 23:33 UTC by Krinkle
Modified: 2012-08-23 18:43 UTC (History)
2 users (show)

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


Attachments
Screenshot of the white box overlapping regular text while using the editor (35.33 KB, image/png)
2012-07-24 23:33 UTC, Krinkle
Details
Screenshot of the white box overlapping selected text in the editor (27.99 KB, image/png)
2012-07-24 23:33 UTC, Krinkle
Details

Description Krinkle 2012-07-24 23:33:17 UTC
Created attachment 10885 [details]
Screenshot of the white box overlapping regular text while using the editor

From time time to time a white square appears in the editor, overlaying/masking part of the text.

It can appear both when clicking/typing, as well as when selecting text. In the latter case it is even more visible due to the blue selection being interrupted by the box.

Debugging tells me it is the idle iframe idling in the bushes, pretending to be hidden.

Steps to reproduce:
* Open https://www.mediawiki.org/wiki/VisualEditor:Test in Chrome 20 (Mac)
* Switch to "Edit" mode
* Select a word in the editor
* Bolden it
* Click "Save Page"

Unexpected result:
* White box appears where the word was selected.
Comment 1 Krinkle 2012-07-24 23:33:47 UTC
Created attachment 10886 [details]
Screenshot of the white box overlapping selected text in the editor
Comment 2 Krinkle 2012-07-24 23:38:25 UTC
Though the iframe has width: 0; height: 0;, Chrome does not allow
zero-dimensioning an iframe.

Firefox has issues with display: none; (doesn't load it until it is in the
flow).

Initial testing shows that visibility: hidden; may be an outcome. Because that
makes it part of the flow, without being visible. Add that to the fact that it
is absolutely positioned, and it is basically not in the flow at all.
Comment 3 Rob Moen 2012-07-25 19:45:01 UTC
I am still unable to reproduce this in Chrome 20 and 22.
Though, hopefully is fixed by setting visibility hidden.
Patched in https://gerrit.wikimedia.org/r/16663.
Comment 4 Trevor Parscal 2012-08-22 22:18:45 UTC
The box ain't white this time, but it's stealing my clicks!
Comment 5 Trevor Parscal 2012-08-22 22:19:47 UTC
I made an attempt to resolve it, but it caused the same old issue in FireFox as always.

I7a69bac66c66ca1c0910f4adfda9a37cdac6f030
Comment 6 Rob Moen 2012-08-23 16:36:07 UTC
It's blue this time!! I'll take a shot at it.
Comment 7 Rob Moen 2012-08-23 18:43:37 UTC
Correction, when inspecting the iframe in the DOM, it is blue.   The issue has seemed to have vanished as Trevor and I were unable to reproduce it. 

Set height and width to 0 for good measure.
https://gerrit.wikimedia.org/r/21205

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


Navigation
Links