DidRocks' blog

apt-get install freedom

Aller au contenu | Aller au menu | Aller à la recherche

Quickly reboot: Q&A sessions!

The previous Quickly reboot session about templates was really instructive! It started a lot of really interesting and opened discussions, particularly on the Quickly talks mailing list where the activity is getting higher and higher. Do not hesitate to join the fun here. :)

As usual, if you missed the on-air session, it's available here:

I've also summarized the session note on the Quickly Reboot wiki page.

Next session: Q&A!

But we don't stop here, the next session will be hold this Wednesday! If you read through the previous links, you will see a lot of pending questions we have still to discuss about, this will be used as the base conversation of the session. However, in addition to those topics, all of your questions will be taken into account as well! You can jump during the session on #quickly on freenode, while watching the show on ubuntuonair. You can as well prepare your questions and new ideas for Quickly, and post them to the google moderator page. There are plenty of ways to participate and help shaping the future of Quickly. Do not miss this session and subscribe to it right now.

Also, ensure you won't miss anything about Quickly and its reboot by subscribing to our google+ page.

Quickly reboot: developer feedback wrap up and templates content

Previous sessions

The first two hangouts on Quickly reboot about developer feedback were really a blast! I'm really pleased about how much good ideas and questions emerged from those.

If you missed them, the hangouts on air are available now on youtube. Go and watch them if you are interested:

I've also taken some notes during the sessions, here are what I think was important and came from them: hangouts notes. It's a wiki, if you do have any feedback/questions/other subjects you want to get discussed, don't be shy and edit it! Quickly is a fully community-driven project and we love getting constructive feedbacks/new ideas from everyone. ;)

I've also added on it some nice spot of discussions for future sessions, and speaking of sessions…

Next step: default templates

Next session is a really important one: what should be the default templates in Quickly? From the previous discussions, seems that python + gtk, a html5 one and the already existing unity-lens ones are the good candidates. If so, what should be in every of each of those? How should look the default applications? Which framework (if any) in the case of html5 should we use? Should we make opinionated choices or just providing a default set? What should we provide as tools for them, and so on…

Join the conversation, I'm sure it will be a lot of fun! We plan to have the hangout at 4PM UTC on Wednesday. Ensure to follow it either by jumping in the hangout itself or by following the onair session. Mark it to down to you calendar not miss it!

Do not hesitate to follow the Quickly google+ page to not miss any future events and enhancements to Quickly.

Time for a Quickly reboot?

Quickly is the recommended tool for opportunistic developers on ubuntu.

When we created it 3 years ago, we made some opinionated choices, which is the essence of the project. We had back then a lot of good press coverage and feedbacks (Linux Weekly NewsarstechnicaZdnetMaximum PC reviewShot of jak and some more I can't find on top of my head…)

Some choices were good, some were wrong and we adapted to the emerging needs that happened along the road. Consequently, the project evolved, the needs as well and we tried to make them match as much as possible. Overall, my opinion is that the project evolved in a healthy way, and has strong arguments seeing the number of projects using it successfully for the ubuntu developer contest. Indeed, from the ~150 submitted projects, most of them were created with Quickly and seeing the few support we needed to do, it means that most of things are working quite well! Also, the comments on the developer contest seems to be really positive about Quickly itself.

So? Time to go the beach and enjoy? Oh no… Despite this great success, can we do better? I like that sometimes, we can step back, look around, and restate the project goals to build an even brighter future, and I think now is this time and that's why I want to announce a Quickly reboot project!

quickly_reboot.png

Why a reboot?

We will need to port Quickly itself to python3, we have no hard deadline right now on it, but it's something (especially with unicode versus string) that I want to do soon. As this will ask a lot of refactoring, I guess it's time to evaluate the current needs, drop some code, completely use another direction to attract more 3rd party integrator (like do people want to integrate Quickly with their favorite IDE?), encourage template developers, make everything even more testable than today to avoid regressions… A lot of things are possible! So a reboot, meaning "let's put all aside, list what we have and what we want to do" is the appropriate term. :)

!Do you have a detailed plan right now of what is coming?

No… and that's exactly what I wanted! Well, of course, I have some ideas on papers and know globaly where I want the project to evolve, but the whole plan is to get the community contributing ideas, experiences before the first line of the reboot is even written.

I'm sold! how to participate?

I will run some google hangouts from the Quickly Google+ page. Those will be hangout on air (so you can just view them live or after the hangout without participating), asking questions/suggestions on #ubuntu-community-onair on freenode (IRC) for answering live, or you can jump in and ask directly during the show. :)

The current hangout will be also available (with an IRC chat box) on this page.

Those hangouts will be thematic to focus the discussion, and will be announced on the google+ Quickly page, this blog, the Quickly mailing list and so on…

First step… feedbacks, 2 chances to join!

The first step to build this Quickly next gen[1] is to gather some developers feedback. So, if you are a developer who used Quickly (or not!) and make softwares for ubuntu, in the context of the app showdown (or not!), we will love to ear from you! The goal of the session is not to point to any particular bug, but rather to share how the experience was for you, what template did you use, what template you would have used if it existed, what went well or bad with the workflow, when did you need to ask a question about a particular subjects? Of course, we are not limited to those questions.

