Image 01
profile-image

jeffreym

Jeff McGee
KDE 3.x Window Decorations
test
Fitz

KDE 3.x Window Decorations 34 comments

Score 50.0%
Jun 13 2007
In case anyone else has this problem, you can fix it by adding the following line to fitz-0.4/src/fakemouse.cpp :

#define QT_CLEAN_NAMESPACE

The line should go near the top of the file between these two lines:
//qt
#include <qpaintdevice.h>

I don't intend to release an updated version since I don't have kde3 installed on my computer anymore. I am currently working on porting fitz to kde4. Sourceforge's svn repo has a version of kde that compiles, but does not work well. - Jul 02 2008
"Maybe try a thinner border and less rounding?"

KControl has an option that lets you choose the border size. If you choose the smallest size, Fitz will draw a border that is 1 pixel wide.

If that doesn't work for you, bug reports are always welcome. - Jul 02 2008
I'm more of a programmer than an artist, which is why I haven't focused much on how it looks.

I tried slanting the titlebar text like I did the buttons, but it was too hard to read. Also, the minimize button started out as a right triangle shaped like |/ and it was slanted just like everything else. Unfortunately, it doesn't look slanted.

The next version will probably allow the user to choose from a set of buttons. If someone is interested in making buttons for Fitz, you can email me at JeffAMcGee@gmail.com. It basically amounts to editing the file http://fitz.svn.sourceforge.net/viewvc/*checkout*/fitz/fitz/src/buttons.xpm?revision=30 with the gimp. I have also considered using the buttons from Crystal. - Jun 14 2007
Unlike the previous releases, I only made superficial changes this time. I got rid of the lines around the window frame and I made the window corners rounded.

If you want to see what it used to look like, there are some out of date screenshots at http://fitz.sourceforge.net/. - Jun 14 2007
This is the first release where I really cared how it looked. As a result, it doesn't look like the windows 3.1 window manager anymore. Whoop!

There are still some small bugs in this release that I have not worked out: when you switch from another decoration to fitz or if you open a dialog, a window may not display correctly. If a window looks wrong, just resize it or drag it around. - Jun 13 2007
Grr... If the left side of the window is less than 400 pixels from the left side of the titlebar, Fitz is supposed to use the new dialog style window, but sometimes it doesn't. I'm working on fixing it right now and when I have something that works, I'll release fitz-0.3.1 sometime this week.

You may be able to uncover the window in emacs by resizing the window just a little. If that works, I strongly reccomend you upgrade to the new version of fitz when it comes out. If that doesn't work, use vim. (Just kidding.) - Nov 08 2005
In this new release, I've added titlebars, which makes it much easier to move
windows around. It has some minor internal changes.

I'd like to get some feedback from yall about the title bar.

Should there be an option to replace the window caption with a move button?

Is the backwards italic text in the window caption too hard to read? If it
were not slanted, it would be easier to read, but look worse.

At the moment, I only show the part of the caption before the first " - ".
This removes the name of the application (since you probably already know which
program you're running). If anyone runs into a case where this actually causes
a problem, I'd like to know.

Should it crop the title to a certain number of characters so that the menu is
less likely to get covered up?

Does anyone use the auto-jump feature? I thought I would, but I only use it
for the buttons in the button bar. - Jul 24 2005
Rearding your window decoration - is it possible to have no border at the top at all, so that I hit the menu bar automatically without this somewhat weird auto-jump feature?

There are two problems with no border:
1. Most applications ignore a click on the top two or three rows of pixels. I would still need the auto-jump, or I at least need to forward the mouse button presses to the application when the user presses down. (Right now it forwards the click when you release the mouse.)
2. You have to be able to resize the window. Is a click and drag on the top border a resize or the user selecting a menu item? I may be able to look at the menu as you suggest below and figure out where there are menu items and where there is empty space. If there is empty space, treat it as a resize.

After using fitz for almost a year, I rarely use the auto-jump feature.

The second thing is the missing title.
I fixed that in version 0.2, which was released today.

Without a title at all, it might be cleaner solution to put the window buttons on the right/left hand side of the window, like SideKap.

I thought about that, but I like to have toolbars on the left and right side of my desktop. (see screenshot 2)

Maybe you could guess the amount of unused space in the menu bar by looking at the pixels right in the row right below to lower bound of our window buttons.

I've thought about trying to guess if I'm over the menu, and if I am, putting the titlebar above the window like normal window decorations. This would make the gimp quite a bit more usable. - Jul 24 2005
I just uploaded a new version that does not automatically maximize windows when they open. If you do enable automatic maximize from KControl, Fitz only maximizes windows that are greater than 500 pixels wide and 400 pixels tall. This seems to maximize applications and not maximize dialog boxes.

It will probably be a few weeks before I release anything else. - Jan 06 2005
> Would it be possible to add the app's icon to left (of the "File Edit Settings)?

You would have to find a way to make every application move the menubar (File Edit ...) around 16 pixels to the right. To do that, you would have to modify kdelibs or create a style and even then, it would only work for kde programs. You could also draw the icon small enough to fit between the outside edge and the F in File, but I don't think there is a way to do it that won't look strange.

So basically, no. - Jan 06 2005
>However without a means of easily moving the windows and the instant maximization makes this a little annoying.

You can move windows by pressing alt and dragging anywhere inside the window. (This is true for all kde decorations.)

I may put a move button in the titlebar in the space where the title goes or put the first 20 or so characters of the title in that space. Comments and suggestions are appreciated.

Fitz maximizes windows because I almost always use maximized windows. Eventually, I plan to make the automatic maximize optional and off by default. - Jan 06 2005