Knifty

KDE 3.x Window Decorations

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:

A native KWin window decoration for KDE 3.x. Please see screenshots for details.

enjoy! ;-)
Last changelog:

17 years ago

0.3.4
- Added ToolWindow support (small titlebars).
- Truncate the caption string at 300 chars.
0.3.3
- Fixed the strange bug which added a "<2>" to the
caption after switching back to the windec.
0.3.2
- Added config option "use high contrast hovered
buttons". (Thomas Lübking)
- extended the title height slider with a smaller
height level.

stampede2

17 years ago

Yes, it is. For more info, you can take a look at the kde-usability archives.

Report

doctorture

17 years ago

If I understood what you said, there is
a theme called thinkeramik here in
kde-look which does what you want.

Also, I think this is the case, there
is an configuration option on kicker,
that permits sowing the borders only when
the mouse cursor is under the border.

Report

doctorture

17 years ago

sowing is showing and under is over. :)

Report

shanesemler

17 years ago

...now Knifty! This is one of the best decorations available now! This should be in every distro!

Report

wjarosz

17 years ago

I really like this windec! I do have a question though. Why is it that your windec doesn't allow to close a window by double clicking on the window decoration menu? I have found this to be true for many other window decorations as well. Some of them work, some of them don't. I guess this could be a problem with my setup, but it is specific to only certain window decorations, so I would guess not.

thanks for the great windec!
wojciech

Report

doctorture

17 years ago

Hmmmn.. What do you think, Sandro?

I like this somewhat... I didnt noticed
that functionality is missing.

Do you think it is an improvement
as me?

I just checked some windecor, each one
function at their own way. Windows use
this.

I liked the idea!

Report

C

ceebx

17 years ago

Ok!
I wasn't aware of this feature but this might be useful so I will implement it...

Report

wjarosz

17 years ago

Awesome! Thanks for adding that feature. This truly is my favorite windec now! Thanks!

Report

alexkde

17 years ago

That's a really nice decoration. Can someome tell me what's the name of the style being used for the screen shot please?

Report

doctorture

17 years ago

The third one is alloy , here in kde-look.org

See themes and select the highest rates.

Report

doctorture

17 years ago

Hi, Sandro!!!

I take the source for a tour and tried to do little optimizations.

I sent it to you by email, please review it and give me some feedback, please?


Thanks!!!
Andre

Report

doctorture

17 years ago

I sent to you at users.sourceforge.net.

Report

Vann

17 years ago

This is a wonderful window decoration; I think it should become part of the KDE default distribution.

My only suggestion is that you give an option so that the shadowed text on active and inactive title bars is independent (e.g., "Use shadowed text on active titlebar", "Use shadowed text on inactive titlebar"). The way the inactive titlebar is set up it makes the text sort of blurry, which I realize I can change by changing the text color. This would make the contrast more obvious, though.

Report

enric

17 years ago

ERROR!!
checking for libz... configure: error: not found.

Possibly configure picks up an outdated version
installed by XFree86. Remove it from your system.

Check your installation and look into config.log
##########
What is this error? what shall i do?
thanks,

enricBASS@yahoo.es

Report

reks

17 years ago

I had faced a same problem earlier and somebody here at kde-look helped me out..

Basically, there is some old version of libz.a lying around in your /usr/X11R6/lib. Does nothing useful. You can delete it. And do the Knifty configure,make again.

Report

SynTruth

17 years ago


I just redownloaded the tar file and compiled, but I realized that it still says 0.2 in the file name and compiles to the same as well. Did you forget to upload the new tarball? ;-)

Report

C

ceebx

17 years ago

jepp! ;-)
thanks, its fixed now...

Report

doctorture

17 years ago

What can I say about it, as my heart is already opened by Knifty? :)

WOW!!! Its reeeeeeally beautifull, usefull and configurable!!!

Im already getting it!!!!

Thanks again!!!

Report

Deciare

17 years ago

To say that I am impressed would be a strong understatement. :)

Unlike every other window decoration I've used (including a good many Aqua clones), this one actually looks good with colours very similar to the window background colour. There's something about the style of the buttons and the simple, coloured line that gives it a peerless depth of sophistication. Or maybe it's my mindless fascination with drop shadows. ;)

The only suggestion I have at the moment is to make it possible for window borders to have the same colour as the coloured line (that is, the title blend colour).

Report

doctorture

17 years ago

While at kde-look I took a time
to see the highest rated kwin decor.

This already has 10% difference from the
second one in the ranking.

90% knifty
80% aqua OS K
79% mkultra

COOL!
While analysing the features of the other
kwin decor, I found interesting the coloring
of the buttons in aqua. XP also has colored
buttons, so alloy...
It would be interesting if knifty uses also
some color to represent buttons. (like the aqua,
so CLOSE will be red etc...)

The Linux and KDE community apreciates your work,
confirmed by the hightest rate in the kwin decorations!!!

Report

SynTruth

17 years ago


Hmmm, *only* if those colors were user customizable, like in the Glow windec.

Personally, I like the buttons as they are. This is just my opinion, of course.

I have to say, the first version of Knifty left me saying, "Meh" because I did not like the color. The new version, using my colors, is very nice -- it's grown on me fast.

Report

doctorture

17 years ago

There is an study: Linux nears Windows XP usability
at http://www.infoworld.com/article/03/08/04/HNusabilitystudy_1.html

Thanks http://pclinuxonline.com for the link!

