Konqueror pathbar

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

0
Score 72%
Description:

This is a toolbar for Konqueror aiming to add a functionality similar to the one that can be found into the gtk file selector, the filemanager of Solaris CDE and the Windows Vista filemanager.
All the elements of the path are represented by a button so this is very easy to go up into the hierarchy.
the first button switches between the addressbar mode/pathbar mode.

Last changelog:

13 years ago

This more a proof of concept, is yet not much usable, in particular:
-some protocols like tar or ftp are not handled correctly
-the choice between pathbar and addressbar is not remembered
-the addressbar still does not have history and autocompletition
-it's available only when konqueror displays an iconview or a listview

riessmi

12 years ago

hi,
i like the idea
and the behaviour
as i know it from File-Selectors
(didnt compile and test yours till now)

what i am missing is the ability to edit the path:
how about doing the slashes between the words as simple links to the path
(for example coloring them in blue like in a Web-Browser)
You would be able to jump to the path and to edit the words in between.
(certainly i would prefer to see the slashes as folder-icons ;-) )

Report

LocoMojo

12 years ago

...I love it and have been using it for a long while now.

However, I have a problem with the latest upgrade to QtCurve-44.1. I use Konqueror pathbar and unfortunately QtCurve-44.1 draws lines where a standard address bar would be. QtCurve-0.43 didn't do this.

Here's two snapshots to show you what I mean:

QtCurve-0.43:
http://img90.imageshack.us/img90/9333/qtcurve043yu4.png

QtCurve-0.44.1:
http://img204.imageshack.us/img204/6784/qtcurve0441uz4.png

Is it possible to fix that?

Thanks for a great style!

LocoMojo

Report

LocoMojo

12 years ago

OMG!

I'm such a doofus. I posted in the wrong place, please disregard the above post.

*LocoMojo limps off in shame*

Report

stonewolf

12 years ago

Hi there,

erversince I saw this app I used it. It's just ingenious!
A little shitty: I'm not able to compile it: A qt-problem which I can't get rid of. Can you hand out an x86_64-rpm?

Would be very nice...

Report

Eldarion

12 years ago

Is the pathbar development stoped? I hope not because this is a great peace of software!

Report

lucher

12 years ago

Better mousesupport would be great. I.e. if the left button is pressed such that the editable combobox appears, it would be great to have a "clear input line" button as well as a "goto". These two buttons enable Konqueror users to handle URLs efficiently using mouse and clipboard only. Should be simple to implement and being different from Vista/Gnome, wouldn't it?

Report

MamiyaOtaru

12 years ago

If such a bar is used together with a standard address bar, it could be useful I guess. I have to say though, I absolutely hate it in the gtk file selector. There is no (obvious) way to type in the address (useful in such situations where one wants to enter a hidden directory, but doesn't have them displayed, meaning one can't click on it).

The added functionality of being able to navigate upwards through the tree is pretty much already there with the up button though, so it doesn't seem to bring much? True, one might need a few extra clicks to use the up button. Or, one could simply use the file tree.. Anyway, it just wouldn't offset the loss of ability to type in an address, which I do all the time, hidden directories or not.

Report

twosouls82

12 years ago

Hi there,

First of all, I must say I like this idea. :)

Secondly, there is a bug in the toolbar :s
When I enter a tar.gz file the first toolbar button becomes a tar Kio button.

When I use your same toolbar to go back in the path (leaving the tar Kio, to the file Kio) the first button stays a "tar:" button. The "tar:" button has got a click event to change the location "tar:".. which gives an error itself.

But most of all, this is a nice initiative. Keep on the work. ;)

Report

Movz

12 years ago

I'm using kubuntu 5.10.
When I compile it gives me this error:

