From koffice-devel Wed Feb 25 08:13:20 2004 From: Rob Buis Date: Wed, 25 Feb 2004 08:13:20 +0000 To: koffice-devel Subject: Re: Split view causes docker duplication Message-Id: <20040225081320.GA17721 () xs4all ! nl> X-MARC-Message: https://marc.info/?l=koffice-devel&m=107769681229806 Hi Sven, On Wed, Feb 25, 2004 at 01:49:38AM +0100, Sven Langkamp wrote: > Hi, > > I have a little problem with the Split view function in Krita. I wrote some > dockers for Krita and now I have the bug that they appear twice when you > split the view. > The problem was solved in Karbon, but I did not find out how it was solved. > Can you say me where I can find this? Thanks The solution should be somewhere around KarbonView::createContainer and KarbonView::removeContainer. Basically it omits the docker creation step if it already was created. I am not sure whether Krita also handles its own gui this way, it is quite tricky and I am not 100% happy with it, but atm it works reaonable well. Hope that helps. Cheers, Rob. _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org https://mail.kde.org/mailman/listinfo/koffice-devel