Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Ensure consistent canonical view id accounting between wsd and kit.
Confusion arose due to separate creation of session, and watermark property fetch from CheckFileInfo which happens in DocumentBroker::load which doesn't do a load. This happens in a subsequent 'load url=' message cf. global.js which can then race vs. the session creation. This causes mis-ordering of another unhelpfully shared Session, letting the view canonicalization list to get out of sync between the two processes. So instead - tell the view it's canonical id. An example of the problems of trying to share some unclear subset of the Session class between kit and wsd perhaps. Change-Id: I63dc30f9a047e3f889fd339b6aaf392b9fef37b9 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
- Loading branch information
Showing
3 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters