Skip to content

KDE Commit-Digest for 24th December 2006

Monday, 25 December 2006  |  Dallen

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.

Comments:

Oxygen-themed widget style - Mohasr - 2006-12-24

"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.

Re: Oxygen-themed widget style - Lee - 2006-12-24

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.

Re: Oxygen-themed widget style - Me - 2006-12-24

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.

Re: Oxygen-themed widget style - Anonymous - 2006-12-25

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

Re: Oxygen-themed widget style - otherAC - 2006-12-25

you don't have a scroll wheel mouse??

Re: Oxygen-themed widget style - Anonymous - 2006-12-26

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

Re: Oxygen-themed widget style - Aaron J. Seigo - 2006-12-26

.. 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.

Re: Oxygen-themed widget style - Pilaf - 2006-12-25

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!

Re: Oxygen-themed widget style - Schalken - 2006-12-25

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

Re: Oxygen-themed widget style - Casper Boemann - 2006-12-25

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.

Re: Oxygen-themed widget style - Daniel "Suslik" D. - 2006-12-25

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?

Re: Oxygen-themed widget style - Pilaf - 2006-12-25

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.

Re: Oxygen-themed widget style - Danny Allen - 2006-12-25

Most laptops don't have a scroll wheel ;) Danny

Re: Oxygen-themed widget style - John Tapsell - 2006-12-25

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

Re: Oxygen-themed widget style - Slubs - 2006-12-27

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.

Re: Oxygen-themed widget style - otherAC - 2006-12-28

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

Re: Oxygen-themed widget style - Hobbes - 2006-12-25

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!

Re: Oxygen-themed widget style - Tim - 2006-12-25

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.

Oxygen widget style - superstoned - 2006-12-24

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/

Re: Oxygen widget style - Casper Boemann - 2006-12-25

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.

What a great Christmas present ! - Marc Cramdal - 2006-12-24

Thanks again Danny, thanks for doing this !

Re: What a great Christmas present ! - Wade Olson - 2006-12-25

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

Re: What a great Christmas present ! - Robert Knight - 2006-12-25

I second that. Thanks for keeping us up to date Danny :) Have a very Merry Christmas.

Re: What a great Christmas present ! - anonymous - 2006-12-25

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!

Re: What a great Christmas present ! - superstoned - 2006-12-25

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.

Re: What a great Christmas present ! - Oskar - 2006-12-26

... does compile but contains no code ... So... what is compiling then?? =) Merry Christmas! //Oskar

Re: What a great Christmas present ! - anonymous - 2006-12-26

> the icons can be seen from the digest Sorry, I can't see any beautiful icons?

Re: What a great Christmas present ! - otherAC - 2006-12-27

So you find them ugly? :o)

yauap? - otherAC - 2006-12-24

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?

Re: yauap? - Narishma - 2006-12-24

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

Re: yauap? - otherAC - 2006-12-26

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....

KDevelop - CptnObvious999 - 2006-12-25

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

Re: KDevelop - Jakob Petsovits - 2006-12-25

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.

Re: KDevelop - Tim - 2006-12-25

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.

Re: KDevelop - Alexander Dymo - 2006-12-25

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 ;)

Re: KDevelop - Tim - 2006-12-26

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!

Re: KDevelop - Tim - 2006-12-26

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).

Re: KDevelop - Alexander Dymo - 2006-12-27

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.

Re: KDevelop - Aaron Seigo - 2006-12-28

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.

Re: KDevelop - wingsofdeath - 2006-12-26

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...

mailody - wingsofdeath - 2006-12-25

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

Re: mailody - Daniel "Suslik" D. - 2006-12-25

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.

Re: mailody - otherAC - 2006-12-25

>>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.

Re: mailody - AC - 2006-12-25

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.

Re: mailody - dolphin - boemer - 2006-12-31

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....

Re: mailody - logixoul - 2006-12-25

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 =)

dolphin - fast_rizwaan - 2006-12-25

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 :)

Re: mailody - otherAC - 2006-12-28

so Dolphin is not meant for everyday usage?

Re: mailody - logixoul - 2007-01-03

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

Re: mailody - Vide - 2006-12-25

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.

Re: mailody - ac - 2006-12-25

Yeah, I look forward to that (flaming) discussion too. As long as we focus on what Dolphin can solve and how Konqueror could solve long outstanding issues for itself, we can keep some rational going in that discussion. Because IMO Konqueror has to prove, very clearly, that it can and will solve some longstanding issues in the 4th KDE round. Dolphin is here to help but Konqueror can always clearly demonstrate when it believes it needs none. Either way, the (added) benefits should be made obvious for either choice.

Re: mailody - otherAC - 2006-12-25

I think a dolphin view mode for konqueror would be a better idea. I think KDE would shoot itself in the foot if they move away from an advanced file manager like konqueror by replacing it with a simple manager like dolphin.

Merry Christmas - Joergen Ramskov - 2006-12-25

to everyone @ KDE! And a happy New Year as well - may it become yet another great year for KDE!

I think that kde4 may be happening - BenAtPlay - 2006-12-26

<I>Siraj Razick committed changes in /trunk/playground/base/kbfx_plasma</I> I was so happy when I saw that Great work! i hope that kbfx actually gets a decent implementation of the plasmiod idea before the end of 2007! Then I guess it'll take over from kicker as the default bottom bar.... Happy holidays! Ben