lorenzo@kubuntu:~/Desktop/pathbar-0.0.1$ make
Makefile:836: warning: overriding commands for target `clean-bcheck'
Makefile:814: warning: ignoring old commands for target `clean-bcheck'
Makefile:841: warning: overriding commands for target `bcheck-am'
Makefile:819: warning: ignoring old commands for target `bcheck-am'
Makefile:873: warning: overriding commands for target `clean-bcheck'
Makefile:836: warning: ignoring old commands for target `clean-bcheck'
Makefile:878: warning: overriding commands for target `bcheck-am'
Makefile:841: warning: ignoring old commands for target `bcheck-am'
make all-recursive
make[1]: Entering directory `/home/lorenzo/Desktop/pathbar-0.0.1'
Makefile:836: warning: overriding commands for target `clean-bcheck'
Makefile:814: warning: ignoring old commands for target `clean-bcheck'
Makefile:841: warning: overriding commands for target `bcheck-am'
Makefile:819: warning: ignoring old commands for target `bcheck-am'
Makefile:873: warning: overriding commands for target `clean-bcheck'
Makefile:836: warning: ignoring old commands for target `clean-bcheck'
Makefile:878: warning: overriding commands for target `bcheck-am'
Makefile:841: warning: ignoring old commands for target `bcheck-am'
Making all in doc
make[2]: Entering directory `/home/lorenzo/Desktop/pathbar-0.0.1/doc'
Making all in .
make[3]: Entering directory `/home/lorenzo/Desktop/pathbar-0.0.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lorenzo/Desktop/pathbar-0.0.1/doc'
Making all in en
make[3]: Entering directory `/home/lorenzo/Desktop/pathbar-0.0.1/doc/en'
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/home/lorenzo/Desktop/pathbar-0.0.1/doc/en'
make[2]: Leaving directory `/home/lorenzo/Desktop/pathbar-0.0.1/doc'
Making all in po
make[2]: Entering directory `/home/lorenzo/Desktop/pathbar-0.0.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lorenzo/Desktop/pathbar-0.0.1/po'
Making all in src
make[2]: Entering directory `/home/lorenzo/Desktop/pathbar-0.0.1/src'
/usr/share/qt3/bin/moc ./plugin_pathbar.h -o plugin_pathbar.moc
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT plugin_pathbar.lo -MD -MP -MF ".deps/plugin_pathbar.Tpo" -c -o plugin_pathbar.lo plugin_pathbar.cpp; \
then mv -f ".deps/plugin_pathbar.Tpo" ".deps/plugin_pathbar.Plo"; else rm -f ".deps/plugin_pathbar.Tpo"; exit 1; fi
plugin_pathbar.cpp:9:26: error: konq_dirpart.h: No such file or directory
plugin_pathbar.cpp:12:33: error: konq_pixmapprovider.h: No such file or directory
plugin_pathbar.cpp: In constructor 'PluginPathBar::PluginPathBar(QObject*, const char*, const QStringList&)':
plugin_pathbar.cpp:20: error: cannot dynamic_cast 'parent' (of type 'class QObject*') to type 'struct KonqDirPart*' (target is not pointer or reference to complete type)
plugin_pathbar.cpp:27: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp:48: error: no matching function for call to 'PluginPathBar::connect(KonqDirPart*&, const char [18], PluginPathBar* const, const char [22])'
/usr/share/qt3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/share/qt3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const
plugin_pathbar.cpp: In member function 'void PluginPathBar::slotAboutToOpenURL()':
plugin_pathbar.cpp:67: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp:69: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp:73: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp:90: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp:99: error: 'KonqPixmapProvider' has not been declared
plugin_pathbar.cpp:99: error: 'self' was not declared in this scope
plugin_pathbar.cpp: In member function 'void PluginPathBar::slotOpenURL(int, Qt::ButtonState)':
plugin_pathbar.cpp:111: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp:113: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
plugin_pathbar.cpp: In member function 'void PluginPathBar::slotGotoURL(const QString&)':
plugin_pathbar.cpp:118: error: invalid use of undefined type 'struct KonqDirPart'
plugin_pathbar.h:11: error: forward declaration of 'struct KonqDirPart'
make[2]: *** [plugin_pathbar.lo] Error 1
make[2]: Leaving directory `/home/lorenzo/Desktop/pathbar-0.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lorenzo/Desktop/pathbar-0.0.1'
make: *** [all] Error 2

