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.

Claymen

17 years ago

thanks for the help

yer something borked and i was missing those files, grabbed then and bam shes working again. Dunno exactly what caused it, but i think it coulda been permissions when i copied the entire cvs from one machine to another, musta missed some files.

anyway, thanks all
damned nice window deco :)

Report

C

ceebx

17 years ago

Uhm... I'm running KDE CVS (HEAD) too, this should be ok...

Report

parsec

17 years ago

In debian you have to use configure script with this parameters:

--prefix=/usr
--with-qt-includes=/usr/include/qt3
--with-extra-includes=/usr/include/kde

Of course you have to install package name kdebase-dev to get files workspace.h and options.h.

Report

doctorture

17 years ago

Maybe the file workspace.h doesn't exist in the KDE CVS anymore or your KDE installation is not complete (missing headers) because the kwin _is_ part of the KDE.

Can you check this out?

Report

Claymen

17 years ago

Sorry shoulda included some extra details bout what im compiling with.

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3.1/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.3.1 20030728 (Debian prerelease)

kde-config --version
Qt: 3.1.1
KDE: 3.1.90 (CVS >= 20030731)
kde-config: 1.0

Im running Debian sid on an athlon xp 1800+ apt updated this morning. As you can see im also running KDE CVS which could also be causing problems.

Any help would be great

Report

tpr

17 years ago

Thanks for this sweetie! This is really the best decoration I have seen and it fits perfectly with alloy :)

Report

doctorture

17 years ago

Hi, my friend Sandro!

After using it all the day, I have some things to say. I dont expect you agreed with all of this,
but keep in mind that I'm trying to be constructive.

It has _all_ the best features that I ever wanted in a window decoration, so what I will do
will be an incentive!!!
The (some unique in KDE realm) knift good features includes:

* All the area next to buttons are linked to the actions of controling the window aspect as move,
resize etc. This is all good, very nice!!!!
* It has rounded borders except when maximized, this is _great_!
* I has _controlable_ heights (and it adjusts the buttons accordingly)!!! It would be great to make a user interface to configuring it, but it already has the functionality needed.
* It permits changing the buttons order in the bar (I didnt use this, but someone may use and some
decorations doesnt permits it to change)
* It has dynamic indication of the selected button (when mouse is over) I still think that this indication
it alloy kwin decor and XP is more beatufull but it also already has the functionality needed.

So, I thing that we still have room for improvements on these points:
* Although I think that the button icons are ok, sometimes I caught me pressing the wrong button to restore the window position (ok, I have a _problem_, duh!). Seriously, I pressed the restore button trying to minimize the window. So, I think that they are confusing (it happened more than 4 times during my day).
Maybe can you make the minimize minus _ to sit at the botton of the button or changing the restore to be
like your alloy kwin decoration.
* The colors (already noted by someone else). The alloy kwin decor colors are _great_!
* What purpose of that colored line above the bar? I didnt saw yet an good motive to have that colored line
yet. Its something new to me, no other decor have that one.
* The most annoying to me is that feature (I dont know if is a bug or what), that I showed to you by email.
When you configure the border size to be greater than 2 and maximize, it is eating the window.
If you permit me doing a suggest...
Why not make it like keramik, where you say if you want a grab bar or not.. and that grab bar can have the
height configured (it is the same as the border size?? Or I misundertood?) _AND_ not making it function
_WHEN_ the window is maximized? I Dont know if I was clear?!?!
* Other dummy thing that I noticed... The K in knift is lowercase where the other window decorations are
uppercase. Yes, I know that this is a bogus one! ;-)


In overall it has THE BEST FEATURES of all of them, so I will keep using it!!!!
Keep up the good work!!!
Did you tought in it being the default KDE decor or including it (at least) in the default
KDE as an option to keramik?

THANKS, SANDRO!!!

Report

doctorture

17 years ago

Judging by the incentives, it will
not be the case for lack of suppont
in KDE!!!! ;-)
It is the highest voted decoration already!

And the large linux and KDE community
thanks you with this high rate!!!

