Thursday, May 31, 2007

KDE 4 talk

Yesterday evening I presented KDE 4 at my LUG, more from a user point of view than from a technical one (several of my slides were maybe too technical, for ex. the one about cmake). Dolphin, Plasma and KWin were well received as well as all the rest of the work. A big cheer for the new look of the games and for Kalzium 3D for example. I explained the new libs (the pilars), Sonnet is maybe the more waited for as it's the one which users will interact with the more. I also talked about the project itself, how one can integrate it (especially as Alexis, one of ervin's student who worked on KPlato was there), how the work is done, etc (the human part).
I am quite new to the LUG as I started last September and due to my little family I cannot take part to week-end events and I cannot be present to all meetings. So I did not know most of the people who attended. I noted several people in their 30s and 40s. Two of them went talking to me afterwards, they have kids and use KDE-Edu applications. As we'll do next meeting about Free Educational Software with 4 mini-talks (one from me about KDE-Edu) this is encouraging!
This is a good way of promoting KDE and 2 people asked me about helping for translations, I'll add a slide with contacts before putting the slides online.
ervin also started monthly KDE workshops, one Saturday per month, so that people can help each other in coding and socialize about it (luxtin, there's no valid excuse to play the Wii under false pretence of broken build!)
While I mention my LUG, there's a neat thing: every 4th Thursday of the month we have dinner together in a cool restaurant (they offer a free drink to ladies ;) and our other halves are also invited.
And we'll have Richard Stallman in Toulouse the 14th June!

Tuesday, May 29, 2007

Fix You

So Albert (tsdgeos) fixed it! yes, it being the KPassivePopup I told you about a few posts ago. It's all cartoony again! Thanks Albert and Pino (who did a first debugging session with me)!
In KDE-Edu we're trying to get KNewStuff working but no luck so far, the download dialog does not display anything. Almost all KDE-Edu apps use KNewStuff!
SoC students are starting their work on Marble and Kalzium, nice to see young people integrate our project. Warm welcome to them!

Sunday, May 27, 2007

Fantastic Place

Ok, maybe I'm overdoing it with this heaven promising song title (to carry on Aaron's trend). But well, I'm all hyped up about KDE 4. "How come? you know it!" I see you asking. Well until now I only ran KDE 4 applications I am working on within KDE 3 desktop. But 2 days ago I decided to start KDE 4 on its own and wooow, what a progress it made in the last month! It is actually usable now and I got addicted. I enabled kwin_composite for more coolness and hearing "wow" and "wha" my son aged 16 came looking and the verdict is "oh, neat, it's really more "visual"" (in teenager terms, that's the best you can get, I could see he wanted to add KDE 3 was too classical). The FreeDesktop standards allow a better K Menu with all non KDE apps neatly integrated (I discovered some apps I did not know I had ;-) Plasma is more than taking shape and even if there's only the clock to "see" that's not what matters. Visual plasmoids can be easily created when the base libs are well implemented.



For more about kwin_composite you can look at this doc:
http://websvn.kde.org/trunk/KDE/kdebase/workspace/kwin/COMPOSITE_HOWTO?revision=667643&view=markup

I'll be doing a KDE 4 talk at my local LUG next Wednesday so that's why I wanted to "see" it. I'll use oKular for the presentation and I'll be able to demo programs easily.

Together with my son we are Toulouse soccer fans and as my husband is away we could not go to the Stadium for the last soccer match of the season where our team fate was to be sealed. We watched it on the computer and our team won 3 - 1 and will be playing European League 1! So a big cheer for the TFC!

Wednesday, May 23, 2007

Latest SVG port: Kanagram

J.P., a new comer in KDE community was getting his feet wet by fixing a few things here and there. He already sent a few patches (accepted) and then went on IRC where I met him. He happily accepted to port Kanagram to SVG and did that very well and very quickly. So now Kanagram can be resized instead of being fixed size and we also fixed a few things in the process.



We are also thinking to use a common dir ($KDEDIR/share/apps/kvtml) for all kvtml files as currently Kanagram cannot use KHangMan or KVocTrain files.
Great community work as usual, it's far more motivating to fix an app when we are several people doing it and sharing ideas. Kanagram is unmaintained but we agreed in KDE-Edu to keep it and I said I would do the most obvious work on it for KDE 4.0.

Pete a young guy who is maintaining KOffice website with me also added a Loss/Win count in KHangMan statusbar as his first KDE coding hack. Neat idea!

I'll be alone with the kids from Friday to Tuesday as my husband is flying to Montreal to help Blandine pack her stuff. It's less expensive to fly there, give away some stuff and get the rest in the plane than having it shipped in a container with another cargo which would have cost us 4000 CAD! I'll miss ervin hacking session on Saturday (those monthly sessions he does in the Toulouse area are now officially labelled Qt and KDE hacking sessions) but going there with a 14 months old crawling baby is probably not a good idea ;-) The weather had been amazingly hot today and I went with Leah and Clarisse to the park near our house, there's a lake and playgrounds for kids and Leah can roller blade. I carry Clarisse in a baby backpack and she loves it. I also went swimming after my husband came back home in an attempt to recover my pre-Clarisse fitness.

Monday, May 21, 2007

KPassivePopup Comic style

A KPassivePopup is a notification that appears briefly on your screen and you don't have to do anything with it except read it. It provides you some information about your application (I must say that I don't like them when they are used at the start of an application like yakuake or Katapult as I launch many apps and I never have time to read them hence I then miss some important info like the shortcut for Katapult...).
In KHangman, I use KPassivePopups to tell the user that the letter he/she entered has already been guessed. The popup is in Comic style
popup->setPopupStyle( KPassivePopup::Balloon );
and is prettier than a plain rectangle. It looks like that:


