Konqueror Treeview Sidebar plans?

David Faure faure at kde.org
Thu Dec 24 19:20:13 GMT 2009


On Saturday 16 August 2008, Simon St James wrote:
> > > It's currently somewhat broken - one cannot drag files onto it, for
> > > instance - and I was wondering if it's worth trying to fix it up and
> > > un-KDE3 it, or whether it would be possible and desirable to use the
> > > Dolphin tree view? If the latter, how would this be accomplished,
> > > roughly?
> >
> > I think this is a general issue not only related to Dolphins treeview. E.
> > g. some people requested having the Places Panel or Information Panel of
> > Dolphin also available in Konqueror. I think the Places Panel is a good
> > example how this could be done: The widget for the panel is available
> > inside kdelibs and it would be straight forward providing this in
> > Konqueror too.
> >
> > So we could use a similar approach for Dolphin's treeview and put it into
> > kdebase/apps/lib/konq. Before doing this I'd like to do some internal
> > cleanups in Dolphins treeview class, as kdirlister + kdirmodel have been
> > improved during KDE 4.1 and it is possible now to simplify the code. Also
> > the Dolphin specific stuff like the context menu must be exchanged by a
> > more generic approach.
> >
> > For sure we must check with David Faure whether the general approach is
> > OK from his point of view.
> >
> > > Could Dolphin provide it via its KPart + Q_PROPERTY type of system, or
> > > is there some other clever KDE way that I'm not aware of ? :) Would it
> > > be possible to merge in the popup menu items that are in Konqueror but
> > > not in Dolphin (e.g. Open In New Window)? Would it be possible to set
> > > the "root" URL of the tree to either Home or Root depending on the tab
> > > in the sidebar page clicked? Etc.
> >
> > Yes, a lot of things have to be respected to have a clean code base that
> > can be used by Konqueror and Dolphin. But I think that should not be too
> > tricky.
> 
> Ah, okay - I'll wait for David to weigh in before going any further with 
> this :)
 
Wow. I really have to read this list more often... :(

Yes, I would love for the sidebar (whose code I finally cleaned up, I mean the 
generic sidebar stuff like module handling) to get a new cleaner treeview 
implementation, shared with dolphin's, and also a "places" panel.
Simon, if you still feel like working on this for 4.5, feel free, and I'm 
offering my help, too. E.g. if you take care of putting reuseable widgets in 
libkonq I can do the sidebar modules around them, for instance (I guess this 
split makes sense, since you know dolphin better than I do, and I know the new 
sidebar module stuff I wrote recently).

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kfm-devel mailing list