You can directly jump into the hangout to ask your question live or just assist to the hangout on air and add a comment to the live event to get it read during the show.

The two first sessions will be live on different hours next Thursday and Friday: See those events are on the Quickly Google + page: subscribe to those hangouts on air to be sure to not miss them!

Next sessions?

Next topics in the following weeks will be:

  • listing the existings requirement
  • from the feedback from the first session, what needs to be added/dropped?
  • what need to be changed in Quickly to met it? Technical considerations (use of pkgme, templating system…)

all of this will be published on this blog and on the google+ page soon. I hope you are as excited as we are and will massively join us.

Note

[1] Term which seems to be use by the cool kids

Quickly: a path forward?

Seeing the amount of interests we saw around Quickly the past last years was really awesome!

Now that we have some more detailed view on how people are using the tool, it's time to collect and think about those data to see how we can improve Quickly. With all the new tools available like hangouts on air, it can be also now time to experiment how we can use them and use this opportunity to have a very open collaboration process as well as trying to attract more people to contribute to it. 

More on that next week. To ensure to not miss anything, please follow the Quickly Google+ page. :)

Lire la suite...

Unity Radios lens for quantal

After having worked on the local radio scope for the music lens, I spent some time with pure python3 code, which made me experiencing a bug in Dee with pygi and python3 (now all fixed in both precise and quantal)

In addition to that, it was the good timing to experiment more seriously some mocking tool for testing the online part of the lens, and so I played with python3-mock, which is a really awesome library dedicated to that purpose[1].

So here was my playground: an Unity dedicated radio lens! You can search through thousands of online available radios, ordered by categories with some contextual informations based on your current language and your location (Recommended, Top, Near you).

Unity lens Radios full view

As with most of lenses you can refine any search results with filters. The supported ones are countries, decades and genres. The current track and radio logos are displayed if supported and double clicking any entry should start playing the radio in rhythmbox.

Unity lens Radios search and filter

Was a fun experiment and it's now available on quantal for your pleasure ;)

Oh btw:

didrocks@tidus:~/work/unity/unity-lens-radios/ubuntu$ nosetests3 ..................................................


Ran 50 tests in 0.164s

OK

Note

[1] loving the patch decorator!

Announcing session-migration now in ubuntu

Just fresh hot of the press, session-migration is now available in quantal.

Session icon

This small tool is trying to solve a problem we encountered for a long time as a distributor, but had to postpone it way too long because of other priorities. :) It basically enables packagers and maintainers to migrate in user session data. Indeed, when you upgrade a package, the packaging tools are running under root permissions, and only hackish solutions was used in the past to enable us to change some parts of your user configuration[1], like adding the FUSA applet, adding new compiz plugins on the fly… There are tons of example when a distribution needs to migrate some user data (logged or not when the upgrade is proceeding) without patching heavily the upstream project to add a migration support there.

Fusa in 2008

This tool is executed at session startup, in a sync fashion. It contains caching and tries to execute the minimal chunk[2], based on the design of the excellent gconf->gsettings migration tool. It contains as well a dh-migrations package, with a debhelper hook (--with migrations calling dh_migrations), so that client desktop packages just have to ship a debian/<package>.migrations file linking to their migration scripts which will be shipped in the right directory. We can even imagine in the near future that when you install such a package, you end up with a notification that a session restart is necessary (and not a full reboot). Note as well that the migration happens per user and per session, so it's really important that the scripts are idempotents.

Was 3 days of fun coding this. ;) All of the C and perl codes are covered by a short, but complete testsuite run during the package build, so no breakage hopefully. ;) Associated man pages are session-migration and dh_migrations.

You can find more details on the launchpad specification as well as the recorded streamed discussion from UDS (part 1, part 2).

The illustrated session icon is under a GPL licence, found on iconfinder.

Notes

[1] Knowing that we try to respect as more as possible the gold rule and always trying to only change default, which is not possible sometimes

[2] but support multiples layers based on XDG_DATA_DIRS

Added rhythmbox radio support to unity music lens

Just got it merged (and will be freshly available in Unity 6.0 coming soon in quantal)!

I spent few hours last week to add rhythmbox radios (and writing unit tests) for the music lens. It's been a long time I didn't write some serious vala (I guess last time was for unity's Alt+F2). I confirm it's still not my favorite langage ;)

Coming back to the radios, they will now show as the last row (after tracks, albums and eventually online purchase ones), and they respect (if the metadata are provided in rhythmbox) to every usual music lens filters. Some obligatory screenshot: Rhythmbox radios in music lens

Coming soon, some more news about online radios searching directly in unity (just need a patch in dee for python3 support being released first) ;)

Android ICS on wetab (exopc slate)!

Spend few hours installing Android ICS (Cyanogenmod built for x86) on my exopc tablet and playing with it.

I've never been impressed by Meego installed on it as a developer preview, performance and feature-wise. I've found yesterday evening those instructions and links about a corvusmod rebuild of cynagenmod and I gave it a try! Of course, as this is not an arm device but x86 one, not a lot of applications are working out of the box, but overall, the UI is totally functional and browsing the web is a delightful experience.

