Icon execute feedback

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
Available as/for: -
Description:

At first: Look at the screenshots.

Now the description:
This replaces the zooming rectangle that is drawn if you activate an icon in konqueror for execution feedback. It removes the rectangle and instead zooms the icon bigger and fades it out while doing. It's like MacOS X execution feedback.

Currently works in Konqueror, Kicker and all file dialogs. You will need a machine > 600 MHz for this though, else the animation may be slow.

This is a patch against kdebase-3.5.6 and kdelibs-3.5.6! So you have to recompile the two packages. Please only do that if you are experienced enough with recompiling KDE.

Apply the patches as follows:
1. Get kdebase-3.5.6
2. Get kdelibs-3.5.6
3. Get this patch
4. Unpack all archives
5. Change to the dir you unpacked kdelibs
6. Execute "cat /location/of/the/patch/kdelibs-3.5.6-execute_feedback.patch | patch -p1"
7. Recompile kdelibs
8. Install kdelibs (necessary as some header files changed)
9. Change to the dir you unpacked kdebase
7. Execute "cat /location/of/the/patch/kdebase-3.5.6-execute_feedback.patch | patch -p1"
8. Recompile kdebase
9. Install kdebase
10. Logout of kde and then login again.
11. Watch the icons zooming

Have fun. If you don't understand the step by step manual above
please inform yourself about how to recompile KDE on kde.org

If you find any bugs, feel free to leave a comment.
Last changelog:

14 years ago

V0.1: No public distribution
- Made it work with Konqueror in list and icon mode

V0.2: First public release
- Now flickerfree in Konqueror (all views)
- Fixed some offsets in Konqueror treeview mode
- Integrated kicker with it. This is a bit hackish, please test and report errors.

V0.3: Minor bugfix release
- Fixed animation on Desktop leaving garbage.

V0.4: Minimal Bugfix
- Slowed down the animation a bit

CURRENTLY KNOWN BUGS:
- Kicker and some other animations do not work with Composite manager enabled (KDE's Transparent Windows, xcompmgr or Beryl/Compiz)

Elv13

14 years ago

Hi, this is a very nice patch, but on my gentoo, i can only see 1 frame of the animation. The only way i found to see the animation is to start kfind and search for every file with the letter e inside (eat 100% of cpu). Aparently the animation is so fast that my open source intel driver (i865) dont have the time to render 2 frame...

Is it possible to edit the patch to render the zoom during a specific (customisable) amount of time instead of taking 100% of the cpu during the less time possible?

Report

C

dunkelstern

14 years ago

Do you use a compositing manager?
That could be the cause...

I am currently working on that issue as stated in the Changelog.

Report

roderick

14 years ago

I never tested under compiz/beryl...

Now, I just tested under beryl 0.1.9999.2 (X-effects overlay), and it works fine for me.

It is fast... but I definately get the animation frames.

Report

Elv13

14 years ago

Like i said, it is just too fast, i can only see it when i use portage or things like that. Yes i use berl, but i tried without. If the creator of this patch can add a setting for the nuber of frame or the time, it can be interresting.

Like he said, it is too slow on slow CPU, me, it is the oposite, i got a too much optimised kde...

Report

C

dunkelstern

14 years ago

There is a delay in it. But it may be it's too short or optimized out somehow... I'll check that and fix it for the next update (expect it to be soon.)

Report

Elv13

14 years ago

Thanks!

Report

Elv13

14 years ago

That would be perfect!

Report

C

dunkelstern

14 years ago

No, thats not the best option. I think I'll make it the KDE way: Let the user configure it :)

Somewhere below a KControl patch was suggested. If that person is so kind to send me his patch then I'll include it and extend it for setting the animation speed.

Report

Elv13

14 years ago

I use the old one (3.5.5). Gentoo team seem to have hardmasked 3.5.6 for a bug (probably this one). But i just recompiled kdebase and now the animation speed is perfect, not too slow and not too fast. Folders dont "wait" until the animation is over and i can see the animation.

Thanks! (and if you didnt made any changes in kdebase, i dont know how my problem got solve)

You should offer older version of the patch as "fast" "medium" and "slow" and possibly an "extremely fast" for older machine instead of trying to tweak the amount of frame to reach a "perfect standard". Thats my opinion.

Report

C

dunkelstern

14 years ago

Your Problem Elv is not connected to my patch but to the libart_lgpl package.

The programmer of libart made a mistake and it'll not build currently.

Either up- or downgrade libart, that should fix the issue (if you don't want to do that search the kde mailing lists for a patch. There is one but I don't know the URL though)

Report

Elv13

14 years ago

Ido, i dont know why (i dont know if its related to your patch) but kdelibs fail to compile. With the last version, everything was perfect, almost any warning, but now i get an error. Here is the last part of the compiling (sorry to the size)

bkdecorenetwork.la svgicons/libkdesvgicons.la ../dcop/libDCOP.la ../libltdl/libltdlc.la -lXext -lresolv -lutil -L/usr/lib -lart_lgpl_2 -lm -lidn ../kdefx/libkdefx.la
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainter::setClippingRect(int, int, int, int)':
ksvgiconpainter.cpp:(.text+0x46f): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0x51d): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainter::drawLine(double, double, double, double)':
ksvgiconpainter.cpp:(.text+0x6264): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0x62e1): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainter::drawEllipse(double, double, double, double)':
ksvgiconpainter.cpp:(.text+0x6353): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0x64d1): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0x6517): undefined reference to `art_realloc(void*, unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L2209':
ksvgiconpainter.cpp:(.text+0x6939): undefined reference to `art_free(void*)'
ksvgiconpainter.cpp:(.text+0x6963): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L2210':
ksvgiconpainter.cpp:(.text+0x6b66): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L2287':
ksvgiconpainter.cpp:(.text+0x72f8): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0x7347): undefined reference to `art_realloc(void*, unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L2856':
ksvgiconpainter.cpp:(.text+0x7653): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L2860':
ksvgiconpainter.cpp:(.text+0x9045): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainter::drawPolygon(QPointArray)':
ksvgiconpainter.cpp:(.text+0xa38d): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0xa514): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainter::drawRectangle(double, double, double, double, double, double)':
ksvgiconpainter.cpp:(.text+0xa5d6): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0xa69f): undefined reference to `art_free(void*)'
ksvgiconpainter.cpp:(.text+0xa6f6): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0xa980): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0xa9c7): undefined reference to `art_realloc(void*, unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L3135':
ksvgiconpainter.cpp:(.text+0xaa5c): undefined reference to `art_free(void*)'
ksvgiconpainter.cpp:(.text+0xaab7): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `.L3139':
ksvgiconpainter.cpp:(.text+0xacc2): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainter::drawPolyline(QPointArray, int)':
ksvgiconpainter.cpp:(.text+0xb30b): undefined reference to `art_alloc(unsigned int)'
ksvgiconpainter.cpp:(.text+0xb431): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainterHelper::KSVGIconPainterHelper(int, int, KSVGIconPainter*)':
ksvgiconpainter.cpp:(.text._ZN21KSVGIconPainterHelperC1EiiP15KSVGIconPainter[KSVGIconPainterHelper::KSVGIconPainterHelper(int, int, KSVGIconPainter*)]+0x21c): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainterHelper::~KSVGIconPainterHelper()':
ksvgiconpainter.cpp:(.text._ZN21KSVGIconPainterHelperD1Ev[KSVGIconPainterHelper::~KSVGIconPainterHelper()]+0x2f): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(ksvgiconpainter.o): In function `KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)':
ksvgiconpainter.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0x642): undefined reference to `art_free(void*)'
ksvgiconpainter.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0x6b3): undefined reference to `art_free(void*)'
ksvgiconpainter.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0xa1a): undefined reference to `art_free(void*)'
ksvgiconpainter.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0xb01): undefined reference to `art_alloc(unsigned int)'
collect2: ld returned 1 exit status
make[4]: *** [libkdecore.la] Error 1
make[4]: Leaving directory `/tmp/execute-feedback-0.4/kdelibs-3.5.6/kdecore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/execute-feedback-0.4/kdelibs-3.5.6/kdecore'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/execute-feedback-0.4/kdelibs-3.5.6/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/execute-feedback-0.4/kdelibs-3.5.6'
make: *** [all] Error 2
localhost kdelibs-3.5.6 #

