Last modified: 2014-09-25 21:39:51 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 T72768, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70768 - VisualEditor: [Regression wmf21] Editor is displayed with two toolbars on second initialisation
VisualEditor: [Regression wmf21] Editor is displayed with two toolbars on sec...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Normal major
: VE-deploy-2014-09-18
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-12 12:49 UTC by Ritu Swain
Modified: 2014-09-25 21:39 UTC (History)
6 users (show)

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


Attachments
double Toolbars in VE (81.51 KB, image/png)
2014-09-12 12:49 UTC, Ritu Swain
Details
Screenshot (99.38 KB, image/png)
2014-09-12 21:29 UTC, Rummana Yasmeen
Details

Description Ritu Swain 2014-09-12 12:49:12 UTC
Created attachment 16453 [details]
double Toolbars in VE

Environment- Test2, beta

1> switch from Edit beta mode to Read mode notice the toolbar has slide down and is still visible in the Read mode.

2> Click on Edit beta again,the Editor is displayed with two toolbars.See screenshot.
Comment 1 Ritu Swain 2014-09-12 12:52:06 UTC
Browsers- FF and Chrome. Couldn't test on Safari.
Comment 2 Roan Kattouw 2014-09-12 17:39:15 UTC
I can't reproduce this. Does this also happen when you're logged out?
Comment 3 Ritu Swain 2014-09-12 19:07:36 UTC
(In reply to Roan Kattouw from comment #2)
> I can't reproduce this. Does this also happen when you're logged out?

I can reproduce it(tried with a clear cache). Yes, it happens even when i am logged out.
Comment 4 Rummana Yasmeen 2014-09-12 20:26:42 UTC
Ritu, can you share the link to the page where you are getting this, I can't reproduce it either.
Comment 5 Ritu Swain 2014-09-12 21:18:29 UTC
(In reply to Rummana Yasmeen from comment #4)
> Ritu, can you share the link to the page where you are getting this, I can't
> reproduce it either.

links-:
https://test2.wikipedia.org/wiki/User:Swainr?veaction=edit

http://en.wikipedia.beta.wmflabs.org/wiki/User:Swainr?veaction=edit
Comment 6 Rummana Yasmeen 2014-09-12 21:29:55 UTC
Created attachment 16454 [details]
Screenshot

Ok, so I reproduced it on my user page too.This is happening when you just have the following on your page:

 __NEWSECTIONLINK____NOTOC__
Comment 7 Roan Kattouw 2014-09-12 21:36:28 UTC
https://gerrit.wikimedia.org/r/160076 (the fix for bug 70770 fixes this too).
Comment 8 Rummana Yasmeen 2014-09-12 22:09:53 UTC
Verified the fix in Betalabs
Comment 9 Rummana Yasmeen 2014-09-15 23:31:45 UTC
Verified the fix in test2
Comment 10 Ritu Swain 2014-09-22 16:17:30 UTC
This issue is reappearing.

Steps-
1> in a blank page insert a Reflist or Notelist Template.
2> Save the page and reopen it in VE mode.
3> Now cilck on the Read tab. 
4> Repeat steps #2 and #3. Toolbars are getting added.
Comment 11 Rummana Yasmeen 2014-09-22 18:19:18 UTC
I cannot reproduce it following your steps.In steps 4, you mentioned to repeat step 2, what change have you done in the page for the second time to save it?
Comment 12 Ritu Swain 2014-09-23 15:35:11 UTC
(In reply to Rummana Yasmeen from comment #11)
> I cannot reproduce it following your steps.In steps 4, you mentioned to
> repeat step 2, what change have you done in the page for the second time to
> save it?

http://youtu.be/CNqxmnconN8
Comment 13 Rummana Yasmeen 2014-09-23 17:26:03 UTC
Ok thanks so much Ritu! I can now reproduce it.The following error appears in the console as well:
Uncaught TypeError: Cannot read property 'height' of null
Comment 14 Gerrit Notification Bot 2014-09-23 19:04:18 UTC
Change 162359 had a related patch set uploaded by Catrope:
Tolerate null boundingRect in all code paths in DesktopContext#updateDimensions

https://gerrit.wikimedia.org/r/162359
Comment 15 Gerrit Notification Bot 2014-09-23 19:04:24 UTC
Change 162360 had a related patch set uploaded by Catrope:
Don't drop 1px rects for FocusableNodes if all we have is 1px rects

https://gerrit.wikimedia.org/r/162360
Comment 16 Gerrit Notification Bot 2014-09-23 22:17:42 UTC
Change 162359 merged by jenkins-bot:
Tolerate null boundingRect in all code paths in DesktopContext#updateDimensions

https://gerrit.wikimedia.org/r/162359
Comment 17 Gerrit Notification Bot 2014-09-23 22:24:25 UTC
Change 162360 merged by jenkins-bot:
Don't drop 1px rects for FocusableNodes if all we have is 1px rects

https://gerrit.wikimedia.org/r/162360
Comment 18 Gerrit Notification Bot 2014-09-23 23:00:54 UTC
Change 162497 had a related patch set uploaded by Catrope:
Don't drop 1px rects for FocusableNodes if all we have is 1px rects

https://gerrit.wikimedia.org/r/162497
Comment 19 Rummana Yasmeen 2014-09-24 20:53:57 UTC
Verified the fix in Betalabs
Comment 20 Gerrit Notification Bot 2014-09-24 23:03:44 UTC
Change 162497 merged by Catrope:
Don't drop 1px rects for FocusableNodes if all we have is 1px rects

https://gerrit.wikimedia.org/r/162497
Comment 21 Rummana Yasmeen 2014-09-25 17:41:28 UTC
verified the backport in test2
Comment 22 Rummana Yasmeen 2014-09-25 21:39:51 UTC
Verified the fix in production

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


Navigation
Links