Konqueror Treeview Sidebar plans?

Peter Penz peter.penz at gmx.at
Sat Aug 16 11:43:35 BST 2008


Hi Simon,

Am Saturday, 16. August 2008 10:46:33 schrieb Simon St James:
> Hi all,
>
> I was wondering what the long-term plans for the Konqueror sidebar treeview
> were? I originally thought it was already using the Dolphin treeview, but
> apparently it's using some very KDE3/Qt3Support-ish code ;)

Honestly speaking I don't know the longterm plan for the Konqueror sidebar 
treeview. But I think it does not make sense porting Qt3-compatibility code if 
the Qt4/KDE4 code is already available in Dolphin.

> 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.

> Any thoughts on the issue are welcome and if whatever approach proves to be
> suitable for a Junior Job, I'll happily step up to do it - once I've done
> all the other stuff on my list, of course ;)

I think when doing this step it would be great if you'd have already an SVN 
account :-) You submitted already very good patches that required a lot of 
time + energy (they where no "Junior Jobs" from my point of view), so that a 
SVN account is a must-have.

I'd suggest that we wait for David's opinion and then: let's just do it :-)

Best regards,
Peter

> Best Wishes,
> Simon





More information about the kfm-devel mailing list