sfx2: now has forwarding-mechanism for slots?

Lionel Elie Mamane lionel at mamane.lu
Sat May 11 15:34:27 PDT 2013


Context:
 fdo#63695 https://bugs.freedesktop.org/show_bug.cgi?id=63695
 i#51621   https://issues.apache.org/ooo/show_bug.cgi?id=51621

The fix for i#51621 (commit bdf02613) causes fdo#63695. The comment
added says:

        // don't call the activation handler if we don't have any slots we can serve
        // The activation handler is used to put the shell on the top of the dispatcher stack,
        // so it's preferred when slots are distributed.
        // Note that this is a slight hack, to prevent that we grab slots from the SfxDispatcher
        // which should be served by other shells (e.g. Cut/Copy/Paste).
        // A real solution would be a forwarding-mechanism for slots: We should be on the top
        // if we're active, but if we cannot handle the slot, then we need to tell the dispatcher
        // to skip our shell, and pass the slot to the next one. However, this mechanism is not
        // not in place in SFX.
        // Another possibility would be to have dedicated shells for the slots which we might
        // or might not be able to serve. However, this could probably increase the number of
        // shells too much (In theory, nearly every slot could have an own shell then).
        //
        // #i51621# / 2005-08-19 / frank.schoenheit at sun.com


Maybe sfx2 by now has "this mechanism in place"? If yes, I'd
appreciate some help in making use of it so that "it works".

-- 
Lionel


More information about the LibreOffice mailing list