Last modified: 2014-07-24 16:52:13 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 T70048, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68048 - VisualEditor: [Regression pre-wmf14] The cursor stays enabled in readmode after saving a page
VisualEditor: [Regression pre-wmf14] The cursor stays enabled in readmode aft...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Initialisation (Other open bugs)
unspecified
All All
: Highest minor
: VE-deploy-2014-07-17
Assigned To: Trevor Parscal
:
: 68110 68116 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-15 18:13 UTC by Rummana Yasmeen
Modified: 2014-07-24 16:52 UTC (History)
6 users (show)

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


Attachments
Screenshot (117.48 KB, image/png)
2014-07-15 18:13 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-07-15 18:13:01 UTC
Created attachment 15944 [details]
Screenshot

After saving a page,cursor still remains enabled on readmode in Betalabs.
Comment 1 James Forrester 2014-07-16 16:33:07 UTC
*** Bug 68110 has been marked as a duplicate of this bug. ***
Comment 2 Rummana Yasmeen 2014-07-16 18:11:24 UTC
*** Bug 68116 has been marked as a duplicate of this bug. ***
Comment 3 Alex Monk 2014-07-16 21:31:53 UTC
<Krenair> So we're not destroying the surface, because the SaveDialog closing promise doesn't get resolved
<Krenair> it's rejected with "Cannot close window: window already closing with different data"
<TrevorParscal> Krenair: that's not good
<TrevorParscal> Krenair: have you identified why it doesn't get resolved?
<Krenair> Not past that error, yet
<Krenair> Even if I check !this.saveDialog.getManager().isClosing() before trying to this.saveDialog.close() it does that
<Krenair> It's fine if I check !this.saveDialog.getManager().closing instead though
<Krenair> well, then I get "Uncaught TypeError: Cannot read property 'getComputedStyle' of undefined", but the surface is torn down
<Krenair> TrevorParscal, want to investigate further?
<TrevorParscal> that's to do with removing the window from the dom before it's done with teardown
<TrevorParscal> I added code in my rewrite which used promises in init to wait for the window to close before removing things, I saw that same error
<TrevorParscal> maybe I missed something?
Comment 4 Gerrit Notification Bot 2014-07-16 23:46:55 UTC
Change 146984 had a related patch set uploaded by Jforrester:
Close the save dialog on teardown only, not on save

https://gerrit.wikimedia.org/r/146984
Comment 5 Gerrit Notification Bot 2014-07-17 00:00:53 UTC
Change 146984 merged by jenkins-bot:
Close the save dialog on teardown only, not on save

https://gerrit.wikimedia.org/r/146984
Comment 6 Rummana Yasmeen 2014-07-17 00:21:02 UTC
Verified the fix in Betalabs
Comment 7 Rummana Yasmeen 2014-07-18 21:46:38 UTC
Verified the fix in test2
Comment 8 Rummana Yasmeen 2014-07-23 20:18:00 UTC
This is happening again on Betalabs
Comment 9 James Forrester 2014-07-24 16:52:13 UTC
WFM – BetaLabs hiccup?

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


Navigation
Links