Recent Mac-specific fixes in LibreOffice

 

Over the past months, we have been able to make some resources available to look into the most urgent Mac-specific bugs in LibreOffice, thanks to people purchasing LibreOffice Vanilla on the Mac App Store.
 

We addressed all the high priority Mac regressions

A few bugs were related to use of various 3rd-party fonts on macOS. The system APIs used by LibreOffice to enumerate installed typefaces and their styles indicate the weight of the font as a floating-point number between -1.0 and 1.0, with zero being “regular” weight. That number needs to be converted to an integer (with just ten separate values) used in LibreOffice. The mapping is heuristic, and it turned out that tweaking the mapping just a little bit made it possible to distinguish between some weights of a typeface that had previously mapped to the same weight in LibreOffice.

Another issue was that for some other 3rd-party fonts, the system API claimed that the weight of the “Regular” style was non-zero and positive (0.23 to be exact), i.e., a bit on the bold side. LibreOffice trusted that, which lead to the bold style always being selected for those typefaces, even when asking for a non-bold, regular (medium) weight. The fix for this was to simply handle these special cases separately. If resources allow and more similar problematic fonts are identified, some more generic fix would be needed.

Another set of bugs were related to notifications for screen parameter changes (like when changing the size of the Dock, or attaching or detaching monitors). On some Macs, the system sent these notifications quite eagerly for no obvious reason. LibreOffice was asking to receive such notifications too early before it was prepared to handle them. This lead to a crash. The fix was to request notifications only once being prepared to receive them.

Also, the handler for this notification did not check whether anything had actually changed that LibreOffice would want to know but just went through all the motions of re-calculating layouts of GUI and sizes of text and whatnot, totally in vain. This took a considerable amount of time when you had a lot of document windows open and several of these notifications were received. The fix here was to add a check if anything actually had changed that would be of interest to LibreOffice, and if not, just don’t proceed to do any re-calculations of layouts etc.

Finally, there was a problem with inserting videos in Impress presentations. When doing that LibreOffice (for some reason) copies the video file first into a temporary copy. That copy was given a name without file name extension. The system APIs used to open and display the video did not like that and displaying even an initial grabbed frame from the video failed. The fix was simply to make sure the copy of the video file had the same file name extension as the original one.

We’ll be addressing more Mac issues as when as we sell more LibreOffice Vanilla. Why not get involved to ensure they’re well triaged and prioritized!

Read more details how Collabora started maintaining LibreOffice Vanilla in the Mac app store.

Download now!

Post-FOSDEM

It was a great FOSDEM again, with a lot of presentations, speakers, and participants. We met a lot of people during those days and it was great to catch up with them. Most of the time our team was at the LibreOffice booth in the K building at the main hall, or at Open Document Editors devroom.

Missed our talks?

If you missed our talks because the rooms were pretty full or because you couldn’t attend FOSDEM please have a look at the registrations and slides:

Re-structuring a giant, ancient code-base for new platforms

How LibreOffice is meeting the challenges of new platforms both hardware and software, adapting to new constraints & shining.

Calc: The challenges of scalable arithmetic

How we threaded the Calc core to get some great efficiency wins on the new deeply threaded Ryzen era.

EPUB export in LibreOffice Writer

LibreOffice Writer was always capable of exporting your document in a portable way in the form of the PDF filter. Today many users read reflowable content in EPUB, which is the new PDF to some extent. This work is done by integrating the libepubgen Document Liberation library and by improving both the library and LibreOffice itself along the way. Come and see how it’s implemented, where are the still rough edges and how you can help.

Dialog tunneling in LibreOffice Online

LibreOffice on the desktop is very feature packed office suite. One of the complaints that power users make in Online is that it lacks many of them: they cannot add colored borders in their paragraphs, manage tracked changes/comments, correct the spelling and grammar in the document, etc. The question is how do we bring these functionalities to the cloud at your disposal in your browser tab?

On Saturday night it was community time, where we had dinner with all the LibreOffice contributors at Betacowork, the same location where we had two days of LibreOffice Hackfest on Monday 5th and Tuesday 6th of February.

See you again next year at FOSDEM!

Univention Summit 2018

