KSidebar

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:

Plugin for the konqueror navigation panel that shows a sidebar with links and informations. Unlike other sidebars, doesn't use html.
Last changelog:

17 years ago

Version 0.4.1 - 17-11-2003
* Fixed compilation bug with KDE 3.1.x
* Fixed weird bug with roll-over changing colors..
Now the the rollovers are disabled and all works fine...

Version 0.4 - 26/10/2003
* Actions panel now uses standard kde actions too.
* Device panel load the list of devices using the device:/ ioslave
* bugfixing

Version 0.3
* Added "Actions" panel with contextual actions
(Still buggy and only with few actions,
ideas are welcome)
* The layout of panel (open/close) is saved
* Added support for catalogue files (translations)
* Fixed color issues

Version 0.2.1
* Fixed a compilation error

Version 0.2
* Panels can be hidden
* Added metainfo data visualisation
* Items with no meaning in Details panel are hidden
* Rollover effects

Version 0.1
* Fixed a compilation error
* Initial version 0.1

p0z3r

17 years ago

It finally installed (version 3) after changing two lines in the .cpp files(actions.cpp & details.cpp). It runs, sorta now. None of the links on the left, navigation panel activate anything like Home, Settings, Documents, etc., but Properties works when a file is highlighted. Am I missing a configuration option somewhere that allows these to work correctly? Running from a terminal doesn't show any errors except for some ASSERT warnings (ASSERT: "info.isValid()" in konq_infolistviewitem.cc (123) ).
cheers,
-p0z3r

Report

p0z3r

17 years ago

apparently you can not have kontexbar and ksidebar installed at the same time. =c)
What I did was mv ~/.sidebar ~/.sidebar.bak to remove the kontexbar from loading.

Report

ThEOnE

17 years ago

Hi ... i'm really thank with all that doing possible that i could install correctly this great job ...

Now i want know how i could enable the acompanion words in the sidebar i.e. in the screenshot the word for the ksidebar is "sidebar". I want know how i could enable this feature, or if i need install an extra package or anything.

Thanks.

Report

ThEOnE

17 years ago

Hi.

I trying to install and when i try to compile happend this :

details.cpp: In member function `void Details::urlChanged(const KURL&)':
details.cpp:249: no matching function for call to `KFileMetaInfo::KFileMetaInfo
(KURL&)'
/usr/include/kde/kfilemetainfo.h:920: candidates are:
KFileMetaInfo::KFileMetaInfo(const KFileMetaInfo&)
/usr/include/kde/kfilemetainfo.h:915:
KFileMetaInfo::KFileMetaInfo()
/usr/include/kde/kfilemetainfo.h:909:
KFileMetaInfo::KFileMetaInfo(const QString&, const QString& = QString::null,
unsigned int = Fastest)
make[2]: *** [details.lo] Error 1
make[2]: Leaving directory `/home/ronald/Desktop/ksidebar-0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ronald/Desktop/ksidebar-0.3'
make: *** [all] Error 2

How i could fix this...

Report

BOSSoNe

17 years ago

i solved this problem with replacing:
KFileMetaInfo( (KURL &)mUrl );
by:
KFileMetaInfo( ((KURL &)mUrl).path() );

Report

ThEOnE

17 years ago

Now i get the next error :

actions.cpp: In member function `void Actions::clicked(s_action&)':
actions.cpp:201: no method `KonqOperations::newDir'
make[2]: *** [actions.lo] Error 1
make[2]: Leaving directory `/home/ronald/Desktop/SOURCE/ksidebar-0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ronald/Desktop/SOURCE/ksidebar-0.3'
make: *** [all] Error 2


The line 201 in actions.cpp is the next :

KonqOperations::newDir( (QWidget *)0, mUrl);

Please if u know about how to fix this please tell me.

Report

dcpark

17 years ago

replace newDir by mkdir :)

Report

gordin

17 years ago

Same with me.
(Gentoo kde3.1.4)

Report

yglodt

17 years ago

unstable of course I meant... :-)

Report

yglodt

17 years ago

Hi,

debian stable packages anyone...?

Report

Tschaeck

17 years ago

i would prefer to see the "Details" of the current selected file, not the details of the directory i'm in.

some extra detail-features would be cool. for example a thumbnailpreview, if the selected file is an image.

Report

C

matteo

17 years ago

You're right.. and I'm working on it.. but it's not so simple since you need to connect to a konqueror signal.. the konqsidebar interface only advise you when the url changes..

Report

madpenguin8

17 years ago

How about making the sidebar so that it can be hidden. This could work similar to how kicker has a button to hide it. I like to have as much viewable area as possible in my browser, but when I need a sidebar it would be nice to have one button hide, unhide.

