Page MenuHomePhabricator

VisualEditor: Language dialog launched from inspector doesn't open in a global overlay
Closed, ResolvedPublic

Description

Environment-test2

steps-

1> open a page in VE and open language inspector.
2> Click upon "English" in the inspector, to open the Language Selector dialog.
3> Now click on Language selector icon on top of the page, beside the username link (This extension is used for viewing pages in the language specified by the user's preferences).
4> Notice dialog saying "Select a Language" appears and the Language Inspector gets closed.But the Language Selector dialog(with two-letter code for languages) is still open.


Version: unspecified
Severity: minor

Details

Reference
bz68486

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:28 AM
bzimport set Reference to bz68486.

Those links at the top shouldn't be accessible when a dialog is open. The problem is that the language dialog is launched in a slightly different way to others because it is launched from an inspector, and isn't getting a 'global' overlay which would shield those links.

Change 149635 had a related patch set uploaded by Esanders:
Make the overlay used by the language dialog global

https://gerrit.wikimedia.org/r/149635

Change 149635 merged by jenkins-bot:
[BREAKING CHANGE] Fix ve.ui.Overlay classes

https://gerrit.wikimedia.org/r/149635

Hey Ritu, Can you specify the environment where you checked the fix?