KDE Commit-Digest for 24th December 2006

In this week's KDE Commit-Digest: A new game, KSquares, is imported into KDE SVN, with KLines starting on the (now familiar) path towards scalable graphics and general improvement. Usability and other improvements in Okular. Support for multiple "identies", alongside a festive basket of other enhancements in Mailody. Search support and plugin handling improvements in KGet. In Amarok, the "yauap" engine (a redeveloped GStreamer interface, using D-Bus interaction) progresses, with support for audio CD's. Improved OpenFormula specification compliance in KSpread. A much-enhanced implementation of "run-around text" comes to KWord. A work-in-progress python parser for KDevelop is imported into KDE SVN. Work begins on the Oxygen-themed widget style and window decoration for KDE 4.

Dot Categories: 

Comments

by Mohasr (not verified)

"Work begins on the Oxygen-themed widget style and window decoration for KDE 4"
this is the most interesting info for me in this week's commit-digest :-)

I just hope it has some innovative ideas , and good implementation.
as you know , icon theme is not enough to give a fresh look for KDE4.

by Lee (not verified)

Please, please, please... if there's a new window theme, can we have the buttons reaching the borders of the windows, at least in maximised mode? That way, we can quickly close a window or restore it to normal size by "throwing" the mouse to the screen edge, and clicking, rather than having to slowly aim for the widget box.

by Me (not verified)

If you go to Desktop -> Window Behavior in the KDE Control Center, you can change it so that maximized windows no longer have a frame, just the title bar and the window content.

by Anonymous (not verified)

It works for the close button, but not for the scrollbar, which still has a frame right of it.

by otherAC (not verified)

you don't have a scroll wheel mouse??

by Anonymous (not verified)

It's already written in another thread; even if you have a scroll wheel mouse, the scrollbar is much faster for quick navigation.

by Aaron J. Seigo (not verified)

.. and this is the default behaviour.

if the window deco you are using doesn't support this feature, file a bug with the maintainer of that deco.

by Pilaf (not verified)

That feature is the #1 reason why I only use the Plastik window theme, I know of none other that does it (plus Plastik is just cute). I only wish screen borders were given more importance when some widget will potentially be stuck to it. For instance, it always bothered me not being able to grab the scroll bar in maximized Konqueror by throwing the mouse against the right border of the screen, there's one or two pixels in between making me miss it each time and having to go back.

Thanks Danny!

by Schalken (not verified)

You're absolutely right Pilaf! It seems most KDE apps, when maximised, don't have any widgets touching the screen border (always 1 or 2 pixels off). Take an app's scrollbar, for example. They really should make use of Fitts' law, which states that clickable regions touching the border of the screen can be considered infinitely wide and hence easy to click on quickly. GNOME uses this rule (mostly), and at least Kicker does too.

The same goes for the windeco. I use Plastik as well for that reason (plus it stylishly matches the rest of my QtCurve theme). Normal-looking windecos really should have their titlebar buttons touching the edge of the screen when maximised.

Thanks,
Schalken

by Casper Boemann (not verified)

Though I never personally maximize my windows and thus find no need for it, I'll be sure to handle this (in maximized mode only).

Should I forget then please remind me again when the alpha or beta vesions starts to come out. Right now there is so much else to do.

by Daniel "Suslik" D. (not verified)

Rather diverse pool of usage habbits... I highly value an "easily grabbable" window edge, because I drag-n-drop a lot of things around - have to resize maximized windows often.

As a result not having access to the window frame next to the scroll bar in maximized Konquerror would be a rather horrid situation.

Luckly, there is a switch in KDE 3.x WM control panel to "allow resizing of maximized windows", which draws the window frame always. Hope the functionality stays.

I am rather puzzled by the need to grab the scroll bar though... what's wrong with your scroll wheel?

by Pilaf (not verified)

There's nothing wrong with the scroll wheel, but it just isn't as fast when I need to jump quickly to the other end of the page I'm viewing.

by Danny Allen (not verified)

Most laptops don't have a scroll wheel ;)

Danny

by John Tapsell (not verified)

On a laptop you can use the right hand side of the touchpad as a scroll wheel. Not sure what that's called

by Slubs (not verified)

For those people in love with the mouse nipple right in the middle of the keyboard (as seen in Thinkpads) the touchpad is too far away. For us it is easier to rush the mouse cursor to the right than to reposition the right hand to try to scroll.

by otherAC (not verified)

I think anyone who's handy with the mouse/touchpad/etc has no problem locating the scroll bar with it.

But if you do, you can always set the acceleration of the mouse and the treshold in kcontrol to get a better grip on your mouse pointer

