Blog

Site for Lancelot and status update

I was a bit jealous when I saw the Raptor menu’s site, so I decided that Lancelot needed one too. While compiling the latest KDE (and Plasma) from SVN I had nothing better to do than web design. The result is available right here. It is not finished yet - documentation and screenshots are missing, but I intend to make it more comprehensive in the future - along with the new developments in the world of L. So to repeat, the address of the site is http://lancelot.fomentgroup.org

The split

The latest development before the Big Plasma Breakage (or as some call it ‘the transition to Widgets on Canvas’) was that the Lancelot is now divided into two main parts - the application and applets on one side, and the liblancelot library on the other. The library contains the base framework including advanced Plasma widgets and layouts. It is in a very experimental state at the moment, and it is not advised for anyone to use it outside of Lancelot. The API compatibility is being broken every week at the moment, but at some point it will stabilise (sometime around KDE 4.2 or 4.3).

WoC

Plasma is becoming stable enough (API-wise) and now it is Lancelot’s turn to reach the Big Breakage. Or to be more precise, it currently is in it’s Big Brekage state, but needs to get out of it. Since there are quite a few things that need to be changed, I have decided to do a bit more, so a couple of old widgets are being reimplemented from scratch to be more flexible and reusable (most notable example is that the old list widget is being split into ScrollBar, ScrollPane and List).

That’s all for now, I’ll ping you all again when the library becomes compilable in all its glory.

PCPress i KDE 4.o

Ovde imate članak o KDE 4.0 koji je izašao sa mesec dana zakašnjenja, i sa nekoliko što gramatičkih. što semantičkih grešaka napravljenih od strane lektora. (Original *nema* te greške, i to mogu da dokažem :) )

Theme Contest and New Features

Plasma now supports different looks for panels depending on the screen edge where the panel is located. You can find more details about how to make this kind of themes at KDE’s Techbase. Basically if you want to create a custom look for a left panel, just create all background elements for it and add prefix ‘west-’ to the name of every element. (east for right, north for top and south for bottom panel).

If you don’t want to name all the elements yourself, you could always use the Slim Glow theme as a base template since it uses this new feature of Plasma.

Reminder: Start making the Plasma themes, there is a contest going on!

Plasma Themes Contest

This is a post from the Dot, I’m just copying the announcement here as well. So, if you would like to comment, just do it there please.

The KDE Plasma team is inviting everyone to participate in a contest to create Plasma themes from which a select few will be chosen to be included as a part of the upcoming KDE 4.1 release. This is a great opportunity to contribute to a very visible component of the KDE project, the Plasma desktop.

A great feature of Plasma is the ability to theme components of the desktop using Scalable Vector Graphics (SVGs). This means there is no need for you to know C++ or any other programming language to create a great looking theme.

You only need to know how to use one of many graphics tools (e.g. Krita, Inkscape, The GIMP, Karbon, etc.) and that is all. Depending on your prowess with such tools, you can create great looking plasma themes in as little as an hour.

You can find a quick guide to creating Plasma themes in the Creating a Plasma Theme in 7 Easy Steps Techbase article.

Rules:

  1. Submit your work in the Plasma Themes section of KDE-Look.org website. Put a notice ‘(for theme contest)’ in the title of the theme.
  2. Submissions will be accepted as a tar.gz file of the theme folder.
  3. Submission deadline is 9th April, 2008 18:00 UTC. Themes submitted after the deadline will not be considered for this release.
  4. Winners will be announced by 18th April, 2008.
  5. All artwork must be original or otherwise meet the requirements for distribution as part of a GPL licensed project. Preferred license is LGPL.

Guidelines:

  1. Consistency. All theme parts should fit nicely with each other.
  2. Completeness. Although Plasma automatically loads required images from the default theme when they are not present in the active theme, it is suggested that you include SVGs for all theme elements.
  3. Uniqueness. The unique always stand out in the crowd; so should your theme.

Have fun! The Plasma Team.

This is a post from the Dot, I’m just copying the announcement here as well. So, if you would like to comment, just do it there please.

Lancelot and resize feedback

First of all, Lancelot can be resized from now on. Just like any other window - drag any edge or corner, and you’ll change it’s size.

But that is not the main reason behind my blogging about this. Since Lancelot /is/ a ground for experiments, here’s another one.

