libreoffice-online/kit
Michael Meeks 7a02a8c24e 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>
2020-11-14 19:56:09 +03:00
..
ChildSession.cpp Remove pseudo-code pushed in error. 2020-10-26 19:59:55 +00:00
ChildSession.hpp wsd: encapsulate watermark details 2020-11-11 08:14:42 +01:00
Delta.hpp fix license headers 2020-10-01 11:56:43 +02:00
DummyLibreOfficeKit.cpp fix license headers 2020-10-01 11:56:43 +02:00
DummyLibreOfficeKit.hpp fix license headers 2020-10-01 11:56:43 +02:00
ForKit.cpp fix license headers 2020-10-01 11:56:43 +02:00
Kit.cpp Ensure consistent canonical view id accounting between wsd and kit. 2020-11-14 19:56:09 +03:00
Kit.hpp fix license headers 2020-10-01 11:56:43 +02:00
KitHelper.hpp fix license headers 2020-10-01 11:56:43 +02:00
SetupKitEnvironment.hpp fix license headers 2020-10-01 11:56:43 +02:00
TestStubs.cpp fix license headers 2020-10-01 11:56:43 +02:00
Watermark.hpp wsd: support line-breaks in watermark text 2020-11-11 08:14:42 +01:00