Last modified: 2014-08-15 12:02:12 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 T51445, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49445 - IE9: intermittent: AFTv5 not appearing in beta labs
IE9: intermittent: AFTv5 not appearing in beta labs
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Matthias Mullie
: browser-test-bug
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-11 17:23 UTC by Chris McMahon
Modified: 2014-08-15 12:02 UTC (History)
2 users (show)

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


Attachments
AFT input form not appearing for IE9 (160.91 KB, image/png)
2013-06-11 17:23 UTC, Chris McMahon
Details

Description Chris McMahon 2013-06-11 17:23:20 UTC
Created attachment 12520 [details]
AFT input form not appearing for IE9

IE9 is sometimes not appearing for Aftpage on beta labs, see screen shot. 

After experimenting, this seems to be an intermittent issue.  Clicking "compatibility view" a few times can make the display of the AFTv5 feedback form appear sometimes and not appear other times.
Comment 1 Chris McMahon 2013-06-11 17:41:39 UTC
(10:27:31 AM) mlitn: oh; just checked IE9 again; for me, it works fine in compatibility mode, but does not in non-compat mode
(10:28:02 AM) mlitn: in non-compat mode, if flashes: form seems to be added and immediately removed
(10:28:08 AM) chrismcmahon: mlitn: Yes, which is the opposite of what you would expect.  I saw that as well.
Comment 2 Matthias Mullie 2013-06-12 11:25:53 UTC
I'm confused here.

Braindump:

* The AFTv5 form shows up, then is hidden again immediately. Only in non-compatibility mode, other mode (as well as IE8 & IE7 work fine)
* F12 developer tools shows that AFTv5 is actually there, but has a display:none
* Getting rid of the display:none using F12 developer tools, displays AFTv5 again, and it's fully functional

Temp. conclusion here: none of AFTv5's "can the form be displayed on this page" is the reason for the form not to be there; it is actually there.

* Judging from F12 developer tools, the display:none is on .articleFeedbackv5. The one in jquery.articleFeedbackv5.css, line 12. Wrapper inside an @media print {}

At this point, perhaps ResourceLoader is messing up the CSS, dropping or making something invalid out of the @media print (since it obviously not only displays on print). However, it should also be erroneous on other browsers.

* Capturing requests, I find ResourceLoader returns this: @media print{.articleFeedbackv5{display:none}} - looks like perfectly valid & correct CSS to me

At this point, I'm out of potential culprits. The CSS that is making the form disappear seems perfectly valid & should not be applied on a non-print media.
I'd blame IE9, but a quick "google" doesn't reveal similar issues.
Comment 3 Gerrit Notification Bot 2013-06-12 11:33:16 UTC
Related URL: https://gerrit.wikimedia.org/r/68157 (Gerrit Change I7ad82766845bd0a793b6c8dd8008c93a14d17cc3)
Comment 4 Gerrit Notification Bot 2013-06-12 11:33:18 UTC
Related URL: https://gerrit.wikimedia.org/r/68157 (Gerrit Change I7ad82766845bd0a793b6c8dd8008c93a14d17cc3)
Comment 5 Matthias Mullie 2013-06-12 11:34:41 UTC
Submitted a patch (https://gerrit.wikimedia.org/r/68157) that theoretically should override the display:none that is incorrectly being applied. Let's see if that fixes it.
Comment 6 Gerrit Notification Bot 2013-06-12 22:58:26 UTC
https://gerrit.wikimedia.org/r/68157 (Gerrit Change I7ad82766845bd0a793b6c8dd8008c93a14d17cc3) | change APPROVED and MERGED [by jenkins-bot]
Comment 7 Matthias Mullie 2013-06-19 17:55:59 UTC
Funny bug.

I just tested again now that the above patch has been merged.

To me, in IE9, AFT now does not show up in compatibility mode. It does in non-compatibility mode now.

This is the exact opposite of how it was prior.


The good news is that, in production, it works in both modes.

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


Navigation
Links