Instead of just changing the mouse cursor when you reach one of the edges to one of the resize cursors, you get a more notifiable feedback - the color of the border changes as well. Since a screenshot is worth hundred lines of code… here it is:

The highlight will be themable.

Resize feedback

ACID3 and Konqueror

Well, the ACID3 test is out, and it’s time to see the state of the current browsers on ‘the market’

Follows a list of browsers and their results taken from http://web-graphics.com/2008/03/03/the-acid3-test/, with one addition - Konqueror was not tested there.

Edit: Added a couple more tests - thanks for all who contributed

WebKit (Nightly - rev. 30790) 90 < Edit
Firefox 3 (Nightly) 67 < Edit
Opera 9.50 65
Konqueror 4 63
Firefox 3b3 59
Firefox 2 50
Konqueror 3.5.8 ~50 (see the comments below for details) < Edit
Opera 9.26 46
Safari 3.0.4 39
IE 8b1 17 < Edit (thanks to all who tested)
IE 7 6-12 depending on installed plugins

As you can see, amongst stable versions (in bold), Konqueror beats them all. Hip, hip, hooray for Konqueror (KHTML) devs! And one hip and hooray for WebKit!

Plasma UI Compiler

Well, as always, when I get bored, something good comes out of it.

This time I was annoyed with the fact that if I wanted to change the layout of Lancelot, I would have to dig in the code and switch layouts, parents, children etc. Without doubt, Lancelot is currently the most complicated (UI-wise) application based on libPlasma. (I’m not taking into consideration Amarok2 since it has only one part of its UI based on plasma - just the center piece - which is trivial ATM)

So I decided it was the time to switch to a XML-based definition of the UI. The problem, of course, was that there is no such feature in Plasma yet - there is a Designer and UIC for QWidgets, but not for Plasma and QGraphicsView

So, what could I do? The answer was simple - write PUIC - Plasma UI Compiler - which takes a XML formated file and generates C++ code from it. The tool is under heavy development meaning that most of current Plasma widgets are not yet supported (read: none of the Plasma’s widgets are supported :) ). Currently, it supports a couple of layouts (Border, Node and Flip) and Lancelot’s widgets.

Since PUIC is the integral part of Lancelot (for the time being), or to be more precise, the integral part of Lancelot’s build system (basic CMake support for PUIC is done also), the first thing on my TODO list is to complete the transition to XML-based UI, thus completing the support for all Lancelot’s widgets. After that, PUIC will be separated to grow on its own, and other layouts will be added with all Plasma’s widgets.

p.s. I have removed Lancelot from extragear’s build until this is finished.

p.p.s. Sorry for extremely long sentences.

p.p.p.s. No screenshots this time… be patient…

Lancelot applet close to finish

Just to show that there /is/ something happening with Lancelot, here is the new configuration interface for the Lancelot applet (just for the launching applet - not the application itself)

The applet is mostly finished (feature-wise).

It can be vertical (if in a vertical panel) or horizontal (default - on desktop or horizontal panel). It now scales as it should so you will not get it taking 50% of your panel…

The icon can be customized (unlike the current menus in 4.0 - both use KDE logo as icon)…

Lancelot Launcher Config

There still are a few glitches - or to say crashes :) - while applying the configuration on a working applet, but that will be fixed soon.

Ja u Australiji

Dobro, ne baš ja, ali moje ime u zemlji “dole ispod”. To jest, ne baš ni moje ime…

Elem, na prezentaciji koju je Aaron držao o Plazmi se, u jednom trenutku, može čuti spominjanje nekog ko se zove “Ajvan Kjučik”. Verovali ili ne, iako ne zvuči tako, to sam spomenut JA! Tako je to kad Kanađani pokušavaju da izgovaraju slovenska imena. :)

Inače, prezentaciju - video snimak i .odt fajl - možete preuzeti sa ovog linka. Dosta korisno štivo ako želite da radite bilo šta vezano za Plazmu - od samih apleta, do “ozbiljnijih” stvari.

Kupovine

Ovo počinje da me nervira polako. Prvo je Sun kupio MySQL (što me nije mnogo pogodilo sa obzirom da sam PostgreSQL fan), a sada i Nokia planira da kupi Trolltech, to jest firmu koja pravi Qt. Nadam se da će oba posla biti nedestruktivna za svet slobode i za zajednicu… stvarno ne zelim da koristim Gnome… ;)

Next Page »
Powered by WordPress
Copyright by Ivan Čukić, Foment Group