Further (XML)GUI issues

Vladimir Prus ghost at cs.msu.su
Thu May 1 06:44:49 UTC 2008

On Thursday 01 May 2008 02:07:08 Alexander Dymo wrote:
> On Wednesday 30 April 2008 21:28:22 Vladimir Prus wrote:
> > 1. Right now, IPlugin derives from KXMLGUIClient. It is though that that
> > debuggers adds it toolbar to a main window. However, a given KXMLGUIClient
> > can belong only to one XMLGUIFactory, and if we try to add it to two
> > factories, it will be disconnected from the first one. As result, if we
> > have two main windows, only one can have a debugger toolbar -- which
> > appears to be unnecessary limitation. Any suggestions how to override that?

> Good question. I have to think about that.

It appears that the only solution is for plugin to provide as many xmlguiclients
as necessary, on demand?

> > 2. What code is responsible for saving the position of toolbars? For me,
> > the size and position of both main and debugger toolbars appear to be
> > changing randomly at times.
> KDevelop::MainWindow::loadSettings and ::saveSettings
> They eventually call KMainWindow::applyMainWindowSettings / 
> saveMainWindowSettings. If something here doesn't work - that's because 
> kdelibs code is broken.

Brave :-) No, it's was a sublime problem, which I've fixed now.

- Volodya

More information about the KDevelop-devel mailing list