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.

wilburpan

17 years ago

Sorry to bring up the documentation issue again, but I just downaloaded your package. There appears to be no information in the README file when I untarred the package. All of the installation documents that I could find appear to be generic docs.

Report

warriorinsurrect

17 years ago

Excellent work. As soon as I finish emerge on kde (gentoo), I will test out the feature.

I do have a question though. What are you using for your theme in the screenshots? I really like it. Very clean, straight to the point -- exactly how I like my desktop.

Report

C

equinoxe

17 years ago

"web" (it's on kde3.1) with a "light style 3rd rev" as style.

Report

hungsquirrel

17 years ago

I am a Mandrake 9 user. I can't get anything from this site to install because Mandrake puts its KDE files in a custom directory (I think it's /usr/share/mdk/kde but I'm not sure). When configure gets to the part where it checks for KDE, it can't find it because it's in a weird place. I have tried editing variables in the configure source to point to /usr/share/mdk/kde, but this has not fixed the problem. Any suggestions? If specifying the path of KDE is the way to go, what variable(s) should I change, and should I use /usr/share/mdk/kde as my path, or is it a different one?

Any help would be appreciated, as I can't install anything for KDE that is given in source. In case you couldn't tell, I'm a Linux newbie. Here's my output:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

Report

C

equinoxe

17 years ago

this patch is meant for the kde CVS. You can find all the information on how to install the CVS along with the default installation on kde.org (download source - installing 2 kde instances on the same system).

If you need more info, e-mail me instead posting a message :)

Cheers,

Laur

Report

redrat

17 years ago

Hope you submitted your patch to the KDE developers so that we have this nice feature in future KDE releases.

If not, please do so. This is really an improvement. Please check also the KDE usebility website/mailinglist (http://usability.kde.org/).

Every KDE user should have this feature in the future.

so long,
red

Report

C

equinoxe

17 years ago

..for your suggestion :). sent..

Report

dfaure

17 years ago

Thanks, I'm committing the patch to the CVS.
Will you maintain it there?
Do you need a CVS account?
If so, please follow the instructions at
http://developer.kde.org/documentation/other/developer-faq.html#q8

Report

WinterWolf

17 years ago

Somehow, i don't think enabling shadows for icon text fits in well with Background, it would go etter in another place for appearence or desktop, maybe you should palce it in the same location as where you can configure the icon text.

In addition, I think you should remove teh background program of the configurationa dn jsut use the best one.

Also, a shadow opacity option would be nice.

Thanks!

BTW: I think shadowed desktop test should be default in KDE, it may not even need a configuration center, just sue the one they think is best, but it is definetely needed. I also think KDE needs a UI overhaul and greater simplification, roganization and more concise features. The features only used by 5% of users are just bloatware. Speed should also be increased =) GNOME is faster on my system.

Report

WinterWolf

17 years ago

memory Usage option IMo should eb removed, who really cares or needs this. Many people do not even know waht would be adequte, just pick the optimal. Anyway, again thsi should go in the same place wher eyou configure the text for your icons and this way it won't need a separate pop-up window or text color selector etc.

Report

C

equinoxe

17 years ago

As Deciare mentioned, the changes are replacing the text background checkbox/button in the dialog box. Anyway, I think the change of shadow and high customisability of it should not be encouraged.

I'd rather have it hidden (as other feats in kde are) and per-distro set. Anyway, I don't think most users would configure the shadow type more than 1-2 times (if ever), especially because it requires to have the font configuration panel open as well (different shadows look better with different fonts and aliasing settings)...

Just my 2c :)

Report

Deciare

17 years ago

The only changes made by this patch are the "Use custom shadow colour" option and "Shadow type" option.

The text colour and memory options are both part of the unmodified Background Advanced dialogue in KDE CVS.

Report

tminos

17 years ago

I'm not exacly a coder of all things QT/KDE (yet), but would it be possible to add this to the Qt/KDE font handling (globally) so that all/any programs could use it?

I would love to be able to use it in menus (transparent ones) and window titlebars.

Report

C

equinoxe

17 years ago

Well, you actually can use it everywhere if you please, because the shadow algorithm & base is placed in kdefx. all you need is to look in kdesktop/kfileividesktop.cpp and see how the shadow is drawn. ...and copy the code into your one :)

Cheers,

Laur

Report

WinterWolf

17 years ago

That was actually one of my suggestions!

http://kde-look.org/content/show.php?content=3910