Galaxy Nexus After migrating to a google nexus phone (my previous phone had android 2.2), I'm now full ICS at home and I love it! Well done Android team for taking hard decisions and focusing on the user experience itself[1]. This tremendous turn on having coherent and well-designed UI gave a lot of credits to the whole OS. Everything is now smooth on my phone AND my tablet and I love the whole ecosystem integration. :)

I hope we will be able to deliver the same kind of experience on ubuntu, coherent and centralized ecosystem where going from one device to another is almost seamless. I noted as well that the base OS image is only ~170 Mb. I wonder if we could achieve something similar seeing for how many releases we stroke to find enough space on the old 700Mb limitation… I guess we will have to take drastic decisions, but this time, keep them straight as we already tried 2 years ago with the netbook edition flavor :)

Note

[1] And I'm really happy that at Canonical, we are currently doing the same on Ubuntu

Cours python sur Ubuntu, débutant en programmation en ligne

Bonjour à tous,

je passe le message que Rick Spencer (un américain perdu en France depuis presque un an, responsable d'ubuntu engineering chez Canonical) veut lancer quelques sessions interactives[1] en français pour apprendre les bases de la programmation, en python. Python est un langage très accessible et excellent pour débuter dans ce domaine. Il permet aussi bien de créer de petits scripts que de vraies grandes applications (la plupart des applications spécifiques à ubuntu comme le software-center, update-manager, jockey, ubuntu one sont écrits dans ce language!).

Bref, n'hésitez pas à venir laisser un commentaire sur son blog pour trouver les meilleurs horaires si vous voulez participer à l'aventure !

Annonce sur le blog de Rick.

Note

[1] sûrement par google hangout

Precise Pangolin has now its finale Unity release (5.10)

Most of the time, after an Unity release, I look like that:

Jogging

Well, ok, not really, but in fact, this is after doing some exercice after an unity release, so it's exactly the same, isn't it? :)

This particular release didn't follow this rule though. Even if last Friday and Monday were a little bit rushy, we kept merging latest patches on a regular basis to polish the Unity experience on 3D as well as on 2D for Ubuntu 12.04 LTS. Nothing scary emerged at the last minute. Also, thanks to the community testing (85 results for unity 3D and 7 for unity 2D, you rock guys!), we were able to analyze and fix the most important issues that were raised before releasing, taking our time to upload Unity before the Finale Freeze. The long stability trail we had in Unity for the whole precise development release clearly shows that the new processes in place and the maturity of Unity are paying off.

I'll even tell you a secret, since we started the Unity journey, I've never been so proud and positive about any unity release than I'm on this 5.10. Consequently, this finale version of Unity on this quality-based ubuntu 10.04 LTS sounds like a Perfect timing for a Precise release for the Pangolin. :)

In addition to that, this latest release will give you a nice extra cookie for configuring the HUD key in the launcher category of the shortcuts in gnome-control-center for both Unity 2D and 3D.

Of course, it's not the complete end of the unity story in precise, we will maybe be able to fix some crashes that a wider testing would potentially give us before the finale release (and we have two small issues in minds we want to fix also before precise is released or in a first SRU), but we are very confident that Unity in 12.04 LTS will be the greatest Unity experience ever! Good job team, thanks to everyone who contributed through bug reports, code, translations, testing… We won't be were we are now without you!

Unity 5.8 out, ready for beta2!

As I write Unity 5.8 is currently building on our official builders and will reach ubuntu precise soon. For this release, a big part of the stack was uploaded (14 components) including unity, unity-2d, nux of course, but also compiz 0.9.7.2 and the lenses (with some ABI breaks in the middle).

What's new on this unity release? Well, you can see the 3d milestone and 2d bug fixes (look also at this one for unity 2d which landed last monday). Keep in mind also that some 3d bug fixes benefits 2d as well! So, a lot of bug unitfixes, but that's not only it! We also got some UI refinements, some very visible, some more hidden, but it's all those little touch which makes the whole experience better!

Do not forget as well that the music lens is now taking back an important role as it supports rhythmbox in addition to banshee!

Gnome Control Center dIsplay Unity panel

Also, we won some multimonitors new capabilities in both 2d and 3d. Basically, you can now decide if you want sticky edges between your monitors or not[1], and decide if you want one launcher (which is then set on your primary monitor), or a launcher on each monitor. Gnome Control Center was patched to add those default options (which only appears on an unity session) back to the main experience. You will now notice as well a more "unityish" preview with a panel and a launcher displayed. Dragging the launcher also enables to change where you want to set it in addition to the combobox (think about clicking on apply to get the choice taken into account!).

We encountered some hiccups but we either fixed them or workarounded other issues for landing the new stack in beta2. We still have an annoying issue which seems to be appearing rarely (only on some configurations). This is logged as critical on this bug. If you encounter this latter, you should choose the unity-2d session for now on your logging screen. Well done to everyone involved on this release!

We are trying as well a new approach to avoid having the current development version of ubuntu uninstallable for a while (because of a long dependency chain in all the related unity components) while everything is building. Basically, we are using experimentally the -proposed pocket and once everything is built, it will be copied to the main archive. Thanks for the release team to push the right buttons to enable this, let's hope this experiment will be successful and that we can generalize it in Q for every unity release and other components (and not only when we are frozen)!

Hope you will enjoy this release and precise beta2, which is just around corner!

