UI enhancement (KDE 3.1.3)

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:

UPDATE:: Shadowed text patch for KDE 3.1.3.

This patch has been cleaned to contain only 2 files for kdelibs and kdebase.
It maintains binary compatibility with the original code so you don't have to compile everything all over again.

** I'd like to thank to all of you for your interest and contributions to this patch. **
Last changelog:

17 years ago

07 Aug: The download link contains patches to 3_1_3_RELEASE. Textar has already made RPMs for Mandrake beta (second shot).

14 Jul: the patch is in the CVS now, so the download is out of date until I 'll get around to backport it to 3.1 :)

23 Jun: new version with Bernardo's fix for kdesktop crashing.

20Jun: New patch (this time has 2 diff files: one for kdebase, one for kdelibs) . Also some code cleanup (less debug messages and some API docs).

Update 3
New patch created against a fresh copy of kde. 2 files. The config file shows an example of the default/selected configuration.

Update 2 :)
BIG THANKS to Bernardo for his algorithm implementation ("acurate" in shadowconfig)

UPDATE: 6:08 GMT> fixed nasty bug causing crash on bogus shadow thickness. Improved the size of the rendered shadow (some cutting off on the left handside was observed)

A configuration is provided via Background/advanced.

The user can add custom configurations to the predefined ones in kdesktoprc:
[CustomShadow]
ShadowNames=Name 1,Name 2,Name 3,Name 4
ShadowItem.1=
ShadowItem.2=
ShadowItem.3=
...

and use the shadowconfig program to generate the entry strings.

This patch does no longer include the kicker pixmap patch.

casshan

17 years ago

I also get this same error as above (compiling from source on RH9)

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -march=i386 -mcpu=i686 -finline-functions -fexceptions -fno-check-new -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kdesktop -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/local/kde/lib dummy.o kdesktop.la
./.libs/kdesktop.so: undefined reference to `KFileIVIDesktop::KFileIVIDesktop[in-charge](KonqIconViewWidget*, KFileItem*, int, KShadowEngine*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::KShadowEngine[in-charge](KShadowSettings*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::setConfig(KConfig*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::KDesktopShadowSettings[in-charge](KConfig*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::~KShadowEngine [in-charge]()'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::shadowSettings()'
collect2: ld returned 1 exit status

Report

thormedia

17 years ago

undefined reference to `KFileIVIDesktop::KFileIVIDesktop

^^^^ see that... that means you've gotta compile the section "libkonq" section 1st, as that has the reference it needs... then it will compile...

so in your kdebase/libkonq/ do a make, then make install, then go back and continue...

Works fine here btw!

Report

Yaba

17 years ago