can you help me please?

Report

dayvee

11 years ago

i had the same problem with debian lenny, just installing package libkonq4-devel made it working :-)

Report

fredinator2

12 years ago

I would have this as an option, but not the only choice possible... I can't stand pathbars ass it doesn't give you a sense of where you are, and you cant go somewhere quickly enough, eg from /usr/share/kde to /home/user/somerandomdirectory would take at least 4 clicks

Report

fredinator2

12 years ago

oh and it wouldnt work with konq as a browser

Report

sangaho

12 years ago

Hi,

I love this improvement for KDE and would be glad to see it in the next KDE release.
But, as caminoix already mentioned, autocompletion would be necessary for it to be able to be integrated as a standard.

Keep up the good work!

Report

caminoix

13 years ago

this thing is just great :)
there's just one thing i miss in it: autocompletion. so that when i write f.ex. /usr/share/w, a window shows up and i can choose /usr/share/wine or /usr/share/wallpapers. like in the save file dialog.
do you think you could add it, please?

Report

Ekardnam

13 years ago

However, there are some things that prevent me from using this:

- I have a filter field to the right of the default location bar. If I use pathbar, it looks pretty weird. I want the filter bar to be "fixed" in its position, but don't know how.
- You should be hide the "Show adressbar" button, and instead set a shortcut key.

Keep on with the good work!

Report

mononoke

13 years ago

it should be integrated into kde, or current addressbar should be extended with your code for the next versions of kde.

Report

jarod82

13 years ago

You did a very good job, but i totally dislike gnome's approach, so i dislike your work also. Still, very well done.

Report

bobuse

13 years ago

nice idea, but I think that the "parent folder" button is sufficient.
If keep this button pressed, you will have a dropdown menu with the complete path.

Report

eeproms

13 years ago

Just6compiled it on Mandriva 2006.0 and it works fine.

Nice simple and does the job, thanks

Report

Superstoned

13 years ago

hey, by the way, for your kicker i can suggest the 'run command' applet, turn autocompletion on and you'll never use the Kmenu :D

Report

Superstoned

13 years ago

i think this is something the gnomes did right (TM) so its great to see someone working to get it in KDE/Qt :D

Report

ccimiluca

13 years ago

A quick search didn't reveal it, but someone suggested the similar idea of changing the background color of directories in the addressbar to indicate their button-ness. This way you could CTRL+Arrow your way around when need be, but you could click or double click on the directory descend the tree.

Report

poisoned

13 years ago

It's the 'feature' I hate most about GTK's filechooser.
It won't let you type the path. You don't have autocompletion, which is really useful if you're in a directory with several hundred files and just have to type two characters and choose the right entry from the dropdown, instead of scrolling five minutes until you find the right file.
The FLTK guys did get this one _right_. Have a look at the FL_File_Chooser dialog, it displays a small 'button-bar' above the path, a button for every directory, so you can just click one to go to the level you want ( http://www.fltk.org/doc-1.1/Fl_File_Chooser.jpg ).

Report

lucher

12 years ago

Very true! The hugest argument for FLTK

Report

caminoix

13 years ago

same for me, the only thing i'd ever hoped kde would take from gnome.
both thumbs up :)

Report

13 years ago

This more a proof of concept, is yet not much usable, in particular:
-some protocols like tar or ftp are not handled correctly
-the choice between pathbar and addressbar is not remembered
-the addressbar still does not have history and autocompletition
-it's available only when konqueror displays an iconview or a listview

product-maker 40 112

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.0.1
updated Jan 02 2006
added Jan 02 2006
downloads today
0
page views today 3