by Hobbes (not verified)

Do you "quickly close" a window with your mouse?! I suggest "ctrl+q" or "alt+f4" for that job! And I suggest you define a shortcut to maximize/minimize your window (e.g. "alt+f1"). Life will be less painful!

by Tim (not verified)

Only if you mainly use the keyboard.

Most people use the mouse for maximising, minimising and closing windows.

The plastik windeco seems to get everything right, except for the scrollbar.

And to the person above: many laptops don't have a scroll thing on the touchpad, and what if you are using a plugged in mouse?

Besides, the existence of alternatives is no reason not to make the default method better. The extra 2 pixels to the right of the scrollbar would be missed by no-one if they were removed.

by superstoned (not verified)

still wonder about the 'work begins on oxygen widget style and window decoration'... i've exchanged mails with Thomas Lübking, who was at that time working on the oxygen style (we know Thomas from his Baghira style [1], btw). now the work begins?!? is he not involved anymore?

[1] http://baghira.sourceforge.net/

by Casper Boemann (not verified)

No he is not. He wasn't responsive to the artist and didn't show up on irc, so in the end we couldn't wait anymore.

by Marc Cramdal (not verified)

Thanks again Danny, thanks for doing this !

by Wade Olson (not verified)

Word for word what I was going to write. Thanks Danny!

by Robert Knight (not verified)

I second that. Thanks for keeping us up to date Danny :)

Have a very Merry Christmas.

by anonymous (not verified)

Can you post a screenshot please, so I can be happy as you? I have no deep knowledge and a slow (500Mhz) PC to compile KDE4-svn.

Thanks a lot and merry x-mas!

by superstoned (not verified)

screenshot of what? the theme isn't there (does compile but contains no code), the icons can be seen from the digest, and aside from some games there aren't many changes to be seen. i'd wait for the first alpha or beta.

by Oskar (not verified)

... does compile but contains no code ...

So... what is compiling then?? =)

Merry Christmas!

//Oskar

by anonymous (not verified)

> the icons can be seen from the digest

Sorry, I can't see any beautiful icons?

by otherAC (not verified)

So you find them ugly?

:o)

by otherAC (not verified)

Not that I mind, but it seams to be a new tradition on the Dot (see rant about kaffeine in last comments thread on the commit digest), so I ask the following question:

Amarok gets support for gstreamer through yauap?
Why not spend that time in porting Amarok to Phonon?

by Narishma (not verified)

Because Amarok is still a KDE 3 application, and Phonon only works in KDE 4.

by otherAC (not verified)

yep, i know, and i think it's a good idea that amarok continues to develop in the 3.x series while kde4 is not yet on the horizon.

But i'm still suprised that kaffeine and other applications got the blame for doing the same thing....

by CptnObvious999 (not verified)

Is that new python parser supposed to bring real python code completion? Can I finally drop SPE?!

by Jakob Petsovits (not verified)

This is one of the goals, although the python parser is just in its beginnings and we don't know yet how far we'll come with it. The problem with parsing Python from C++ is that it's a highly dynamic language, and the information we'll get from the parser will most probably not be enough to get satisfactory code completion results.

So regard this as a first attempt - we'll work it out eventually, but you may have to wait a good while for it.

by Tim (not verified)

The C++ code completion is still years behind MSVC 6 (which is now 8 years old).

That is, it doesn't work. I downloaded KDevelop 3.4RC2 and typed this:

struct foo
{
int a;
int b;
int c;
};