New, shiny, Unity 5.6 released!

Phew! it's been a long road to release the next unity, but I'm more than happy to finally announce the release of 5.6. Unity components (dee, libunity, bamf, lenses, nux) and unity itself, plus some compiz snapshots (post 0.9.7.0) are part of this release. The packages are currently building on the official builders and should be soon available to you.

No particular new feature apart from better ibus support are part of it, plus a tons of bug fixes and some miscelleanous improvements: - Daniel van Vungt landed a patch in compiz that enhances its performance for more than 51%! When you test it, I can ensure you feel a real noticeable difference (in particular on older machines, like mine). - The alt tap false positive revealing the HUD is now part of the past. We know this one was annoying people, I can only tell you it's been technically challenging ;). This has been a rocking combined effort in compiz/unity sides. - the file lens can now find files that were never opened before.

I mentioned challenge… Yeah this release was challenging both process-wise and technically one. We noticed once we had frozen the code quite a fair number regressions. Tracking them and fixing took some times, regressed other things to track, asked for a new round of testing, regressed another part… That was a funny quite of race between issues as you can infer. But we keep it straight, we didn't release before everything was ready. Precise is about quality, and we will keep this strict path until 12.04 LTS is here (and continue after that!). All branches that enter trunk, at release time, have sensible tests associated. Tests are improved everyday and becoming easier to write thanks to the restless Thomi's work. We are more and more confident in everyone's work thanks to that.

Of course, everything is not perfect, the freeze process is debated and we will discuss how things can be improved, particularly when we have a long freeze time because of multiple regressions like this time. We are building upon those feedbacks and hope to make the process even better as soon as for executing it for unity 5.8, our next target.

Well done product stategy team. Keep it on!

Unity 5.2 is now released!

Phew! It's been a crazy ride to release Unity 5.2 once ubuntu precise released its alpha 2, but we finally get there!

Thanks a lot for all the community participation, we actually got 27 testers answering to Nick's call for testing. Those were high quality contributions and enabled us to get closer to the unity release.

So, what's new since 5.0? Well, a lot! :) More precisely, we got multimonitor support with screen edge detection, "push to reveal" launcher behavior to avoid false positive when hitting the back button of firefox, per workspace alt-tab switcher, new home dash, automaximize only on netbooks and a lot of small details that matter.

Test results

Here are some feedback after 5 hours that I took to collect and analyze the test results from all the (numerous) comments that were on the test results:

  • Testers confirmed that some of the issues spotted on 5.0 are now fixed, which is a great news! Not all of them, and of course, we have some minor regressions. I added those issues to the list of "distro priorities". You can look at them there. This list doesn't show all the defects we have, of course, but give a good overview of the big ones we track to ensure they are fixed as soon as possible.
  • Some tests have been updated due to new upstream behavior (like the per workspace scale option and new home dash which now retains its search status). Thanks for people testing it and to have spotted that we missed those changes when updating the tests! We also rephrased with the given suggestions some of them.
  • Some people seem to get difficulties to open menus from the application and the indicator when clicking on them in the panel (only Alt or F10 seems to work). I strongly invite them to open a bug repot with a video attached and giving more info as I couldn't reproduce it there.
  • There is a bamf bug revealing only on some particular circumstances (8 fails, and last time, we also get some failures on this test) when testing launcher/quicklist-pin. I personnaly couldn't reproduce it here. Then, I asked seb128 to give it a shot and he could get the issue. I tried again and this time, I got it! However, this seems to not be reliable or reproducible 100%. We opened a bug and put it on the priority list. Well spotted everyone! :)
  • Also some testers made some interesting design request, I'm reminding you of this link on how to join the relevant mailing list to participate in unity design (the introduction text stated it though ;)).
  • We got also some comments of "key above tab" and why we used this terminology rather than directly telling, let's say "`". Please remember that this is a keyboard dependent configuration! The usa keyboard is normally using `, my azerty keyboard is using ², it seems that for some other configuration it's < or ~. So yeah, we have to keep the test cases as generic as possible, bare with us, please! :)
  • We added some new test cases as well due to a very particular way of triggering some bugs like for instance bug #877778. Thanks to the one adding a comment to explain how to trigger it!
  • Despite our strong efforts to make an easy way for unity restarting on a simple click from the tests (and improving it), it seems that the glibmm/compiz bug preventing to restart it reliably on demand is still an issue. It's not a very important bug for everyday use, however, it will be nice that we can get it over for the tests in particular. Fortunately, checkbox enables you to continue the tests where you stopped even if you had to restart your session.

A story of boot time

Finally and probably the most important feedback from the whole list, peope started to feel that "it was longer to start/boot". Jumping on this fact, we made some bootcharts on our machines to get real and precise values and you know what… the comments were right! The multimonitor support made the boot time badly regressing. Consequently, we decided to delay the release until today to get that fixed rather than pushing a version with this performance impact on intel cards. We finally got the fix, push it to trunk and now, this is all old story! :) Thanks to all the community for spotting this one, it's better to remark it earlier than later and this participation really had a visible impact (or rather avoided some real visible impact ;)) for a bunch of users. Well done!

The importance of testing defaults

