Search This Blog

Loading...

Sunday, June 5, 2016

LaKademy 2016

This year we celebrated the fourth LaKademy conference and for my luck it happened in the city I live in, Rio de Janeiro :-) The reason for that is because I have not had much time for contributing to KDE as I used to have. The fact that the event happened in Rio saved me a lot o time and sure I wouldn't miss it for nothing hehe.

The event lasted three and half days (the last day was an Sunday) and was also an opportunity to meet old friends like Tomaz:


and new friends like Fernando:



I have been talking to Fernando through Internet for almost one year and have never had the chance to meet him in person, though we live in the same city hehe. Hopefully, he will become one more contributor to KDE :-)

One of the things I did during the event was helping Lays developing the new QML user interface for brprint3d and giving some tips for her GSoC work in Umbrello:


And having fun :-)


Besides helping Lays, I also helped Ronny to investigate and fix a bug in this QML game and did some bug triage for Plasma NM and Solid. The end result was some old bugs closed and this patch to Qt Declarative to fix a crash that affects Plasma NM.

Actually, the crash is an assert being triggered in QList while VDMModelDelegateDataType::notify() iterates through a QList of QQmlDelegateModelItem pointers. Somehow the list size shrinks inside the loop and the index-out-of-range assert is triggered. While investigating the bug I noticed that QQmlDelegateModel::_q_itemsRemoved() iterated through the same list but did not trigger the assert. Looking into its source code there is this comment above a couple of lines of code:

// layout change triggered by removal of a previous item might have
// already invalidated this item in d->m_cache and deleted it

Applying the same code to VDMModelDelegateDataType::notify() prevents the assert being triggered. I submitted a review request for Qt Declarative 5.6 with my patch and I am waiting for the comments about it.

It was great to meet my KDE fellows, old and new faces, during this LaKademy. Hope to see them again during Akademy in September.

Saturday, August 1, 2015

Akademy 2015

Spain is a very nice place to visit. After the two Solid Sprints in Madrid and Akademy 2013, now it was time to visit A Coruna.

My trip to A Coruna started in July 22 from Rio de Janeiro city, where I live, to São Paulo city. While I was waiting for the flight in Rio de Janeiro I feared it would be cancelled because of the bad weather. The flight right before mine in the schedule was cancelled, then I became more apprehensive. After one hour of delay they announced the new boarding time and I reached São Paulo with plenty of time to take the flight to Madrid and from there to A Coruna.

Going to the hostel by bus was easier than I had thought. I was also lucky enough to take the Rialta bus in the second part of the trip from the airport to the hostel :-)

For me, Akademy started with attending KDE e.V General Assembly. About five hours discussing current KDE situation and what could we do to improve it. After the assembly we went back to the Rialta hostel for the first party during Akademy :-)

The next two days of Akademy were dedicated to the talks. This is year I think the most prominent talk was the one about Plasma Phone (the link contains a video of the talk). That was really exciting talk. I also like the fact that the work we did for Plasma Active is still alive and with a bright future ahead. Now I just need to figure out how to install Plasma Mobile in my smartphone :-)

Alex Fiestas' On how Agile, TDD, CI and CD are the same talk was also very interesting for me because I responsible for maintaining the continuous integration infrastructure in my daily work (besides being a developer and doing some administrative work too). I share Alex vision about the importance of continuous feedback. Nice tak Alex.

The last week of Akademy is reserved for BoFs and the day trip. I am a member of the Solid team and since Solid Maintainer could not attend Akademy I decided to schedule and conduct the Solid BoF this year. The BoF notes are here. The most important thing, for me, during the BoF was the decision to pass to Jan Grulich the Network Management maintainership. I will still work on network management for KDE, there are still some things I want to implement in Plasma NM.

I attended some other BoF, interesting and important things being discussed there. Sure this is an important part of Akademy.