The Univention Summit will take place this week from 1st to 2nd February, at the international Jacobs University in Bremen, Germany. Every year, IT professionals from value-added resellers, cloud service providers, and software developers meet Open Source users for networking opportunities and knowledge transfer. The programme includes dynamic keynote speeches, user and partner presentations, technical and strategic workshops, plus a relaxing evening get-together make the summit a perfect place for Open Source enthusiasts.

You’re coming and want to talk with us ?

We love to meet our partners, customers and users, and look forward to getting your feedback and answering your questions. Get in touch via bizdev@collaboraoffice.com

Further information on the Univention Summit 2018 can be found here: https://www.univention-summit.com/

Come see us at FOSDEM 2018!

FOSDEM is a free event for software developers to meet, share ideas and collaborate. Every year, thousands of developers of free and open source software from all over the world gather at the event in Brussels for two days focused on promoting the use and development of free and open source software (FLOSS).

When and where

From 3rd-4th February’18, FOSDEM takes place in the beautiful city of Brussels, Belgium. It provides FLOSS developers and communities a place to meet and get in touch with each other, attend interesting talks and presentations on various topics by project leaders and committers, get informed about the latest developments in the open source world, and more.

We will be there…

Our team is attending FOSDEM this year and we will have several talks:

Re-structuring a giant, ancient code-base for new platforms

Come and hear how LibreOffice is meeting the challenges of new platforms both hardware and software, adapting to new constraints & shining.

Day: Sunday, February 4
Start: 12:00
End: 12:50

What is this talk about? – Michael Meeks had an interview as a main track speaker to explain more details regarding his talk. For more details read his interview on the FOSDEM website.

Calc: The challenges of scalable arithmetic

Come and hear the story of how we threaded the Calc core to get some great efficiency wins on the new deeply threaded Ryzen era. Hear about the rather complicated Calc-ulation core, and see how we used tool to profile and optimize from cachegrind, oprofile, perf and many others. Discover some of the challenges of spreadsheets, why it’s perhaps not quite as simple as you might hope, see how we tried to make this maintainable and test-able.

Day: Saturday, February 3
Start: 16:00
End: 16:30

EPUB export in LibreOffice Writer

LibreOffice Writer was always capable of exporting your document in a portable way in the form of the PDF filter. Today many users read reflowable content in EPUB, which is the new PDF to some extent. This work is done by integrating the libepubgen Document Liberation library and by improving both the library and LibreOffice itself along the way. Come and see how it’s implemented, where are the still rough edges and how you can help.

Day: Saturday, February 3
Start: 16:30
End: 16:50

Dialog tunneling in LibreOffice Online

LibreOffice on the desktop is very feature packed office suite. One of the complaints that power users make in Online is that it lacks many of them: they cannot add colored borders in their paragraphs, manage tracked changes/comments, correct the spelling and grammar in the document, etc. The question is how do we bring these functionalities to the cloud at your disposal in your browser tab?

Day: Saturday, February 3
Start: 16:50
End: 17:10

Meanwhile, you will be able to find us at the LibreOffice booth in the K building in the main hall. Questions, feedback, comments are more than welcomed. 🙂

LibreOffice Hackfest

Right after FOSDEM we have a LibreOffice Hackfest on Monday 5th and Tuesday 6th of February at Betacowork, room Madera. Don’t forget to register! For more informations check the wiki page.

Hope to see you there!

Meet us at CS3 in Krakow, Poland!

Collabora will be attending CS3 – an event focused on non-traditional working storage: Cloud Storage Services for File Synchronization and Sharing (CS3). At CS3 particular attention is given to scientific and engineering applications and environments. The fourth edition of Cloud Services for Synchronisation and Sharing (CS3) Conference will be held from 29th-31st January 2018 in Krakow, Poland, to review the state-of-the-art and share experiences about cloud storage services.

Our own Jan “Kendy” Holesovsky will be there to talk about Collabora Online. His talk will be on January 31st at 11 AM and will be focused on real-time collaboration on documents. He will explain more details about Collabora Online and how it integrates into many File Sync&Share products to create an industry leading powerful, secure, real-time, open source document editing experience.

If you have any questions about us or any feedback, feel free to ask Jan.
See you there!