KDE/kdevplatform/shell
dukju ahn
dukjuahn at gmail.com
Fri Jul 6 20:01:45 UTC 2007
2007/7/7, Alexander Dymo <dymo at ukrpost.ua>:
> On 7/6/07, dukju ahn <dukjuahn at gmail.com> wrote:
> > > > + Core::self()->documentControllerInternal()->closeDocument( doc->url() );
> > Then do you imply that there could be different menu for each window?
> > If mainwindow's menu should act only on his views, then it sounds like
> > that other windows will have their own menu.
> You mean Window menu? Yes, it should display only views in this window.
>
> > > But I suppose you found a bug, what was that?
> >
> > When I close file using menu(or shortcut key ctrl-w), the IDocument hash
> > table in documentcontroller is not updated. In point of docCtrl's view, he
> > feels that certain document is still opened although I closed it via menu.
> Ok, that means document is not deleted or not removed properly when we
> close the last view. I'll fix that.
I didn't mean that. What I said is just hashtable list of currently opened
documents. That list is stored in document controller, and when view is
closed by other ways than document controller, the hashtable is not
synchronized.
More information about the KDevelop-devel
mailing list