Report

ushohet

17 years ago

After patching kdelibs and kdebase and compiling kdelibs compilation fails when compiling kdebase/kcontrol/kicker:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -fno-exceptions -O3 -march=i686 -mcpu=i686 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kcm_kicker.la.closure kcm_kicker_la_closure.lo -L/usr/X11R6/lib -L/usr/lib/qt/lib -L/opt/kde3/lib -module -avoid-version -no-undefined positiontab_impl.lo hidingtab_impl.lo lookandfeeltab_impl.lo menutab_impl.lo extensionInfo.lo main.lo lookandfeeltab_kcm.lo advancedDialog.lo positiontab.lo hidingtab.lo lookandfeeltab.lo menutab.lo advancedOptions.lo ../background/libbgnd.la -lkio
../background/.libs/libbgnd.a(bgsettings.o): In function `KGlobalBackgroundSettings::readSettings()':
bgsettings.o(.text+0xc22b): undefined reference to `ShadowConfManager::getInstance(KConfig*)'
../background/.libs/libbgnd.a(bgsettings.o): In function `KGlobalBackgroundSettings::writeSettings()':
bgsettings.o(.text+0xc711): undefined reference to `ShadowConfManager::getInstance(KConfig*)'
bgsettings.o(.text+0xc723): undefined reference to `ShadowConfManager::get(QString const&)'
collect2: ld returned 1 exit status
make: *** [kcm_kicker.la.closure] Error 1

(Note: srcdir != builddir)

I did nm on bgsettings.o:
$ nm .libs/bgsettings.o |grep ShadowConfManager
U _ZN17ShadowConfManager11getInstanceEP7KConfig
U _ZN17ShadowConfManager3getERK7QString

Any help appreciated.

Uri

Report

C

equinoxe

17 years ago

Hi,

Unfortunately, it looks like kicker control section has a link to background/libbgnd.la instead of kdeui/kdefx. Try going in kcontrol/background and do a "make clean all".
It should fix any problems.

I'd go recompile kdebase from scratch, but that's me :)

Cheers,

Laur

Report

illogic-al

17 years ago

I tried both solutions and I still get the same error. I'm using current kde cvs

Report

DecayingOmega

17 years ago

Saying that your README file, the ONLY information as to how to install these patches, is lacking, is my politically correct way of saying that it sucks donkey balls. I tried for an hour to figure things out, as you basicall say "heres the files, not install them", and still have no idea how to install the patches. PLEASE PLEASE PLEASE improve your README so what users like me can apply the patches and benefit from your work. BTW, great work it is.

Report

C

equinoxe

17 years ago

..and sorry about that. Also, I havent got around to read the messages for quite a while, and sorry about that as well.

However, your politically correctness is actually cancelled just few words after you state it :). Instead of slagging, you could have posted me the message as other people did and/or make a better patch. Obviously you know how.

Report

guppetto

17 years ago

patch -b --verbose

Report

guppetto

17 years ago

To Test:
patch --dry-run -b

Report

guppetto

17 years ago

If your looking for help, you might want to drop the smart ass remarks. With that being said, what your missing about the install is that you need to do a man on the patch command. To apply the patches, place the .diff files in the directories that he explains in the Readme and execute the following command:

patch -b --verbose !

Report

guppetto

17 years ago

I got the shadow patches installed and they work great, however, the shadowconfigurator blows up. The main.o file in the hidden .obj directory appears to be a bunch of jibberish. I'm getting the following error:

.ui/shadowconfiguratorbase.cpp:98: invalid use of undefined type `struct KonqIconViewWidget'
shadowconfiguratorbase.h:19: forward declaration of `struct KonqIconViewWidget'
.ui/shadowconfiguratorbase.cpp:100: no matching function for call to `QGridLayout::addMultiCellWidget(KonqIconViewWidget*&, int, int, int, int)'
/usr/lib/qt3/include/qlayout.h:325: candidates are: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int = 0)
make: *** [.obj/shadowconfiguratorbase.o] Error 1

The configurator looks to be a very neat tool, so if you can help, I'd really like to get it built and installed. Mandrake 9 KDE 3.1, all patches applied except for the kicker stuff. I like the black arrows!

Report

C

equinoxe

17 years ago

I'll do a proper shadowconfig in the next couple of days (with kdevelop that is :) ) and a patch to the kcontrol module to be able to set up the few shadow types from a combo box.

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 2