The day trip happened on Wednesday we went to Aquarium Finisterrae and the Hercules tower area. Nice places to visit and I enjoyed every minute. Other things that I enjoyed was walking to the venue (nice view), the food :-) (except squid, I do not like eating squids :-P) and the weather (not too cold during the night and not too hot during the day).

That was one of my best Akademy's. A big thank you to the local team and Kenny Duffus for making Akademy such an enjoyable event. See you all at next Akademy.

Tuesday, April 7, 2015

NetworkManagerQt 0.9.8.4 is out

NetworkManagerQt is officially a Frameworks now. As a consequence the repository has been renamed from libnm-qt to networkmanager-qt and NMQt version number now follows Frameworks version number (currently 5.8.0).

NMQt 0.9.8.4 is the last release from the 0.9.8.x series. From NMQt 5.8.0 and on you need to install Frameworks instead of downloading it separately.

Bugs fixed in NMQt 0.9.8.4:

. Fix security type check for wireless connections.
. Fix secrets loading for openconnect connections.
339296: Fix vpn secrets loading.
. Update documentation.

Friday, March 6, 2015

Plasma NM 0.9.0.12

Plasma NM 0.9.0.12

SHA256Sum: 27b4a383972dcbb25eb254dcfe6b71ccb05ca0418590eb57ddc20c0b7bcac8eb

This is the last Plasma NM 0.9.0.x release, it is officially retired and unmaintained from now on. If you have not moved to Plasma NM 0.9.3.x please do it.

Changelog:

. Fixes OpenConnect NEWGROUP handling and build against OpenConnect > 7.0.
341387: OpenVPN: Add option for server certificate verification.
334246: Import/export 'redirect-gateway' option from openvpn configuration files.
282996: aborts connection editing once we find an error.

The following languages have more than 80% of strings translated:

bs ca ca@valencia cs da de el en_GB es et fi fr gl hu ia it kk km ko lt nb nds nl pl pt pt_BR ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tr uk zh_CN zh_TW

Also read some very usefull information about how to use and avoid problems when using Plasma NM in my past posts page.

Thursday, January 1, 2015

Retiring Plasma NN 0.9.0.x

I am in the process of retiring Plasma NM 0.9.0.x (aka old Plasma NM applet). The new applet (Plasma NM >= 0.9.8.x) is already shipped with all major distributions. I may release Plasma NM 0.9.0.12 with some few bugfixes if someone is interested in that. However after 0.9.0.12 there will be no further releases for the old applet. It will enter in unmaintained state and I will ask sysadmin to remove/disable NetworkManagement product from bugs.kde.org. There is already product plasma-nm to report bugs in the new applet.

Saturday, November 15, 2014

Installing Plasma 5 on Gentoo Linux: problems and fixes

Yesterday I removed my Plasma 4 installation and installed Plasma 5. I know it is not ready for production yet but, you know, I am a KDE developer and want to contribute to improve Plasma 5 :-)

I used Gentoo's live ebuilds to install Frameworks 5 and Plasma 5's master branches. After some... several... ok, many hours compiling things Plasma 5 was installed and then I had my first surprise: I need kwallet 4 installed to import my secrets into kwallet 5, but I had uninstalled it before start compiling Plasma 5. Solution: compile kwallet 4 :-/ and try again. However, it was not that simple.

I used to use kwallet 4.14.2 (Gentoo's unstable version) but I installed 4.12.5 (Gentoo's stable version) without kdepimlibs installed. There are two problems with what I did: 1. kwallet uses a different file format when compiled with kdepimlibs installed. Since it was not installed kwallet 4 failed to open my wallet with "Unsupported file format version" error. Desperation started growing into my heart (my secrets, my precious secrets...). Looking at kwallet's source code (I love open source programs for allowing me to do that) I noticed that I needed to recompile it against kdepimlibs. So I did and... it did not work, the same "Unsupported file format version" error message appeared. 2. Looking into kwallet's git log I noticed that the file format's version changed between kwallet 4.12.5 and 4.14.2. I recompiled kwallet 4.14.2 and then kwallet 5 was able to import my old wallet :-). Tip of the day: do not uninstall Plasma 4 before importing your wallet. For Gentoo users that be a problem since akonadi-server's ebuild is configured to prevent compiling both qt4 and qt5 versions and akonadi-server is a dependency to compile kdepimlibs. I had to force (emerge --nodeps) Gentoo to compile kdelibs, akonadi-server, kdepimlibs and kwallet ebuilds to solve this problem.