Some testers remarked that in the system settings test, we never told to add gnome control center to the launcher. However, in the introduction text, we clearly expressed that we expect testers having the default settings (you have the guest session for it, use it, love it!) and the system settings is by default pinned in the launcher. :) For instance, intellihide is the default behavior and we didn't say anything to ensure that intellihide is there. If we did it, there will be a long list of prerequesites on the top of each test that I'm sure testers don't want to see? ;) We strongly recommend people using the guest session to ensure all settings and environment are correct for the tests!

To sum up

Unity 5.2 is now building in the official repositories and should soon be available to all precise users. Thanks again to everyone participating in this project and see you soon for… 5.4 (or maybe a little bit before for an incoming compiz release that I heard of) ! :)

Some unity configuration in gnome-control-center.

Just finished some hacking for implementing some unity configuration options that are blessed by the design team, as shown in this official specification.

It contains as well other ui tweaks. You can notice in particular the "Restore defaults" options that work on each tabs and restore every page's defaults.

Gnome Control Center Unity tab 1

Those options are impacting both unity and unity-2d. This gave particular challenges as their features don't align (for instance, we don't show the "set launcher icon size" for 2d) and they don't have the same kind of "launcher hide mode". Also, some configuration options have more choices in ccsm than those shown in the ui (like if you want to reveal the launcher on the bottom-left corner, or if you are using the "dodge active window" mode. We tried to be clever on the ui side and not resetting any different setting you can have set in ccsm by just launching the ui.

We also had to do some choices, like what settings to take by default (on first ui launch), when you have different settings between unity 2d and unity 3d? As there are more ui to tweak 3d than 2d, I thus decided to take the settings from 3d at startup (and then, the settings will align).

Gnome Control Center Unity tab 2

Note that the "reveal spot" doesn't work right now for Top Left corner, but this is a compiz/unity bug and not yet (but soon will be!) implemented feature in 2d.

Finally, if you are using a non unity session like the gnome-panel or gnome-shell one, you won't be impacted by those new settings. You will still gain a new "Restore defaults" option though. :)

The package is currently building and will be available soon in Precise, enjoy!

Nautilus precise unity quicklist gets bookmarks!

Nautilus quicklilstFlying back from Budapest, I hacked on a long-time awaited design whishlist: "Nautilus quicklist does not contain the locations previously found under the 'Places' menu.". This is about getting the Unity quicklist for the nautilus launcher icon to display the list of the user's bookmark. It was unexpecdictly more "fun" that what I thought it would be.

Indeed, there is already one dynamic quicklist, appearing when you are making a copy operation which can take some time (when the copy dialog appears), giving the possibility to "display the copy dialog" and "stop all current copy operation". In addition to that, nautilus removes quite regularly all bookmarks and read them.

Surprinsingly, there is no API in libunity/dbusmenu to create "chunks" of menu and merge them at the end, which would be useful in cases like this one when an application have multiple quicklist update source. That means that we need to be nitpick so that one quicklist source doesn't erase the other. I've created some UnityQuicklistHandler GObject class for that impemented into Nautilus. Also, Nautilus can have multiple desktop files in the launcher, all of them are updated in the quicklist (and I tried to minimize memory consumption there).

As a small bonus, there is as well now the static "open a new window" quicklist entry to easily open a new nautilus window. I just uploaded it in precise right now. Enjoy! :)

Unity 5.0 into precise!

Now that the Canonical rally is ending, I'm happy to announce that we released and uploaded Unity 5.0 to precise!

This is by far the most exciting and the best Unity released we ever had, and I'm happy that we've be able to accomplish all of this thanks to the community and the excellent developer team. We received a lot of testing and got more than 50 test results from my previous call for testing. Well done everyone! For some stat fans: 22 packages have been built for this release, and it's only the start! If you missed this test call, don't worry, next unity release is coming in a couple of weeks and you will surely hear about it! :-)

Now, I think it would be useful to share the notes I've taken from the test results we collected. Here are some highlights on what seems to be relevant in my opinions:

We now have a tool to get the user test results from the result-tracker (posted by the hardware database). You can find it there: lp:~didrocks/+junk/resulttrackercollect (it only shows relevant data, not all tests that passed without any comment).

For upstream code:

  1. the wrapper we wrote using the "unity" binary to make restarting unity easy for testers didn't work quite well: a lot of people got compiz hanging (seen as well on the forum). This is mostly due to compiz randomly hanging when using compiz --replace. Proposed solution: add in the unity tool a "killall compiz" before restarting it.
  2. when restoring a semi-maximized application, the window placement is not the expected one (shifted compared to the cursor position). This is not a regression.
  3. the "most used app entry" is not available to some users, we experienced that ourselves as well and had to kill zeitgeist-daemon (mhr3 was looking on the system but has no clue on what it can be). This should be looked seriously.
  4. 8 people didn't get zeitgeist returning the newly created "foo" file in dash/global-search-files-apps. as in the previous point, mhr3 looked at it and restarting zg fixed it. There is something to investigate there.
  5. each time you click on the minimize button in the panel, dash opens, it becomes brighter (not a regression IIRC)
  6. Multiple complains that the music lens doesn't show all the banshee library content.
  7. 2 people reported a failed launcher/quicklist-pin telling that running application icons aren't in the launcher anymore. Seems a bamfdaemon issue.
  8. alt + F1 enters the keyboard navigation mode, but the second alt + F1 doesn't exit it. This is a regression from oneiric.
  9. when you put the mouse under the launcher area, launcher hidden, press super, release it, the launcher stays displayed when it should hidden because you didn't move the mouse (design request, was working on Natty, is failing since Oneiric. This is a nux event issue.)
  10. there is multiple reports about dragging icons in the launcher that are frozen and you have to initialize a drag again to fix it. I think this is not a regression.
  11. tabs navigate between lenses, which is not what design specified (not a regression)