Report

C

matteo

17 years ago

You can already do it clicking on the konqsidebar toolbar, if you click on the ksidebar tab when ksidebar is open, it will be hidden..

Report

madpenguin8

17 years ago

I meant like an animated type hiding, maybe like some kind of button to "roll up" the sidebar into the window border.

Report

ben

17 years ago

sorry for the dumb question...

after install what should I do to view the sidebar ?

Report

Tschaeck

17 years ago

i had to reset my sidebar to systemdefault to see the new ksidebar.

you can do this in the configurationmenu of your sidebar.

Report

cmf

17 years ago

details.cpp: In member function `void Details::urlChanged(const KURL&)':
details.cpp:228: no matching function for call to `KFileMetaInfo::KFileMetaInfo(const KURL&)'
/usr/include/kfilemetainfo.h:926: candidates are: KFileMetaInfo::KFileMetaInfo(const KFileMetaInfo&)
/usr/include/kfilemetainfo.h:921: KFileMetaInfo::KFileMetaInfo()
/usr/include/kfilemetainfo.h:915: KFileMetaInfo::KFileMetaInfo(const QString&, const QString& = QString::null, unsigned int = Fastest)
make[2]: *** [details.lo] Error 1
make[2]: Leaving directory `/home/lou/Desktop/ksidebar-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lou/Desktop/ksidebar-0.2'
make: *** [all] Error 2

KSidebar 0.2

Report

dcpark

17 years ago

change the 228th line at ksidebar-0.2/src/details.cpp
from
KFileMetaInfo *metainfo = new KFileMetaInfo( url );
to
KFileMetaInfo *metainfo = new KFileMetaInfo( (QString&) url );

this will fix the compilation problem. :)
the patch goes like this:
--
diff -uNr ksidebar-0.2.orig/src/details.cpp ksidebar-0.2/src/details.cpp
--- ksidebar-0.2.orig/src/details.cpp 2003-09-27 06:17:52.000000000 +0900
+++ ksidebar-0.2/src/details.cpp 2003-09-27 06:37:49.000000000 +0900
@@ -225,7 +225,7 @@
sInfo[i]->hide();
}

- KFileMetaInfo *metainfo = new KFileMetaInfo( url );
+ KFileMetaInfo *metainfo = new KFileMetaInfo( (QString&) url );
if ( metainfo->isEmpty() )
return;
QStringList list = metainfo->preferredKeys();
--

Report

C

matteo

17 years ago

It's strange, because i didn't get any compiler warning about these casting issues...
However, the casting should be done to (KURL &) to access metainfo even on network protocols.

Report

pregopresto

17 years ago

same error here on gentoo kde 3.1.3 ...

prego

Report

scream

17 years ago

I get exactly the same error on 0.2:

details.cpp: In member function `void Details::urlChanged(const KURL&)':
details.cpp:228: no matching function for call to `KFileMetaInfo::KFileMetaInfo
(const KURL&)'
/opt/kde3/include/kfilemetainfo.h:920: candidates are:
KFileMetaInfo::KFileMetaInfo(const KFileMetaInfo&)
/opt/kde3/include/kfilemetainfo.h:915:
KFileMetaInfo::KFileMetaInfo()
/opt/kde3/include/kfilemetainfo.h:909:
KFileMetaInfo::KFileMetaInfo(const QString&, const QString& = QString::null,
unsigned int = Fastest)

Could you please fix this?

Report

scream

17 years ago

Is there any way to change the links an the design? Because some links don't work on my sys and I also don't like the design!

Report

C

matteo

17 years ago

You can modify view.cpp, all the links are added there... Should not be too difficult

Report

kol

17 years ago

I would also check this out:

http://www.kdelook.org/content/show.php?content=8015

You can change the design & customize to your liking very easily.

Report

17 years ago

Version 0.4.1 - 17-11-2003
* Fixed compilation bug with KDE 3.1.x
* Fixed weird bug with roll-over changing colors..
Now the the rollovers are disabled and all works fine...

Version 0.4 - 26/10/2003
* Actions panel now uses standard kde actions too.
* Device panel load the list of devices using the device:/ ioslave
* bugfixing

Version 0.3
* Added "Actions" panel with contextual actions
(Still buggy and only with few actions,
ideas are welcome)
* The layout of panel (open/close) is saved
* Added support for catalogue files (translations)
* Fixed color issues

Version 0.2.1
* Fixed a compilation error

Version 0.2
* Panels can be hidden
* Added metainfo data visualisation
* Items with no meaning in Details panel are hidden
* Rollover effects

Version 0.1
* Fixed a compilation error
* Initial version 0.1

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.4.1
updated Nov 17 2003
added Sep 25 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0