int main()
{
foo s;
s.

Expecting it to give me a nice list of a, b, and c, but alas. Nothing. However after typing the s it does give me a list of every function containing an s! Eg strdup(s). And also 'foo s (Local Variable)'. Err great... thanks for telling me what I just wrote! How.. err.. useful!

I'm sure it's extremely hard to do (you more or less have to compile the code) but still, 8 years!

And the 'Security Checker' does absolutely nothing as far as I can tell.

by Alexander Dymo (not verified)

Of course we can do code completion like this one. It would be ridiculous to support smart pointer completions (like we do in 3.4) and to not support simple struct completion. Any time you see things like this, please report us that as a bug!

Not having enough information, I still have tried to reproduce the bug and found one case when the code completion doesn't work. This happens for automatically opened file immediatelly after project creation. Once you reopen file (or project) - completion will work. I've fixed now this bug in svn so please update and check.

So instead of remembering msvc, do tell us (bugreport, irc, ml) what doesn't work for you ;)

by Tim (not verified)

Ah yes so it does. That's good. I didn't think it was that clever because it has never worked before.

I added my Qt4 path, and /usr/include/c++/4.1 to the search database, which makes it pretty slow.

Also things like this don't seem to work:

//header

class W : QWidget
{
Q_OBJECT
public:
W();
QComboBox* b;
};

//implementation

W::W()
{
b->

Hard to report bugs when you don't know what it should be capable of!

by Tim (not verified)

Oh actually it does work.

I had imported the Qt4 headers using 'custom directory' instead of the Qt4 importer.

Surely it should work for both? If not maybe you should auto-detect qt4 and qt3 (shouldn't be that hard).

by Alexander Dymo (not verified)

Custom directory importer is not smart enough to understand qt4-style includes, so we have dedicated importer for that. As fo autodetection, not everybody use Qt/KDE so we left completion databases creation for users. I'm not sure whether that was a good solution though.

by Aaron Seigo (not verified)

imho, it would be great to ship databases for the frameworks we'd like people to be using so things Just Work as much as possible. note that other IDEs have installation footprints that measure in the 100s or even 1000s of MB because they do this, so the added footprint wouldn't be a surprise (kdevelop's footprint is downright tiny =), and for packagers that split out the different template packs by language/env this added footprint won't even be an issue.

by wingsofdeath (not verified)

as i worked with ANTLR 3.0 , there you can easyly parse pyhton , even broken pyhton --..

whitespace is sent to the parser on a different channel so you can get this "tab" and "notab" events in your grammar...

by wingsofdeath (not verified)

as i know, that you cant say what people should do for helping kde, - i dislike the mailody and dolfin efforts :/

sry. just my pof. as i have seen many oss projects, it looks like there is one person with muchas time. Thats why the project goes this fast right now. When this person has other things in life, (Girlfriend, Job, ..) the project will slow down or is gone :(..

when someone picks it up again, it will first be refactored, and so on ..

i just build kde4 today, and there is so much work to do everywhere. You cant even work with it..

I appreciate all the work which is going in kde4 and want to thank you, keep going with mailody and so on, that are just my thoughts - and the purpose is to have fun coding :>
!!!

sry, for my poor english

by Daniel "Suslik" D. (not verified)

It's mostly a question of purpose.

Mailody sorta does look like a skunk-works-of-the-day project with no particular grandious purpose but to write a mailer from scratch. Since this apps doesn't try to solve any particular problem, luckly not many people are distructed. When main dev gets tired of it, everyone can rummage the code for usefull pieces.

Dolfin, on the other hand, does try to solve a real problem - make resource/file management easier. Some "new" (coppied from other platform to the point of using the same separator chars) features are tested in Dolfin. May end up as a good alternative to Konqueror fm, if features are not just parroted over blindly.

by otherAC (not verified)

>>i dislike the mailody and dolfin efforts :/

I wonder: do you dislike their efforts, or the fact that they happen in KDE's SVN?

If you checkout kde-apps.org, you will find many kde applications that are developing fast and can be considered as alternatives for main kde applications.

No-one complains about them, simply because they don't notice their development since it happens outside SVN and outside the scope of the commit digest.

and besides that, i don't think that kde4 will progress faster just by throwing a lot of developers on the project.

by AC (not verified)

I agree that often it's not good to do duplicated work, but if you look at for instance dolphin. It really has a lot of improvemends over konqueror. The developper is really trying lots of new stuff which I think sometimes is only possible when you start from scratch.

by boemer (not verified)

what is the difference between dolphin way and using Krusader ?

Krusader already does things differently than konqueror, that's why I wonder what Dolphin is trying to accomplish....

by logixoul (not verified)

Speaking with my former-Dolphin-dev hat on, I see Dolphin only as a way to showcase how well a radical departure from previous status quo concepts could work. I therefore hope a freshened incarnation of Konqueror remains the KDE file manager.

Merry christmas, btw =)

by fast_rizwaan (not verified)

dolphin does look like "Thunar" the filemanager for xfce desktop! clean and fast..

whereas konqi filemanager seems cluttered, though kubuntu has made it to look good :)

by otherAC (not verified)

so Dolphin is not meant for everyday usage?

by logixoul (not verified)

Correct, in the long term I don't consider Dolphin's purpose to be usage.
The maintainer, however, does. ;)

by Vide (not verified)

About Dolphin...I hope that someday in 2007 we'll see the (flaming) discussion about replacing Konqueror as filemanager with Dolphin by default.
Maybe I'm a dreamer bu Dolphin is IMO the way to go. Light, quick, it does ONE thing and it does it well. And with KIO support there's nothing I'm missing from Konqui.