We all are winning making it the better!!!

Thanks to us all!

Report

C

ceebx

17 years ago

Hehe, it would be very cool to see knifty included into the KDE distribution but... well, let's see.

The purpose of the line was to better indicate the window active/inactive state but also I think it looks somehow pretty. ;)

Some of your other proposal IMHO make sense, i will take them into consideration...

Thanks, you will become my official feedback-guy! :-D

Report

mononoke

17 years ago

i am using that with Alloy-Style now, for a while. ;)

Report

tminos

17 years ago

Fix the coloring and you'll have my vote.

Report

reks

17 years ago

Suggest something about that blue line? Would be great if the user get some control on its color :)


Anywayz, Thanks! This windec is crisp and its different. And now I change my style from keramik to alloy+knifty.

Report

C

ceebx

17 years ago

You can do this already using the KControl color module. :)
Currently the "blue line" gets its color from the "Active/Inactive Title Bar" widget color setting. In knifty 0.2 later you can do this by changing "Active/Inactive Title Blend".

Report

reks

17 years ago

Hey.. I missed that :( I tried fiddling with "active-title-blend", but somehow missed the active title color. Thanks!

Report

doctorture

17 years ago

How can I make a large window
bar, just like the third screenshot?

Im not seeing any controls to make this possible.

Thanks again!

Report

C

ceebx

17 years ago

This is not yet configurable via the config dialog but you can either increase the size of your titlebar font or set "TitleHeightMin=xx" in your ~/.kde/share/config/kwinkniftyrc, section "[General]" which is by default 19 pixel.

Report

aergern

17 years ago

I'm trying to use your advice about changing the windec title bar ..it keeps changing the kwinplastikrc or kwinkniftyrc back to 16 when I was wanting it to be 8. And reason it does this? And can it be changed?

Report

doctorture

17 years ago

I noticed a blue line just below the window bar in screenshot 2, it is happening in my system too.

Even without seeing easily the window title, I
already thinks that is the BEST of all!!! I is very good!! You traduced the best thinks of the other decorations into this one!!!

Thanks!!!

Report

doctorture

17 years ago

Im not seeing what the text in the bar is.

Can the color be changed to blue ou another color?

It is light gray and the text white in my system.

I still dont know why...

Report

C

ceebx

17 years ago

Jupp, I noticed this too. This is because the titlebar obtains its color from the window background. Perhaps I will add a setting which allows people who prefer a more easily readable title to the current appearance to obtain the color from the titlebar foreground color. :)

BTW: I tried to answer your mail about the alloy issue but your providers MTA sends them back with an "Desculpe: este usuario excedeu seu espaco para mensagens!"

Report

doctorture

17 years ago

Hi, Sandro!

The problem with my email server is already fixed. Thanks!

Report

C

ceebx

17 years ago

I got your emails but I still wasn't able to send you an answer.
So I will do it here:

I saw the problems you mentioned on your screenshots. This is definitively a bug but I'm not able to reproduce this on my testing systems (Gentoo/Qt3.2/KDE CVS and an almost untouched Redhat 9).
Which distro and which KDE/Qt versions are you using?

Thanks, all your feedback is very useful!
Sandro

Report

doctorture

17 years ago

Now its fixed!! it was not fixed yesterday as you noticed... my failure!

Ok, if you got my email, you already know this, but anyway..

I think that problem is related to an option under kcontrol->window behavior->TAB moving->allow maximized windows to move or resize (something like this).

Its because I use this option to doesnt permit maximized windows to show the window border.

I really think this has a closer relathinship with the problem...

Can you check this out?


Thanks for your help!!

Report

doctorture

17 years ago

Nice to see this work... I didnt install it yep
(im downloading), but seems it has the best features of all.

You are becoming the window decoration man!!!!

Thanks!!!

I will post some feedback as soon as I get it
to work!

Report

Ataraxis

17 years ago

I really like the elegant look of your window decoration.
I think screen shots can't really show how nice it is, you have to use it to really see the beauty.

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
product-maker Base: 4 x 5.0 Ratings
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