However on KDE4 there is something broken and it looks like that:



The code that breaks it is in KPassivePopup::updateMask() method and will probably be a one liner. However neither Pino nor me managd to find the solution so far.
We made 2 changes that improve things:
line 469 QBrush brush( Qt::color1, Qt::SolidPattern );
instead of
QBrush brush( Qt::white, Qt::SolidPattern );
and line 475:
path.arcTo(corners[i].x(),corners[i].y(),40,40, i * 90 , 90);
instead of
path.arcTo(corners[i].x(),corners[i].y(),40,40, i * 16 * 90 , 16 * 90);
(QPointArray to QPainterPath).

Will you be the one who will fix KPassivePopup in Balloon style?

Monday, May 14, 2007

ODF Sunday

We hacked until early morning saturday night/sunday morning and I was glad to have Claire in my bedroom as she is full of energy as soon as she hears the alarm (me alone I would have put it on /ignore). After a shower I was fully awake and ready to get a good breakfast. Everyone started coming even the one who went partying (no, no, I won't disclose any name) and at 9:30 we were all busy hacking again at the KDAB office. A big thanks to KDAB people who not only sponsored the event for food and drinks and offices but were also giving their time by ensuring we had everything we need. The result is that now everyone dreams to work in the same environment than they do and with such nice people. Thanks also to Claire who looked over all the practical arrangments, the hotel was so quiet and nice!
I put my pictures here.
My journey back to Toulouse went evently, the plane flew over Switzerland in order to avoid the nasty weather in France and near Toulouse I saw a magnificent thunderstorm above the clouds. I had time to buy 2 nice Berlin T-Shirts for Leah (who had her birthday on Saturday) and Clarisse and 2 pairs of socks for my husband (very imaginative, isn't it? but then they have Berlin logo!) and other small goodies. Next Thursday is yet another bank holiday in France (no school or work on Thursday and Friday, we call that a "bridge", so to jump from the Wednesday evening to the next Monday) thus we'll make up for Leah's birthday and mother's day. Credits go to my husband who handled the week-end perfectly well despite a heavy schedule on Sunday!

Saturday, May 12, 2007

ODF Saturday

I travelled to Berlin yesterday, stopping at Munich (I was amazed to see that coffee and tea are free in Munich airport! However while I picked a wifi network it did not want to go to any other webpage than the one that said: pay in order to use the wifi network!) Anyway I was there for only a short time. Thanks to the nice organization, I took a bus then the U Bahn and arrived around 9:30 pm in the front of KDAB offices except everything was dark, the gate was locked, there was no KDAB logo and noone in the neibourhood knew about it. As I don't have a cell phone, I was wondering what to do but at that point Inge and everyone arrived from dinner. The KDAB offices are really nice, we have plenty of rooms, network is working. The hotel as well is perfect, quiet (our room is on the back side) and clean. I was happy to meet Claire again! Today David Faure gave as a presentation about ODF (ODF in a nutshell!), considering the specs are more than 700 pages you can imagine there's a lot to say about it. His talk was very neat and easy to follow and we carried on after lunch which we took at the office. Thomas concluded with some slides about Flake. We then discussed about sharing a bit of KOffice libs with the rest of KDE in the extend of what is possible in order to ease the use of ODF in other KDE apps. You can read about it on the Dot! I gave my point of view on what KDE-Edu can gain using ODF. I also worked on the website. We then headed for dinner and Ellen joined us thus we were actually 3 KDE women :) No need to say it's really nice to meet people in real from Ingwe the efficient organizer to Philip to whom I talked about doc quite a lot on IRC in the past years. Thanks to the sponsors for allowing this gathering, it's so much efficient to work in real than through virtual channels!
Oh and I forgot to add that I have the "smurf" flavour in the icecream distributed network! Isn't blue great?

Sunday, May 06, 2007

Qt StyleSheet - part 2

I just like Qt StyleSheet so much that I cannot stop using it! I applied it on KHangMan widgets, I even defined a color slightly lighter for the Guess button when the mouse hovers over it (hmmm, not sure if "hovers over" is right!)
On the left, KHangMan before and on the right, after applying the Magic Sheet.



I think I do too much KDE stuff. At home the other day I said that I was going to see if the washing machine has finished compiling... And today at dinner we were talking about history and evolution and the kids said to me: there was the Homo Sapiens and Homo Habilis and you are the Homo Laptopus!

Wednesday, May 02, 2007

First aKademy

Finally I am able to go to aKademy for the first time this year. I now live in Europe and I managed to arrange day care for Clarisse which is not so easy as she cannot go to a creche for a few days, being with me at home. I'll head for Glasgow with the Toulouse crew (we're 5 said ervin) on Friday 29th and I'll leave on Thursday 5th. I'm preparing the Edu & School Day on Tuesday and I'll give a talk on Wednesday which is Tutorial Day. aKademy is therefore already productive for me and I'm looking forward meeting a lot of KDE people and thus defining my KDE contributions for the next year.
If you are building KDE 4 from source, there's been some changes since last Monday so please have a look at http://techbase.kde.org/Getting_Started/Build/KDE4 which is up-to-date.
Yesterday was a bank holiday in France and we had some friends around. Deb also is at home after a week in Switzerland and before heading to Montreal next Sunday, she'll be doing some research work for her university diploma here. In the meanwhile she is enjoying playing with Clarisse and she also has quite a lot of homework.