First context menu shown after opening the page is all broken.
Clicking elsewhere and then again in the previous place displays a normal context menu.
matmarex | |
Nov 2 2018, 3:12 PM |
F27069951: image.png | |
Nov 5 2018, 8:17 PM |
F27069456: image.png | |
Nov 5 2018, 7:47 PM |
F27030379: image.png | |
Nov 3 2018, 12:53 PM |
F27020213: image.png | |
Nov 2 2018, 3:12 PM |
First context menu shown after opening the page is all broken.
Clicking elsewhere and then again in the previous place displays a normal context menu.
Seeing this too, wonder if this is related to the issue I saw with the notices popup:
i.e. an OOUI regression? Was any OOUI popup code changed?
Locally bisecting it's definitely an OOUI regression, most likely https://gerrit.wikimedia.org/r/#/c/oojs/ui/+/467000/
Setting needsCustomPosition to true appears to fix this. Bartosz suggesting removing that check in the patch, but I'll leave it up to him.
I think this is not related to the other issue. I couldn't reproduce this under normal circumstances, but it does happen when you make your browser window ridiculously tiny (there has to be more space above the toolbar than below it):
Patch for that: https://gerrit.wikimedia.org/r/#/c/oojs/ui/+/471790 (not marking against this task since this is a bit off-topic).
Change 471796 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[oojs/ui@master] FloatableElement: Remove check for 'needsCustomPosition'
Change 471797 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] OOUI: Backport I407b0d6fe7b81465054b640d4b5ac4bf352a9901
@Esanders Thanks for debugging.
The issue can also be reproduced in the OOUI demo. Visit https://doc.wikimedia.org/oojs-ui/master/demos/?page=dialogs, open "PopupButtonWidget test" at the bottom, and uncheck "Use overlay". All of the popups will display below/forwards when opened for the first time, regardless of how they should be displayed.
Change 471796 merged by jenkins-bot:
[oojs/ui@master] FloatableElement: Remove check for 'needsCustomPosition'
Change 471797 merged by jenkins-bot:
[mediawiki/core@master] OOUI: Backport I407b0d6fe7b81465054b640d4b5ac4bf352a9901
Change 472080 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] Update OOUI to v0.29.4