Report

C

dunkelstern

14 years ago

Just in case you monitor this...

UPDATE :)

Report

roderick

14 years ago

Strange, I have an intel card and can see the animation fine...

Report

GuSArg

14 years ago

Hi!!

Could you please tell me which icon set you are using? Thanks.

Report

C

dunkelstern

14 years ago

I knew that this question will pop up.

I have to diappoint you, it's a wild mix of different Themes. Some Icons from "Realistik", "Human", "Crystal Clear", "Vista Inspirate", Nuvoext", "OSX" and "Tango"

I think a quite similar look you get with installing "KDE Crystal Diamond 2.5 - Classical Mod" but don't ask me where to find it.

Report

roderick

14 years ago

Gentoo e-builds updated in xeffects overlay to version 0.3

Report

roderick

14 years ago

Hi,

I have integrated this into the Xeffects overlay for Gentoo if anyone is interested.

http://www.gentoo-xeffects.org/

The overlay can be added via the overlay tool layman. Check out the Xeffects wiki for details.

http://wiki.gentoo-xeffects.org/

These are done as split ebuilds, and in order to do so, I had to alter the kdelibs patch to insert in the header section. Otherwise, it was possible that kdelibs may not compile.

Cheers,
Rod.

Report

C

dunkelstern

14 years ago

Splitted patch is now online, with minor bugfix and qapplication.h included.

Still doesn't correctly display all animations with composite manager enabled. I'll try to fix this tomorrow evening.

Report

roderick

14 years ago

Sorry... typo in last message...

The addition was <qtapplication.h>. to kdelibs patch.

So, when you make your splits, please remember to add this in just before or after the <qpoint.h> insertion in the patch.

Report

roderick

14 years ago

God I can't type... qapplication and not qtapplication....

Report

C

dunkelstern

14 years ago

Gee, I know what you mean ;)

Report

roderick

14 years ago

What is/are the bug fixes you are talking about. I'd like to integrate them as soon as possible.

Thanks

Report

C

dunkelstern

14 years ago

See last entry in the changelog of the entry :)

Report

liquidat

14 years ago

Nice one, you should get in touch for example with the Plasma developers (KDE 4) to speak about such techniques and how you might want to integrate them into KDE 4 - I'm quite sure they will be happy to hear about what you did :)

Report

warriorness

14 years ago

I see the patch is only for the monolithic kdebase package. Any chance of getting a patch for the modular packages (i.e. one for each konqueror, kicker, whatever)?

Report

14 years ago

V0.1: No public distribution
- Made it work with Konqueror in list and icon mode

V0.2: First public release
- Now flickerfree in Konqueror (all views)
- Fixed some offsets in Konqueror treeview mode
- Integrated kicker with it. This is a bit hackish, please test and report errors.

V0.3: Minor bugfix release
- Fixed animation on Desktop leaving garbage.

V0.4: Minimal Bugfix
- Slowed down the animation a bit

CURRENTLY KNOWN BUGS:
- Kicker and some other animations do not work with Composite manager enabled (KDE's Transparent Windows, xcompmgr or Beryl/Compiz)

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
updated Mar 06 2007
added Feb 09 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4