With my wallet imported I though I had finished with that. However, Google Chrome did not list/show any of my secrets. The problem: Chrome uses the old dbus names org.kde.kwalletd and /modules/kwalletd instead of org.kde.kwalletd5 and /modules/kwalletd5. At least for now I decided to recompile kwallet 5 to use the old names, it works. Maybe we should add a command line option to make kwallet5 to also register those old names for backward compatibility.

After configuring my personal options in systemsettings my Plasma 5 desktop looks as productive as my old Plasma 4 desktop, which by the way I completely removed after fixing the kwallet issue. I still miss some applications such as Amarok, Digikam, Superkaramba (I created four applets for it that I would like to keep using). Two others, kdialog and polkit-kde-agent, are already ported to Plasma 5 but there is no ebuild for then, so I created the ebuilds and installed them. The kdialog ebuild still needs tweaking though.

polkit-kde-agent is necessary to allow Plasma NM to read secrets from system connections, which are stored in NetworkManager. It is a important program not only for me but for anybody that uses Plasma NM. After compiling it it did not work at first (always crashing). I had to apply this patch from reviewboard to fix the crashes.

To replace Amarok I recompiled Vlc to enable its qt plugin, which is already ported to Qt5 but Vlc compilation system insisted in using Qt4's include and libs even though it detected Qt5. For that reason when g++ tried to find QtWidgets' includes it failed. QtWidgets does not exist in Qt4. My solution was to export those two variables before compiling Vlc:

export QT_CFLAGS=$(pkg-config Qt5Widgets --cflags)
export QT_LIBS=$(pkg-config Qt5Widgets --libs

Sorry to the bashism in the line aboves, but it makes things shorter :-P

Vlc works, but crashes everytime it quits, not a big problem except that it never saves may playlist :-/ I still can press Ctrl+1 to make it load the first directory in the recent used list. I had to tweak my qdbus script to make my global shortcuts for play previous/pause/play next song to work with Vlc. Now it works almost as Amarok, except for the fancy features such as tablatures, lyrics, playlist sorting that I used to use from time to time. For the time being it will suffice. By the way, what is happening (or not happening) with Amarok? The lastest release was more than a year ago. Will it be ported to Plasma 5? Is there a Plasma 5 replacement for it?

One feature I missed since yesterday was the hability to select "shutdown computer" from leave dialog. Being the one that ported the old QWidget based shutdown dialog to Qml I expected the new dialog to be located in /usr/share/apps/ksmserver/themes/default, but now it is located in /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/logout/Logout.qml. Plasma 4's shutdown dialog theme is still in /usr/share/apps/ksmserver/themes/. After digging into ksmserver and libkworkspace's source codes I figured out that using kwrapper5 with ksmserver prevents shutdown and restart buttons from appearing in the shutdown dialog. The problem is that org.freedesktop.ConsoleKit.Manager.CanStop always return false when ksmserver is started through kwrapper5. I had to edit startkde script to do not use kwrapper5. OBS: I am using sddm and consolekit.

There are some random crashes here in there, but Plasma 5 is usable for what I need. Now I am ready to start fixing Plasma 5 issues :-)


Wednesday, November 5, 2014

NetworkManagerQt 0.9.8.3 is out


Bugs fixed in NMQt 0.9.8.3:

. Add workaround to properly update IpInterface.
339652: Add IPv6 configuration for VPN connections (needed for OpenVPN).
. Remove IPv6 setting from cdma/gsm connections since NetworkManager does not support this configuration.