Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi Jan-Marek,

Interesting approach to handle non-modal dialog grouping in a unified
way. Would we want to do something like this, so we don't have
duplicate
dialog + panel (like the navigator), or is this considered a feature,
that you can have multiple instances?
I don't think it's a feature. Ideally we would like to be able to
undock individual sidebar decks, see tdf#85905.

I'm not sure there is much C'n'P here, as the approach is different.
Not sure what you mean by "the approach is different", but even with
different approaches wouldn't it make sense to keep just one approach,
instead of maintaining two?

Anyway, DockingManager clearly started as a copy-paste from
DockingWindow. You can compare the ImplDockFloatWin and
ImplDockFloatWin2 classes, or methods like
DockingWindow::SetFloatingMode vs
ImplDockingWindowWrapper::SetFloatingMode. And a comment above the
ImplDockingWindowWrapper declaration clearly says that
"ImplDockingWindowWrapper obsoletes the DockingWindow class. It is
better because it can make a "normal window" dockable. All
DockingWindows should be converted the new class."

Maxim

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.