KontextBar

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

0
5 .0
Description:

KontextBar is a Konqueror component that shows an XP-like sidebar depending on the directory visited (context). You can associate any directory with an html file or a python script through the configuration panel. See installation instructions on the homepage.
Last changelog:

17 years ago

0.5 (updated): Many bugfixes in the configuration panel. A RDF Reader script was added (screenshot 3) (please see the README file before use it)

0.4: A "Set Default Page" dialog was added. A Configuration Panel was created (please remove old configuration files and use it for configuring; see docs in the homepage). Bugfixes in the default sidebar Javascript were made.

0.3: Now files preview can be handled by python scripts! (see screenshot 2) For now, I implemented png/jpg/gif preview (but it potentially can preview all objects that KHTML can display such as movies through Mozilla plugins, text files, etc). Added a "View Document Source" option in the Right Mouse Button Menu. Fixed some little bugs.

0.21: When opening multiple konqueror windows, KontextBar's links will point to the right one. Right click on sidebar's links will open a popup menu asking for link opening target (new window, new tab, new vertical frame or new horizontal frame). Fixed sidebar.py for crashing when opening http pages.

0.2: Fixed algorithm for handling nested "recursive" and "nodisplay" directives. Added experimental Python interface (see "execute" in docs and the ugly sidebar.py example :D). Now Reload button refreshes the HTML page shown.

0.13: Now link clicking will interest only the sidebar's konqueror instance. Fixed wrong opening of the initial page. Added a right mouse button menu for configuration reloading (you don't need anymore to restart konqueror if you change any XML conf file).

0.12: Fixed "flickering" bug when loading a page with the same sidebar. Added the "recursive" and "nodisplay" directives (see the documentation).

0.11: Now links should work (for now clicking will interest all open Konqueror processes)

0.1: First release :-) For default, KontextBar opens Axel Jaeger's XPish Konquisidebar.

zegenie

17 years ago

I have tried that, but it didn't help.
any other suggestions?

Report

C

domine

17 years ago

Mumble... can you launch konqueror by terminal and send me the output?

Report

zegenie

16 years ago

I found the bug. In setupdialog.h you define this line (line 42)

bool writeXML( const QString & );

but you forget to add the "filename", it should really be like this:

bool writeXML( const QString & filename );

After changing this line, and recompiling, it now works perfectly! :D

Report

zegenie

17 years ago

ok, no matter what I do, my sidebars wont save. configuration dialog, whenever I make any changes, and click ok, then open it again, its gone.

Report

C

domine

17 years ago

Please, can you try to manually create an empty ~/.kde/share/apps/kontextbar/sidebars.xml file?

Report

BigC

17 years ago

I can't compile it on my system.
Here's the error message:

