Sessionsupport anyone?

October 30, 2008 at 11:54 pm | Posted in KDE, KDevelop | 3 Comments

While sitting here and keeping an eye on our (froglogic’s) booth at the Qt Developer Days, I saw that I haven’t blogged for weeks. So I guess its time for some updates.

What I’m working on currently in KDevelop4 is Session support, something that we currently need mainly for two things. One is that we want to allow the user to deactivate certain plugins, the other thing is that plugins themselves have a need to store some data somewhere. Where somewhere needs to be outside the project. Even though a plugin can already do this by getting the “data” resource from KStandarDirs, there’s also the desire to have various instances of that data around at the same time.

So thats basically the definition of “Session”. Our session support is relatively basic right now. The Core has an active session and the session provides a name, as well as access to a session KConfig object and allows to create a “dump-data-here” directory for a plugin. The GUI parts are all inside the shell, so we don’t have much public API.

This will also allow us to finally do something about the existing Profile system in KDevelop3/4. I guess few people actually know it, because most of the time it just works behind the scenes. It allows to define profiles for KDevelop and what to load per profile. The system in KDevelop3 works well, but the KDevelop4 port never really finished (there are some things missing). Apart from that we can do the same things with sessions and those are a lot less code. The idea is that we provide a way to read the list of “default” plugins from somewhere (currently thats a function that each kdevplatform applciation needs to implement) and thats it.

Also the session support is not going to get into your way. Which means there’s going to be a default session with sensible setup when you first start kdevelop and you don’t ever have to bother about it afterwards. I know Alex will thank me for that🙂

Ok, enough text for now. Ah maybe a short “Hi” to Jason Kasper, Alex Spehr and Charles Samuels which I had the pleasure of meeting during the DevDays.

I’ll be getting back soon with something really cool (at least for some people) including screenshots.


  1. It’s good to hear that KDevelop is alive and rock’in.
    When can we expect an alfa/beta/whatever release?

  2. Hi, did you tried the Qt Creator (aka Greenhouse)?

    What do you think about it? Any chance of borrowing some nice ideas from it?

    I loved the usability of the Qt Creator IDE, but I don’t know if will be as open as eclipse of kdevelop

  3. @Puelo: Well, I’m not sure yet wether there’s something we want to borrow. Feature-wise there’s nothing really new or that we haven’t thought of ourselves. And GUI-wise I’m not sure we want to go the same direction.

    @AdeBe: We already released an alpha sometime back. The next alpha releases will be done with the KDE 4.2 beta release dates and the plan is to have the beta (and hence feature freeze) with the release of KDE 4.2.0.

Sorry, the comment form is closed at this time.

Blog at
Entries and comments feeds.

%d bloggers like this: