35
Introduction KDE Mobile Plasma Mobile KDE Plasma for Mobile Phones KDE in your pocket... Alexis Menard March 9th 2010 Alexis Menard — KDE Plasma for Mobile Phones 1/32

KDE Plasma for Mobile Phones

Embed Size (px)

DESCRIPTION

KDE Plasma in your pocket. Presentation by Alexis Menard held during Bossa Conference 2010 in Manaus. Read more at http://labs.trolltech.com/blogs/2010/02/28/tokamak-4-the-kde-plasma-meeting/ http://qt.nokia.com http://www.bossaconference.indt.org/

Citation preview

Page 1: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

KDE Plasma for Mobile PhonesKDE in your pocket...

Alexis Menard

March 9th 2010

Alexis Menard — KDE Plasma for Mobile Phones 1/32

Page 2: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Outline

1 Introduction

2 KDE Mobile

3 Plasma Mobile

Alexis Menard — KDE Plasma for Mobile Phones 2/32

Page 3: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Agenda

1 Introduction

2 KDE Mobile

3 Plasma Mobile

Alexis Menard — KDE Plasma for Mobile Phones 3/32

Page 4: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

About MeWho am I?

Alexis Menard (IRC : darktears)

Qt Developer since 2008, based in Oslo

Mainly work on QGraphicsView, Dialogs and Widgets

Recently involved in QML development

Started KDE development in 2006 with KPlato

Plasma developer since 2007

Alexis Menard — KDE Plasma for Mobile Phones 4/32

Page 5: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

French Fast-Food

Alexis Menard — KDE Plasma for Mobile Phones 5/32

Page 6: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Norwegian Gastronomy

Alexis Menard — KDE Plasma for Mobile Phones 6/32

Page 7: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

The Plasma ProjectAn ionized gaz...

The beginning...

Design started somehow in 2006

First code was written in 2007

Came as a replacement of KDE3 technologies :KDesktop, Karamba and Kicker

Released in KDE 4.0 (January 2008)

Alexis Menard — KDE Plasma for Mobile Phones 7/32

Page 8: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

The Plasma ProjectA long start...

The beginning...

First release was missing many features but add newcapabilities

Many KDE3 features were added during 4.1, 4.2, 4.3 and4.4

Last release is KDE 4.4.1 two weeks ago

Alexis Menard — KDE Plasma for Mobile Phones 8/32

Page 9: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

The Plasma ProjectPlasma Everywhere...

Plasma today

A desktop user interface that will mature in 4.5

A netbook interface released with KDE 4.4 which will becompleted in 4.5

An upcoming interface for mobile phones

Alexis Menard — KDE Plasma for Mobile Phones 9/32

Page 10: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Plasma Desktop

Alexis Menard — KDE Plasma for Mobile Phones 10/32

Page 11: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Plasma Netbook

Alexis Menard — KDE Plasma for Mobile Phones 11/32

Page 12: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Agenda

1 Introduction

2 KDE Mobile

3 Plasma Mobile

Alexis Menard — KDE Plasma for Mobile Phones 12/32

Page 13: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

KDE on a phone, WTF? (1/4)Well, we have Qt on phones now

KDE Today

Around 48 Mb on disk to use the full platform

Rumors says that on MeeGo 3rd party apps will have32Mb

Kdelibs is one big beast

Alexis Menard — KDE Plasma for Mobile Phones 13/32

Page 14: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

KDE on a phone, WTF? (2/4)Solving the puzzle...

The strategy

Reduce KDE platform internal dependencies

Modular packaging so you install what you need

No Binary division like Full Desktop/Mobile phone

Alexis Menard — KDE Plasma for Mobile Phones 14/32

Page 15: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

KDE on a phone, WTF? (3/4)Let’s have a look on the menu...

Three profiles...

KDE Desktop : what we know today

KDE Tablet : mostly the full game aiming for very lowfeature loss, but some modules aren’t recommended

KDE Mobile : only the most useful modules.Dependencies are simplified as much as possible, usefulmodules are marked as mobile suitable

Alexis Menard — KDE Plasma for Mobile Phones 15/32

Page 16: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

KDE on a phone, WTF? (4/4)The plan...

Action plan

We need to communicate with packagers in order to seemore fine graine packages built, at least for thenon-desktop variant of distros.

We need to add a CMake option to build KDE for a givenprofile

Don’t enforce the KStyle on other platforms

The Mobile platform comes with much more constrainsand there are no kdelibs yet there, so no compatibility canbe broken. We might do some BC breakage here to allowslimmer dependencies