With knifty, thinkeramik and alloy I think we are
closer and closer to get a better designed interface
than we ever had!!!!

Thank you!!!

Report

Claymen

17 years ago

Im getting errors whilst trying to compile and it just drops out. Any ideas ? Its happening with a few kde/qt things latley and im thinking its a broken QT which wouldnt suprise me. But any idea on pinpointing it would be great.

Thanx

/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -I/usr/include/kde/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -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 -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -c -o knifty.lo `test -f 'knifty.cpp' || echo './'`knifty.cpp
knifty.cpp:11:28: kwin/workspace.h: No such file or directory
knifty.cpp:12:26: kwin/options.h: No such file or directory
In file included from knifty.cpp:14:
knifty.h:13:25: kwin/client.h: No such file or directory
In file included from knifty.cpp:15:
kniftyclient.h:13:25: kwin/client.h: No such file or directory
In file included from knifty.cpp:15:
kniftyclient.h:24: error: `Client' is not a class or namespace
kniftyclient.h:24: error: invalid base-class specification
kniftyclient.h:27: error: syntax error before `*' token
kniftyclient.h:48: error: ISO C++ forbids declaration of `MousePosition' with
no type
kniftyclient.h:48: error: `MousePosition' declared as a `virtual' field
kniftyclient.h:48: error: syntax error before `(' token
kniftyclient.h:55: error: `QBoxLayout' was not declared in this scope
kniftyclient.h:55: error: `layout' was not declared in this scope
kniftyclient.h:55: error: syntax error before `&' token
kniftyclient.h:24: warning: `class KWinInternal::KniftyClient' has virtual
functions but non-virtual destructor
kniftyclient.h: In member function `QPixmap
KWinInternal::KniftyClient::getTitleBarTile(bool) const':
kniftyclient.h:31: error: return type `struct QPixmap' is incomplete
knifty.cpp: In member function `void KWinInternal::KniftyHandler::reset()':
knifty.cpp:46: error: `Workspace' undeclared (first use this function)
knifty.cpp:46: error: (Each undeclared identifier is reported only once for
each function it appears in.)
knifty.cpp:46: error: syntax error before `::' token
knifty.cpp: In member function `void KWinInternal::KniftyHandler::readConfig()
':
knifty.cpp:61: error: `options' undeclared (first use this function)
knifty.cpp:61: error: variable `QFontMetrics fm' has initializer but incomplete
type
knifty.cpp: At global scope:
knifty.cpp:82: error: syntax error before `*' token
knifty.cpp:101: error: syntax error before `}' token
In file included from knifty.cpp:103:
kniftyclient.moc: In static member function `static QMetaObject*
KWinInternal::KniftyClient::staticMetaObject()':
kniftyclient.moc:54: error: no class template named `Client' in `KWinInternal'
kniftyclient.moc: In member function `virtual void*
KWinInternal::KniftyClient::qt_cast(const char*)':
kniftyclient.moc:78: error: `Client' undeclared (first use this function)
kniftyclient.moc:78: error: syntax error before `::' token
In file included from knifty.cpp:103:
kniftyclient.moc: In member function `virtual bool
KWinInternal::KniftyClient::qt_invoke(int, QUObject*)':
kniftyclient.moc:87: error: syntax error before `::' token
In file included from knifty.cpp:103:
kniftyclient.moc:82: warning: unused parameter `QUObject*_o'
kniftyclient.moc: In member function `virtual bool
KWinInternal::KniftyClient::qt_emit(int, QUObject*)':
kniftyclient.moc:94: error: syntax error before `::' token
kniftyclient.moc:93: warning: unused parameter `int _id'
kniftyclient.moc:93: warning: unused parameter `QUObject*_o'
kniftyclient.moc: In member function `virtual bool
KWinInternal::KniftyClient::qt_property(int, int, QVariant*)':
kniftyclient.moc:100: error: syntax error before `::' token
kniftyclient.moc:99: warning: unused parameter `int id'
kniftyclient.moc:99: warning: unused parameter `int f'
kniftyclient.moc:99: warning: unused parameter `QVariant*v'
make[3]: *** [knifty.lo] Error 1
make[3]: Leaving directory `/home/claymen/downloads/knifty-0.2/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/claymen/downloads/knifty-0.2/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/claymen/downloads/knifty-0.2'
make: *** [all] Error 2

Report

pynm0001

17 years ago

It may sound stupid, but have you checked out and installed kdebase also? You need kdelibs and kdebase installed to use compile KWin themes. Also be aware that KDE CVS KWin is mostly incompatible with KWin, so a lot of window decorations won't compile anyways. KNifty itself has been ported to 3.2, so try 0.4.0 if you're using KDE CVS.

Report

doctorture

17 years ago

So, are you using the HEAD branch of the KDE CVSL?
The problem reported has its roots in some files that were not found.
Please reconsider updating your KDE again because I am not using the KDE CVS and I have those files /usr/include/kwin/workspace.h
and /usr/include/kwin/options.h.
It cames with my distribution under the package name: kde-base-devel

Maybe you do not checkouted all development files.
Please ensure this...

Report

17 years ago

0.3.4
- Added ToolWindow support (small titlebars).
- Truncate the caption string at 300 chars.
0.3.3
- Fixed the strange bug which added a "<2>" to the
caption after switching back to the windec.
0.3.2
- Added config option "use high contrast hovered
buttons". (Thomas Lübking)
- extended the title height slider with a smaller
height level.

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.4
updated Aug 24 2003
added Aug 03 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags linux unix