if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I. -I/usr/include/python2.2 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT kontextbar.lo -MD -MP -MF ".deps/kontextbar.Tpo" \
-c -o kontextbar.lo `test -f 'kontextbar.cpp' || echo './'`kontextbar.cpp; \
then mv -f ".deps/kontextbar.Tpo" ".deps/kontextbar.Plo"; \
else rm -f ".deps/kontextbar.Tpo"; exit 1; \
fi
kontextbar.cpp: In member function `bool KontextBar::callPythonMethod(const
QString&, const QString&, const QString&, const std::vector&, QString&)':
kontextbar.cpp:972: warning: deprecated conversion from string constant to `
char*'
kontextbar.cpp:981: warning: deprecated conversion from string constant to `
char*'
kontextbar.cpp:991: invalid conversion from `const char*' to `char*'
make[2]: *** [kontextbar.lo] Fehler 1
make[2]: Leaving directory `/home/florian/kontextbar/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/florian/kontextbar'
make: *** [all] Fehler 2


I'm using Gentoo 1.4, KDE 3.1.4, gcc 3.2.3

Report

C

domine

17 years ago

Gentoo's gcc is particulary exacting (grrr :P). I uploaded a fixed version (also news.py was fixed)

Report

BigC

17 years ago

Thanks!

Now its woking fine :)

Report

scream

17 years ago

damn, I would really like to install this but my Linux doesn't work anymore since I installed Windows XP Pro. But I will install it after I will have installed the new SuSE 9.0 Pro. But the screenshot looks great. You could include my XPish Konquisidebar in the next release, because I added a nice scroll effect.

Report

scream

17 years ago

Oh, I'm sorry, you already did...
Great work!

Report

C

domine

17 years ago

Thank you!

Report

aliceoutchains

17 years ago

This is tomuch a M$ like thing. Maybe you can make something different. Maybe some nice menu at the top of the screen? Just a little bit more originality would do the trick for me!

Report

arack99

17 years ago

I can't get ths awsome looking app to compile. In SetupDialog.h there is an include for SetupDialogView.h which does not exist in the archive. Am I just blind or is it really missing? All I see there is SetupDialogView.ui

Report

C

domine

17 years ago

The files "setupdialogview.h" and "setupdialogview.cpp" should be automatically generated at compile time by uic (User Interface Compiler). Maybe you have a version of QtDesigner < 3.2 . I updated the package (adding setupdialogview.cpp and .h generated by me), please download this one.

Report

cmf

17 years ago

why not work with the Ksidebar author and, its just seen as his is written in C++ instead of html/python... and KDE is C++. it's just that it seems fragmentation is silly when we could have a better project with two good authors, instead of 2 projects with 1 good author each.

Don't get me wrong, i like this also, its just that it seems that the Ksidebar project seems to have more prospects.

Report

kol

17 years ago

>> it seems that the Ksidebar project seems to have more prospects

I disagree. Ksidebar provides a "static" sidebar which does not change, once compiled. So its really limited and possibly will remain as such.

kontextbar provides a "dynamic" side bar which can change as the user goes thru the directries.

e.g. all your picture folders can have a file preview thu python... or your work folders all share common links thru html, allowing easy navigation.

btw1: This program is also written in C++ (like KDE). Remove html/python stuff, and you can develop a static side bar like ksidebar

btw2: kontextbar was released before ksidebar

Report

C

domine

17 years ago

I think that KontextBar can be also useful for users... to change sidebar, they don't have to modify the source code and recompile/reinstall, and they can use the simple python language.

Report

scream

17 years ago

I just installed it successfully, but there is no page shown in the left. It's only white!
I also tried it with an XML-File, but it's still white. Any ideas why this is so?

In 0.1 everything worked fine :(

Report

C

domine

17 years ago

Please can you run konqueror in a terminal and show us the output? And also, post the xml file you used :)

Report

scream

17 years ago

The link doesn't work! I have already been trying it for four hours, but it still doesn't work. Could you please put the file up here on kde-look.org?

Report

C

domine

17 years ago

Sorry, there was a big black-out here in Italy and the server is down. Please re-try toworrow :-P

Report

scream

17 years ago

You need to have installed the python-devel package. All SuSE distributions have it on CD.

Report

kol

17 years ago

I just realised that. Thanks.

Report

kol

17 years ago

kontextbar.cpp:1:20: Python.h: No such file or director

rpm -qa | grep python:

libpython2.2-2.2.2-6mdk
python-numeric-22.0-2mdk
python-2.2.2-6mdk
python-base-2.2.2-6mdk

Do I need to install some other python rpm?

Thanks.

Report

ranger

17 years ago

# urpmi python-devel

(BTW, easy way to find it is 'urpmf Python.h$')

Report

17 years ago

0.5 (updated): Many bugfixes in the configuration panel. A RDF Reader script was added (screenshot 3) (please see the README file before use it)

0.4: A "Set Default Page" dialog was added. A Configuration Panel was created (please remove old configuration files and use it for configuring; see docs in the homepage). Bugfixes in the default sidebar Javascript were made.

0.3: Now files preview can be handled by python scripts! (see screenshot 2) For now, I implemented png/jpg/gif preview (but it potentially can preview all objects that KHTML can display such as movies through Mozilla plugins, text files, etc). Added a "View Document Source" option in the Right Mouse Button Menu. Fixed some little bugs.

0.21: When opening multiple konqueror windows, KontextBar's links will point to the right one. Right click on sidebar's links will open a popup menu asking for link opening target (new window, new tab, new vertical frame or new horizontal frame). Fixed sidebar.py for crashing when opening http pages.

0.2: Fixed algorithm for handling nested "recursive" and "nodisplay" directives. Added experimental Python interface (see "execute" in docs and the ugly sidebar.py example :D). Now Reload button refreshes the HTML page shown.

0.13: Now link clicking will interest only the sidebar's konqueror instance. Fixed wrong opening of the initial page. Added a right mouse button menu for configuration reloading (you don't need anymore to restart konqueror if you change any XML conf file).

0.12: Fixed "flickering" bug when loading a page with the same sidebar. Added the "recursive" and "nodisplay" directives (see the documentation).

0.11: Now links should work (for now clicking will interest all open Konqueror processes)

0.1: First release :-) For default, KontextBar opens Axel Jaeger's XPish Konquisidebar.

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.5
updated Nov 03 2003
added Sep 21 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0