Alexis Menard — KDE Plasma for Mobile Phones 16/32

Page 17: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Agenda

1 Introduction

2 KDE Mobile

3 Plasma Mobile

Alexis Menard — KDE Plasma for Mobile Phones 17/32

Page 18: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

The projectKDE strikes back...

Plasma Mobile

Some research has happened in Maemo Summit whensome people got a N900

Extra research on a complete Plasma inNovember/December 2009

We officially kicked the project in February 2010

Alexis Menard — KDE Plasma for Mobile Phones 18/32

Page 19: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Beware of the dog!!

WARNING: The next slides are describing work in progress,everything can change

Alexis Menard — KDE Plasma for Mobile Phones 19/32

Page 20: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (1/5)The Plasma code camp...

The starting line...

An Intel Compal JAX10 with Moblin

A Nokia N900 with Maemo5

Qt, KDE, Plasma, three developers and a designer

Alexis Menard — KDE Plasma for Mobile Phones 20/32

Page 21: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (2/5)The Plasma code camp...

The state of art...

Maemo5 (and almost all others) : Multiple ’desktops’that you can slide + a gridview to launch applications

Moblin : No real dedicated user interface

So pretty crowded but still the same approach more or less

Alexis Menard — KDE Plasma for Mobile Phones 21/32

Page 22: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (2/5)The Plasma code camp...

The state of art...

Maemo5 (and almost all others) : Multiple ’desktops’that you can slide + a gridview to launch applications

Moblin : No real dedicated user interface

So pretty crowded but still the same approach more or less

Alexis Menard — KDE Plasma for Mobile Phones 21/32

Page 23: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (3/5)The Plasma code camp...

Our ideas

Make the navigation more context aware : where i am,what i am doing, who i am

You should be able to define activities : work, messaging,social, games

A solution

The desktop should be based on activities

No big gridviews with all applications, just the relevantones

An activity switcher not on your way

Alexis Menard — KDE Plasma for Mobile Phones 22/32

Page 24: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (3/5)The Plasma code camp...

Our ideas

Make the navigation more context aware : where i am,what i am doing, who i am

You should be able to define activities : work, messaging,social, games

A solution

The desktop should be based on activities

No big gridviews with all applications, just the relevantones

An activity switcher not on your way

Alexis Menard — KDE Plasma for Mobile Phones 22/32

Page 25: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Plasma Desktop

Alexis Menard — KDE Plasma for Mobile Phones 23/32

Page 26: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Alexis Menard — KDE Plasma for Mobile Phones 24/32

Page 27: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (4/5)The Plasma code camp...

How activities work?

Activities can contain widgets (related to the activityitself)

If you want to do more with a given widget you canswitch to full view

Alexis Menard — KDE Plasma for Mobile Phones 25/32

Page 28: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Alexis Menard — KDE Plasma for Mobile Phones 26/32

Page 29: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Tokamak 4 (5/5)The Plasma code camp...

How to launch applications?

Alexis Menard — KDE Plasma for Mobile Phones 27/32

Page 30: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Technical bits : Plasma core technologiesNo it’s not mega bits...

Applets

have a built-in way to react on form factors they’rerunning on

shares data using data-engines

can be shared on the network

are SVG themable

Containments

are containers for applets

can layout them if you want to

and they are applets!

Alexis Menard — KDE Plasma for Mobile Phones 28/32

Page 31: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Technical bits : Plasma core technologiesNo it’s not mega bits...

Applets

have a built-in way to react on form factors they’rerunning on

shares data using data-engines

can be shared on the network

are SVG themable

Containments

are containers for applets

can layout them if you want to

and they are applets!

Alexis Menard — KDE Plasma for Mobile Phones 28/32

Page 32: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Technical bits : Plasma Mobile

How it works...

QML is built in

Applets and Containments can be written in QML

Designers can provide QML for different devices

QML script engine : you can package/ship QML appletson kde-apps.org

Alexis Menard — KDE Plasma for Mobile Phones 29/32

Page 33: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Disclaimer about the demo

Plasma-mobile is running fullscreen alongside withhildon-desktop

Applets used here are not related to the activities, wellit’s a demo :D

LOTS of things are missing

Alexis Menard — KDE Plasma for Mobile Phones 30/32

Page 34: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Demo

Alexis Menard — KDE Plasma for Mobile Phones 31/32

Page 35: KDE Plasma for Mobile Phones

Introduction KDE Mobile Plasma Mobile

Questions ?Join us :[email protected]#plasma on freenode

Alexis Menard : [email protected]

Alexis Menard — KDE Plasma for Mobile Phones 32/32