Does not work here :-(

BTW: I also have RedHat 9. Maybe sometimes I get use to all the stones, RedHat puts in my way.

Report

thormedia

17 years ago

MMMmmm Red Hat.... :-|

Dunno, works fine on SuSE 8.2... I hear that RH mess with KDE (Do not know if that is true)... so maybe its a problem with that...

Report

casshan

17 years ago

yeah but thats not an acceptable work around when you are trying to make a source package out of it! I'll modify the makefile order I guess. Thanks for the info.

Report

thormedia

17 years ago

Has anyone sucessfully managed to get it to compile?

I've just patched the source, and about to compile... I see ^^^ someone has an error...

If it works for me, I will say so here... (Compiling on SuSE 8.2 with QT 3.1.2 and KDE 3.1.3 sources off kde.org)

Report

thormedia

17 years ago

Yes!

Ok...wtf do I configure the shadows lol... I've enabled em.. but thought there was a menu to configure them...

Report

C

equinoxe

17 years ago

Hi,

I have posted some quickies below for getting shadows.

Report

dave

17 years ago

sorry, but what I've to do to use this.
I've downloaded the version with only 2 diff files. I'm using Gentoo with KDE 3.1.1

thanks

Report

Yaba

17 years ago

I've copied the files into the directories of the extracted sources (e.g. kdebase.diff to kdebase-3.1.3) and run

patch -p2

Report

Yaba

17 years ago

Oops, the web interface did not like the angle bracket.

patch -p2 < kdebase.diff

Report

Yaba

17 years ago

I was waiting for the backport for such a long time....

Thank you!

Report

Yaba

17 years ago

Damn. I can't compile it. When compiling the patched KDE libs, I've received the following errors:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-lo ng-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN _SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno- exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kdesktop -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib dummy.o kdesktop.la
./.libs/kdesktop.so: undefined reference to `KFileIVIDesktop::KFileIVIDesktop[in- charge](KonqIconViewWidget*, KFileItem*, int, KShadowEngine*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::KShadowEngine[in-char ge](KShadowSettings*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::setConfig(KC onfig*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::KDesktopShad owSettings[in-charge](KConfig*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::~KShadowEngine [in-ch arge]()'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::shadowSettings()'
collect2: ld returned 1 exit status
make[3]: *** [kdesktop] Error 1

Report

C

equinoxe

17 years ago

As mentioned below, You need to compile/patch libkonq as well :)

Report

Yaba

17 years ago

Sorry, as I mentioned below already, this does not help in my case :-(

Report

darkstar0010

17 years ago

Dude! 3.1.3 is out! Please backport it...we are all waiting impatiently!

Report

thormedia

17 years ago

Give us a 3.1.2 patch... I've been crying out for this for ages, and if more people want it, PLEASE say so here :-) ... as I dont want to install CVS version.... can someone manage to do this...

Kind regards

Miles.

Report

ntesa

17 years ago

Yes, please port it to KDE 3.1.2, we all want it :)

Report

darkstar0010

17 years ago

So do I....please do!

Report

techniq

17 years ago

It appears that most of it has made it into CVS, as of a few days ago. One thing though is I only have a checkbox to turn it on and off, not the one in the screenshots for different types, etc. I'm presuming its still being merged in.

Report

C

equinoxe

17 years ago

The request was to keep as minimalistic as possible. I assume the setup wizard will set up the appropriate scheme for shadowing (osx, xp etc.) when the setup is started.

Cheers,

Laur

Report

techniq

17 years ago

Could you tell me the config file settings so I can manually set this. Right now I am locked into just having the outline, which isn't bad, but I'd like just a drop shadow.

Report

C

equinoxe

17 years ago

The settings for various styles are:
("OS X"): "0, 0, 1, 16.0, 192.0, 2, 4, 0"
("Windows XP"): "1, 1, 1, 32.0, 139.0, 2, 4, 0"
("Soft outline"): "2, 0, 0, 4.0, 170.0, 1, 4, 0"

Just replace the "schema" line in kdesktoprc" and refresh the desktop. I do it having a "set background open" and hitting "apply" after manually changing something (after checking/unchecking a box to enable it). This will send the dcop message to the desktop and tell it to read from the file again.


Cheers,

Laur

Report

Deciare

17 years ago

The format of ShadowCurrentScheme has changed slightly (I'm using CVS HEAD of 2003-07-12), so the first number in the options you listed should be removed

For instance, an OS X styled shadow would be

0,1,16.000000,192.000000,2,4,0

instead of

2,0,1,16.000000,192.000000,2,4,0

Report

brendanorr

17 years ago

My KDE is a clean CVS (I.e. no patches) and the text shadow does a pretty good job. I tried modifying my $HOME/.kde/share/config/kdesktoprc file according to the .cpp and .h files in kdesktops subdir. However it doesn't seem to make any difference. Here is a snipplet:
[FX]
Shadow.Algorithm=RadialDecay
Shadow.Scale=3
I believe that is correct, oh well, at least I can control the color :)

Report

17 years ago

07 Aug: The download link contains patches to 3_1_3_RELEASE. Textar has already made RPMs for Mandrake beta (second shot).

14 Jul: the patch is in the CVS now, so the download is out of date until I 'll get around to backport it to 3.1 :)

23 Jun: new version with Bernardo's fix for kdesktop crashing.

20Jun: New patch (this time has 2 diff files: one for kdebase, one for kdelibs) . Also some code cleanup (less debug messages and some API docs).

Update 3
New patch created against a fresh copy of kde. 2 files. The config file shows an example of the default/selected configuration.

Update 2 :)
BIG THANKS to Bernardo for his algorithm implementation ("acurate" in shadowconfig)

UPDATE: 6:08 GMT> fixed nasty bug causing crash on bogus shadow thickness. Improved the size of the rendered shadow (some cutting off on the left handside was observed)

A configuration is provided via Background/advanced.

The user can add custom configurations to the predefined ones in kdesktoprc:
[CustomShadow]
ShadowNames=Name 1,Name 2,Name 3,Name 4
ShadowItem.1=
ShadowItem.2=
ShadowItem.3=
...

and use the shadowconfig program to generate the entry strings.

This patch does no longer include the kicker pixmap patch.

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
updated Aug 07 2003
added Jan 23 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1