For designers:

  1. people complained on wm/menu_basic that right clicking in the title bar works and bring a menu, but not when the application is maximized (as the title bar is in the panel). If we don't want to change that design-wise, we need to rephrase the test.
  2. alttab/windows-focus-betweenapps-multiple-one was a design oversight with the new alt-tab, we discussed that with Jason and John and it's getting fixed. Not a regression as well.

We fixed one ourself in our pre-testing and so it's fixed in the release:

  1. dash/show -> All lenses but the first one use the "broken" icon. I fixed it upstream.

Some work on checkbox/checkbox-unity

  1. we need to rephrase launcher/intellihide-clickhold as it puzzled people or see how to make easier for people to trigger it (3 Fails, without any comments, seems user's error)
  2. we removed "blank desktop" from the description on unity/startup after noticing some users were expecting "blank to be totally blank"
  3. we made some checkbox patches (like, when checkbox crashes, the restore dialog asking you if you want to continue is focusing "yes" now instead of "no" (some people cried on the forum because of that! :/). There is one pending on making "escape" not quitting it.
  4. checkbox doesn't work on a guest session due to sudo rights
  5. on wm/auto_maximize, seems that there is wrong fail reports. We think that's because people are starting an application which is not big enough to be maximized (75% of the screen). We will write a test application for the user to just run "test" and size it at a suitable size.
  6. we had more than 30 people starting the test on the french forum. 96 messages were exchanged related to those tests. We had people reporting the result manually on the forum because it seems they couldn't or they were not sured that the report got into result-tracker (there is no clear feedback that your report was successfully reported).
  7. we need to rename in launcher/move-icons "bfb" to "first icon the launcher"

So, as a summary, it seems that there is no big blocker there and that can be fixed in the next release. You can now enjoy your new shiny Unity 5.0 on your precise installation! Thanks again to everyone involved in all this hard work put together and all the testing that have been done. You all rock! :-)

On Oneiric?

Oh, and if you are on Oneiric, there is a new stable release update for unity 4.28 that will soon reach oneiric-proposed. It comes with a bunch of bug fixes, and even more! :) Do not hesitate to test and report feedbacks following the traditional SRU procedure.

Releasing a precise Unity 5.0 to Ubuntu 12.04

The Canonical ubuntu platform and product strategy teams are gathering in Budapest this week to tackle as much work as possible on precise pangolin. Despite the promise of snow and cheap beers, we are working hard on getting Unity 5.0 out of the door.

One of the goal of this release is to increase quality, precision, no regression on the work we push to the unstable version of ubuntu. The desktop experience team made automated and manual tests for that and we can already see the first benefits from it. We pushed an automated building infrastructure with public test reports to have commits automatically tested, pushed to the trunk of development branch as well as available packages in a ppa.

With all those news features and requirements, we needed to redesign the release process and that's what we have done last Monday. Let me expose the few steps I will explain there.

  1. On Monday evening, we have frozen the trunk, which means, no more new code can enter unity at this point (as well for all the related components like unity-2d, nux, dee, libunity, bamf, unity lenses). Only selected branches can now get in, and those are picked only if they contribute to getting closer to this release quality.
  2. Then, after ensuring on Tuesday that people can safely install the new release candidate, the unity-team ppa started to contain the whole latest of what will soon be the 5.0 version of unity. If you install from this ppa, you will see a kind prompt asking you to contribute when logging back to your desktop.
  3. This prompts help getting to our main goal, which is ensurin the quality of the new release. Multiple things have been put in practice for that. The desktop experience team qualified the release using their manual tests and running automated ones again. Aurélien and I run our own manual tests (120 of them, trying to covering the whole Unity functionnalities). This finished on Tuesday evening (we rephrased some) and we rebuilt all needed packages again, as well as some other dependencies like update-manager, usb-creator, nautilus, empathy, and gwibber to still make them working when you install from the ppa (ABI bumps). From those test we spotted regressions and get them fixed/fix them, regenerate everything and such.
  4. The manual test wrapper over checkbox is also automatically installed from the ppa. Which means that *YOU* can help too! I'm bootstrapping this process with the French Musketeers to ensure everything is correct and ready for the next release. How to help there will be widespread for Unity 5.2. More on that soon!
  5. On Thursday morning, we will collect the results from the tests, see what's still needed to be fixed (if it's the case) and then cycle back on the previous steps.
  6. At the same time, the bugs that are fixed will be milestoned, some cleanup will be done and everything will be then ready to format an explicit text of what's in the new release.
  7. Then, the process is well known: we will issue tarballs for every projects we need to upload
  8. Packaging them properly, with the right build-dependencies and needed tweaks will be done, and upload to precise to share the love!
  9. Finally, every non fixed bugs but targeted will be reported to the next milestones.

