LibreOffice at droidcon Vienna

LibreOffice is available for Android smartphones and tablets – albeit as a “Viewer” application, for checking documents on the go. There is an experimental editing mode, but it still needs more work, and we’d love to have more help and feedback to improve it!

So to spread the word amongst potential contributors, Christian “Cloph” Lohmaier (LibreOffice’s release engineer) and Mike Saunders attended droidcon Vienna on 21st and 22nd of September.

Organised by AndroidHeads and the Google Developer Group Vienna, droidcon is made up of 20 sessions on various topics. On the first day, Cloph gave a talk titled “Struggles with a large native app, LibreOffice’s attempts at Android”, describing the first stages of development of the LibreOffice Viewer, challenges faced along the way, and the next steps to take. Full slides from the talk are here.

At the end of the talk, there were some questions from the audience about the build process and testing. As Cloph explained, the Viewer app doesn’t have many user interface elements to test, so the main issues are related to the “lifecycle” – ie when users open and close the app, rotate their devices, and so forth. And regarding the build system, Cloph noted that it’s much better today, compared to the early days of the app.

Meanwhile, one of the recurring topics at the conference was Kotlin, a “statically typed programming language for modern multiplatform applications” that runs on the Java VM. Kotlin is growing in popularity, so if you’re interested in the language and the possibility of converting the LibreOffice Android apps (including the Impress Remote), give us a hand! Our wiki has information on building the apps, and you can also talk to our developer community on IRC and mailing lists too.

Finally, after the first day of droidcon, there was an evening party with more opportunity to share ideas and meet people. So thanks to the organisers, and now we move on to the LibreOffice Conference 2018 in Tirana, which is just a few days away…!

How LibreOffice’s quality has improved thanks to automated tools and the volunteer contribution of security specialists

Last Coverity Scan metrics about LibreOffice, with 0 outstanding defects on 6 million lines of code. Kudos to our developers.

Berlin, July 25, 2018 – The Document Foundation celebrates five years of improvements to LibreOffice’s source code under Red Hat’s leadership, thanks to the adoption of automated tools such as Coverity Scan and Google OSS-Fuzz, and to the key contributions in the area of source code fuzzing of security specialists such as Antti Levomäki and Christian Jalio of Forcepoint.

“The combination of Coverity Scan, Google OSS-Fuzz and dedicated fuzzing by security specialists at Forcepoint has allowed us to catch bugs – which could have turned into security issues – before a release,” says Red Hat’s Caolán McNamara, a senior developer and the leader of the security team at LibreOffice.

Since 2013, Coverity Scan has helped to reduce the number of issues by several orders of magnitude (from 0.93 to 0.00093 per 1,000 lines of code). The score is significantly better than the FOSS software average of 0.65 and the proprietary software average of 0.71.

LibreOffice defect density score during the last two years

The Coverity Scan score is related to a static analysis to find source code defects and vulnerabilities. In static analysis, the code under examination is not executed. As such, the score does not represent an absolute value about quality and security of the software when executed on end user desktops.

More recently, developers have implemented fuzzing or fuzz testing, a technique that involves providing invalid, unexpected or random data as inputs to a program, which is then monitored for exceptions such as crashes or failing built-in code assertions, or for potential memory leaks. Fuzzing is able to catch issues just a few hours after they appear in the upstream source code repository, and help to solve bugs and potential security issues before they reach the end user.

#abetterlibreoffice

LibreOffice talks and presentations at FOSDEM 2018

FOSDEM is a major event in the free and open source software world – thousands of FOSS supporters get together to discuss new features, work on bugs, make new contacts, and just have a great time.

This year, many members of the LibreOffice community were there too, and gave talks and presentations in the Open Document Editors devroom. We’ve added the videos to a playlist, embedded below, so enjoy browsing through them to see what’s to come in LibreOffice! (Click the button in the top-left to switch between videos in the playlist.)

Please confirm that you want to play a YouTube video. By accepting, you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

The LibreOffice Mardi Gras Party for Help: What’s new and fun in online Help?

Starting with the recent release of the 6.0 family, LibreOffice has now a brand new online help system. Unlike the previous version – based on the transfer of help content to the Mediawiki framework hosted by The Document Foundation – the new help is a direct transformation of the help XML files into simple HTML files, with additions of some JavaScript magic and CSS wizardry.

But how do I get this new help online? Actually it is quite easy. Either you navigate in your browser to https://help.libreoffice.org/6.0/ from your desktop or smartphone or you just don’t install the local help packages in your computer. When the local help is not installed, LibreOffice calls the online help, passing parameters that includes the dialog box identification or UNO command, operating system language and version. Your default browser will open the correct page at the right line position.

What is new in this help online? By working on the XML transformation targeted at modern browsers, LibreOffice developers were able to insert many nice features in the pages. Here are a few, just for a start:

The top header contains two drop-down lists, one to select the module and the second to select the language of the pages. These two lists are there to let you navigate in all help domains. If you want to read the help content in another language, just select the language in the list. There are as many as 50 languages available (not every Help page is fully translated in some languages). (more…)

Sunday Marketing #5

On Friday, we have announced LibreOffice 5.4.5 and LibreOffice 6.0.1. In both cases, it has been an earlier than scheduled – and expected – release, to solve a couple of issues which were considered significant enough to change the usually predictable release schedule. The first issue was related to security, and we decided to release a patched version to reduce the risk for LibreOffice users (details are available on dedicated channels). The second issue was related to the increase of crashes on Windows of the just announced LibreOffice 6.0.

The chart on the left shows the increase of crashes after January 31 announcement and the subsequent decrease after February 9 announcement (right-clicking on the image will allow opening the original image, which is easier to read). It is important to underline the fact that the chart is generated by our test system, which is stressing the software, and does not reflect the actual number of crashes experienced by end users. On the other hand, we received several reports of unexpected crashes, which confirmed data provided by the test system.

Although both issues were reported while a large number of developers and other community members were in Brussels for FOSDEM and for a series of internal meetings, they were immediately tackled by developers – who provided the patches – and triggered a new release process: production of the binaries for the different operating systems, test of the binaries to verify that issues were solved, upload of the binaries on mirrors, preparation of web pages relevant for the announcement (changelogs on the wiki, and download pages on websites), and draft of the announcement text for the announce mailing list, the blog post and the press release distribution. From the decision to the release, the entire process was completed in less than two days, confirming the maturity of the LibreOffice project in front of unexpected events.

Sunday Marketing #4

Document classification is one of LibreOffice 6.0 improved features. As the concept of classification is not well known outside enterprises and large organizations, to help marketing the feature we have produced this graphic to help community members with presentations. Of course, we have used LibreOffice Draw, and you are invited to localize the ODG file embedded into the attached Hybrid PDF file. The graphic complements the background, which provides additional information about classification.