And that's it! Everyone will be able to enjoy the whole new shiny Unity 5.0, containing a bunch of bug fixes, as well, as all the layout and ground for being rock solid, speeded up and just… precise Unity version!

En direct de l'UDS (Ubuntu Developer Summit)

L'Ubuntu Developer Summit commence à Orlando, Floride, juste à l'instant. Même si cela fait déjà une semaine que je suis sur place (et malheureusement, la Floride n'est plus la même que l'année dernière[1] : pluie, brouillard, etc. Par conséquent, une raison de plus de travailler encore plus dur !

Comment cela fonctionne ?

Je vous invite à relire le post que j'avais écrit il y a peu sur comment participer à l'UDS, car participer, même depuis votre maison, est totalement possible. Plus d'information ici.

Voici le lien vers l'UDS lui-même pour suivre en direct le schedule, les sessions, les flux audios, les channels IRC. Il ne tient qu'à vous d'aider et décider du futur d'ubuntu et plus particulièrement de la future LTS, ce cher Precise Pangolin !

Notes

[1] c'était mieux avant :p

OneConf in Oneiric and the way forward…

A little bit of retrospective

OneConf is a pet project I'm trying to push since UDS Barcelona. The full idea is originally described on this wiki page: OneConf is a mechanism for recording software information in Ubuntu One, and synchronizing with other computers as needed. In Maverick, the list of installed software is stored. This may eventually expand to include some application settings and application state. Other tools like Stipple can provide more advanced settings/control..

Well, the definition today is quite different as you will see below.

Since then, a lot of other projects like unity took my time off and I couldn't really concentrate in this pet project. But now, even with some small late churn due to software-center moving to gtk3, OneConf is installed by default in Oneiric and syncing is active since beta2! It doesn't depend anymore on Ubuntu One but using its own infrastructure (linked to ubuntu sso, so a launchpad account, a ratings and review account, or still an Ubuntu One account is working with it). The sync is done linked to the new software-center webui infrastructure.

I'm really happy I've been able to take enough time to bring the needed polish so that I'm confident with OneConf installed by default right now on your Oneiric machine.

Usage

You can activate it in software-center by clicking on File -> Sync between computers… You will get the first time an ubuntu sso dialog asking for your crendential if you never reviewed any application in software-center (OneConf is using the same credential). Then, you are directed to the "Installed view" which is tweaked to show OneConf hosts.

OneConf Software-Center Oneiric

The first item "This computer (name)" will show the traditional Installed view from software-center. What is interesting is when you start setting up more than one computer in software-center to share your inventory. Those will show up in the view, and selecting one of them will show the difference between installed applications (and technical items) on the current computer and the remote one. Selecting the different elements enables you to install/uninstalled applications as you are traditionnaly able to in software-center.

Syncing is done regularly in the background as soon as you start sharing your inventory and you can see the last time the computer was synced. All data (basically the package list) on the syncing infrastructure are personals and linked to your unique sso id.

Note that the applications and package list is refreshed with any kind of installation method you are using: software-center of course, but as well, apt, synaptic, aptitude… PPAs application also will show up if the ppa is installed on the local computer.

You can as well stop sharing the current computer in the UI, and you will see it synced shortly to others.

That's cool, but can I have more?

Now is the right time to wonder what can be done for the next LTS.

Improving what we already have

Finishing plumbing the testsuite and some tweaks to the software-center ui is probably the way to go. In particular a way to "install all"/"remove all" buttons in the UI to just sync the same packages in both computer. I would love as well bringing back search as we had in the gtk2 version. Small nice speed enhancement opportunities are also totally achievable.

Finally, having the wallpaper as preview on the host icon is totally doable (in fact, it's already there, but not synced) but need some syncing infrastructure discussion.

Ubiquity integration

Wouldn't it be cool to be able to install a new computer and just tell "please, install it like <list of computer>". We need as well a checkbox to tell "this is the new foo" (if you are reinstalling foo). As we have the information that you installed an application on purpose (manually installed) or as only a dependency without doing that on your own, we can have an accurate list of what need to be installed.

Ubiquity integration will probably give us an unique feature and push the concept further. It only needs some UI integration work that can be done for next LTS.

WebUI

This one can be particularly enjoyable. Now that we have the really nice http://apps.ubuntu.com website and knowing that our package list is stored there, can we make both of them communicate? What if I log in with my sso account on this online software center, then see my computer list, select one, and look at what I have installed on this computer? What if I can add some pending actions, like "install this, remove that…". Finally, once I'm back on my machine and launching software-center again, I get a dialog "you have xx pending actions", do you want to complete them now?

I don't think we should do that automagically but rather rely on a confirmation in the software-center ui side as this requires root permissions, and can impact the current host: hence this software-center additional step. We should give a clear UI about what will happen on your computer if you acknowledge the change, let a way to remove pending actions (and then, sync that back in the webui), or just dismiss them for a later ack (like, I'm on battery right now).

This feature requires a lot of cross-team work (design, isd, platform), but I am really excited about it now that we have all the ground layers now ready and hope to be able to start working on it!

Hosts syncing

Another idea, linked to previous one, is about hosts syncing. What if I can say "foo and bar should have the same applications installed" (because they are two desktop stations), and "tidus, yuna and rikku are 3 netbooks and should be synced as well" (with a different application list as it's a different usage).

This one has challenging engineering question as, for the same reason as before, I don't think we should apply the changes without user confirmation and dismiss possbility. Adding than 3 PC and the previous "webui" idea as another source of changes and it results in very interesting cases, just of one of them is:

  • yuna added "foo"
  • tidus had "foo" previously and just removed it
  • the webui has a request to remove "foo"

-> which one should win? We can work on timetamp to estimate what's the last action was and this one wins. But in this case, if removing "foo" was the last action and I dismiss it on "yuna" when seeing it wants to remove it, what should happen? installling "foo" on tidus and select it on the webui as it was the last action trigger by "no please, don't remove foo on yuna"? If not, the other hosts won't be in sync anymore?

I have thought about tons of cases like that and we should carefully design what to do in every one of them to present the options in a clear and not confusing way to the user.

Those "sets of installation" can also brings a very interesting and handy feature I've never seen anywhere before (but maybe I'm wrong and it already exists). From an engineering point, it can become quite challenging to get it done in a reliable and efficient way. All this complexity should be hidden to get a clean, simple, efficient UI to our user base.

Recommendations

With the data in the webui, we can have better recommendations in software-center, like "people installing the gimp also installs inkscape". All this needs to be anonymous of course as it is on popular website already. Can be a very nice way to discover new applications.

User system settings syncing

For this one, I would think we should go using Ubuntu One. This was part of the initial spec in May 2010 (see the wiki link): having your wallpaper automatically synced between computers, some credentials to not have to configure again your system and other dedicated system settings (like the theme choice, the suspend after <x> min configuration…). We need to provide a way to select what to sync and having a set of sensible defaults. We don't want to sync everything, my power policy is different on my laptop and my desktop, but targeted options picked with care can really enhance the ubuntu experience.

Note that applications settings syncing like thunderbird are a different topic to this one which target system user info and choice.

Wrap up

This is only few ideas on what can be done with some cycle works (obviously, we can't target everything for P…) to make our ubuntu experience better and (I hope) innovative. There will surely be some UDS discussions about it and I hope to see a lot of people coming there! And youn, what do you think? Do not hesitate to share any of your crazy ideas and come participating to this effort, every single help is welcomed. :-)

Thanks

I want to thank everyone that helped in any way pushing that to Oneiric, and in particular, tremolux and mvo from the software-center (and motivation) side, mpt for the OneConf redesign in the new software-center and achuni for a wonderful job on the isd side. I'm really happy and thanksfull to have so many awesome coworkers!

Accessible Qt now in Oneiric!

Accessibility is one of the core value of Ubuntu.

Ubuntu accessibility team logo

When we announced that Unity 2D will be the fallback if you have no required hardware or driver for unity 3D, one of the compulsory request for that is that Unity 2D should be accessible. Even if one of the goal for the cycle is to make Unity fully accessible[1] we should still consider people needed accessibility and not filling the requirements for it.

In addition to that, we have now in Oneiric Qt installed by default as previously decided, and if we want to be toolkit agnostic, we need a good accessibility story on that toolkit as well… and Qt is known to have a blurry story about accessibility :)

Unity 2D is written in QML, and so based on Qt technology. So what happens?

It's been already some monthes that Qt people are working on accessibility in Qt and QML itself, basically working with at-spi2 technology (the same used in GNOME). Last week, a lot of Qt contributors gathered at the and I had the chance to spend some time in Berlin there too. The awesome and very friendly Frederik Gladhorn worked to backport the QML accessible branch (done in a in-development 4.8 branch, with some nice features of Qt 5 ;)) to cut all non relevant parts down and backport to a 4.7 branch (as we have 4.7.3 in ubuntu and will probably stick with 4.7.4 in Oneiric looking at the schedule). I just started from it, rebased on 4.7.3 and uploaded today (after some staging test days in the ubuntu-desktop ppa) to Oneiric!

So, if you upgrade your oneiric box and install as well the new qt-at-spi package (in universe right now, but should be soon land in main), you will get an accessible Qt and QML! To activate it (it's not activated by the global configuration over dbus right now), launch Orca or accerciser (common accessibility tools) and run your Qt application with QT_ACCESSIBILITY=1. We know right now that it's a little crashy (only with the environment variable set), but do not hesitate to test! Please report crashes/issues to the Qt package in launchpad and tag them a11y so that it's easier for us to find and leverage issues upstream. We can't do it without your helps and we need feedbacks, so please test. :)

That won't unfortunately make unity 2D instantly accessible though. Indeed, QML has not right now a standard desktop toolkit[2], every QML project creates right now its own components, and so, there is no accessiblity magic to now what to expose or not. Consequently, the unity 2D guys will implement and test the new property to be set so that Orca (for instance), can read the widgets content. Accerciser though already introspects unity 2D and other QML projects content, which means that it seems to work. :)

Thanks again to Frederik, it's a pleasure to work with him and thanks to all guys working on Qt making that possible! Let's continue working together and push accessibility in Qt and QML as far as possible :)

Notes

[1] which is almost there thanks to the awesome work done last cycle

[2] but works is under way

- page 2 de 6 -