Open Source in Action #26: The Engine on Weblate, Hyperlinks With a Title, and Comments Beside Their Pages

This week’s highlights come from all over the product. Translators can now work on the menus and dialogs of the document engine on Weblate, in the same place as the rest of the product. Separately, hyperlinks in Writer, Calc, Impress and Draw can now carry a title that describes them, Writer can translate text through a service you choose, and Writer comments now sit beside the page they belong to. On the community side, two newcomers saw their first patches merged. Here’s the roundup

The Numbers

This week: 747 commits merged by 48 contributors, with 263 open changes on online/main. All-time since April 2nd: 11,559 commits merged from 80 contributors.

Top reviewers this week: Tomaž Vajngerl (112), Miklos Vajna (98), Caolán McNamara (91), Noel Grandin (86), Michael Stahl (40), Szymon Kłos (23), Mike Kaganski (22), Andras Timar (13), Stephan Bergmann (8), Ashod Nakashian (8).

Thank you to every reviewer. Tomaž topped the list for another week, and Noel read 86 changes, 25 more than the week before. Review is what turns a patch into something everybody can rely on.

New contributors since last week: Dmytro Kulyk, Raúl F. Pérez and Simonth. Thank you for your first contributions, and welcome!

The GitHub issue tracker stands at 863 open issues, with 38 closed during the week.

The Engine Strings Arrive on Weblate

Weblate is the website where volunteers translate Collabora Online and Collabora Office into their own language. Until this week it held the browser front end and the app strings. The menus, dialogs, sidebar panels and messages that come from the document engine were translated somewhere else, so a translator could not reach part of what they saw on screen.

Andras Timar brought the engine strings onto our Weblate. The engine strings sit in their own “Engine” category, with one component per part of the suite: Writer, Calc, Impress and Draw each have their own. The 46 languages we build and ship are there, and Andras added Lithuanian to that list the same week. If your language is missing and you are ready to look after it, say so on the forum. The announcement · Lithuanian · Weblate

Working With ISO on the Calc Function Specification

ODF, the OpenDocument Format, includes a specification of spreadsheet functions, so that a formula gives the same answer in the applications that implement it.

Regina keeps a sheet of the functions that Calc implements, and is happy to share it with anyone interested. About 140 of them are implemented in Calc but not yet described in the ODF specification. Writing them down is how a formula keeps its meaning when a file moves between applications. TC minutes

ODF Implementer Notes in the Repository

Collabora Online and Collabora Office extend ODF in a few places, with new attributes for features that ODF does not describe yet. Michael Stahl gathered the notes on these extensions into the online repository, under dev-notes/odf/, with one table for document extensions and one for formula extensions. A developer who adds an ODF attribute or a new formula function adds a row there. Anyone can read the notes without logging in on the GitHub mirror. The forum post

What Developers Are Building

Hyperlinks That Describe Themselves

A hyperlink can carry a title: a short description of where it leads. A screen reader can read it out, it appears as a tooltip when the pointer rests on the link, and an accessible PDF uses it to describe the link.

Dmytro Kulyk made the title survive opening and saving an ODF document in Writer, and added a Title field to the Hyperlink dialog. The title is now the tooltip in Writer, and the description of the link in an exported PDF. In DOCX the same idea is called a ScreenTip, and Dmytro made it the title on import and export. Dmytro then carried the title over to links in Impress, Draw, Calc cells and text boxes, each with the Title field in its Hyperlink dialog. ODF import and export · Title field in the dialog · the title as the tooltip · Impress and Draw

The Hyperlink dialog in Writer with its new Title field
The title of a link shown as its tooltip when the pointer rests on it

Dmytro also improved PDF export for people who use assistive technology. A merged cell in an Impress table now tells a screen reader how many rows and columns it spans, and a table with special formatting on its first column has that column read as row headers. In Impress and Draw, text in a language other than the document’s is tagged with its own language, so a screen reader can read it in the right voice. Merged cells · row headers · language of text runs

Translating Text in Writer

Writer has a Translate command that sends the selected text to a machine translation service and puts the translation in its place. Andras Timar made the service a choice. DeepL stays, and LibreTranslate joins it: an open source translation service that an organisation can run on its own server, so the text stays in house.

A new Translation section in the Options dialog picks the service and holds its server and key. The Translate command appears once a service is set up, and the translated text keeps its paragraph style and formatting, so a heading comes back as a heading. Users can reset their own choices to what the server set up. Translation services · LibreTranslate · Options dialog · keeping styles

The remote grammar checkers got the same care. A remote checker, such as LanguageTool, checks your sentences on a server. It now takes effect as soon as it is switched on, which makes it usable in the desktop app, and an administrator who keeps a checker off can rely on it staying off. Remote checkers

Comments Beside Their Pages

Gülşah Köse gave Writer a new layout for comments. Each page now shows its own comments beside it. When a page has more comments than fit next to it, they go into a box as tall as the page, which scrolls. A selected comment lines up with the text it belongs to, and a reply you are typing stays in view. Comments beside their pages

Writer comments laid out beside the page they belong to, with a page of many comments scrolling in its own box

Last week the comparison of two versions of a document learned to go through tables cell by cell. This week Jaume Pujantell made it notice added and removed table rows, so a new row shows as one inserted row. The text of headers and footers is compared too, and its changes show up in Manage Changes. Added and removed rows · headers and footers

Comparing Documents in Writer

Accessibility

Mike Kaganski carried on giving a screen reader more of a Writer document in Accessible mode. Alt+F12 now moves from the text to the comment at the caret, and back again. A shape is read by its type, such as “Rectangle” or “Ellipse”, and a formula as “Formula”. Content controls, the check boxes and drop-down lists of a form, are read as what they are, with their titles, and Alt+Down opens a drop-down list. Alt+F12 for comments · shapes by their type · content controls · Alt+Down

Henry Castro gave a screen reader the shape of the text around the caret. Inside a list, it now receives the items of the list with their levels, so it knows where it is in the nesting. Inside a table, it receives the rows of the table, including the cells that are merged. Lists · tables

Impress and Draw

Tomaž Vajngerl made glow, soft edges and reflections appear on the simple shapes of Impress and Draw: rectangles, ellipses, arcs, lines and curves. The effects are written out to PPTX from the shape itself as well, which improves interoperability for presentations that use them. Glow, soft edge and reflection · writing the effects to PPTX

Tomaž Vajngerl made glow, soft edges and reflections appear on the simple shapes of Impress and Draw: rectangles, ellipses, arcs, lines and curves. The effects are written out to PPTX from the shape itself as well, which improves interoperability for presentations that use them. Glow, soft edge and reflection · writing the effects to PPTX

Jan Holesovsky made shapes copied from one presentation land at the same position on the slide when pasted into another, which is what people expect when they move content between decks. Pasting at the slide position

Rashesh Padia made the Presenter Console fit the speaker notes to their pane: short notes are shown in a larger font, up to the size the pane can hold, and each slide’s notes start from the top. Long notes were a topic at last week’s design meeting, so this is a quick step forward. Notes that fit the pane

Moritz Duge put “Shrink text on overflow” into the context menu of a text box in Impress and Draw, one click away. Shrink text on overflow

Calc

Samuel Mehrbrodt made Calc recognise newer functions such as IFS in an XLSX file however the file writes their name, so the formula keeps calculating. Function names in XLSX

Emanuel Schorsch made a chart in an ODS file follow its data when rows or columns are inserted or deleted, and made FORECAST.LINEAR accept a row and a column of the same length. In Writer, Emanuel made RTF documents with nested tables keep their rows and cell formatting. Emanuel has more RTF work in review and has asked on Matrix for anyone who knows RTF well to take a look. Charts follow their data · FORECAST.LINEAR · RTF tables

Dennis Francis made dialogs that need a file, such as choosing an icon for a chart’s data series, open the browser’s own file picker. The chosen file is uploaded and the dialog carries on with it. Picking a file from the browser

Around the Editor

Pedro Pinto Silva made compact mode easier to work in. The document button at the top left now opens a menu with the File entries, such as Save, Download as and Print, headed by the name of the document. Rename Document is now in the File menu of Calc, Impress and Draw as well as Writer. The File menu from the document button · the file name in the menu · Rename Document

In compact mode, the document button opens the File entries under the name of the document

Raul-Ionut Nastasie picked new colours for the users of a shared document, with better contrast against a dark background and between each other. Last week’s design meeting planned this, so that comment highlights stand out in dark mode. New user colours

Szymon Kłos made the tabbed toolbar get built once the first part of the document has reached the browser, so a Writer document appears sooner when it opens. Building the toolbar after the first tiles

Hubert Figuière made Collabora Online recognise a SharePoint host and ask for a file name itself when you use Save As or Export As there. Detecting SharePoint · Save As on SharePoint

The Desktop App

Tor Lillqvist made the tab strip of the desktop app easier to tidy up. When you close tabs with the mouse, the other tabs keep their widths until the pointer leaves the strip, so the next close button stays under your pointer. The active tab stays in view in a strip that scrolls, and the tab tooltips are translated. Closing several tabs · the active tab in view · translated tooltips

Banobe Pascal gave the tab preview we showed last week a new card: rounded corners, a soft shadow, and the shape of a widescreen slide, and Tor brought the same card to Windows. Banobe also made animated GIFs play in Impress and Draw in the desktop app. The preview card · the card on Windows · animated GIFs

Under the Hood

Noel Grandin converted a run of the engine’s unit tests from Java to C++, and removed the Java tests that no longer tested anything. Fewer languages in the test suite means a simpler build for every contributor. Balazs Varga made the engine build natively on Windows on ARM64 machines. A converted test · Windows on ARM64

The Community in Action

Dutch translators on the new strings. Stephan and Sebastiaan, two of our Dutch translators, started a conversation on the forum about which conventions a translation should follow. Sebastiaan explained that the Dutch team follows the established LibreOffice translations first, because many people use both products, and suggested a shared list of agreed words. When the engine strings arrived on Weblate a day later, the two of them started on them straight away, and gathered the terms that have to stay consistent across the suite, such as the Dutch words for style, format, layout and master slide. Stephan asked for a Weblate glossary to hold those choices, and Andras Timar turned it on the same morning, open to every logged-in translator. The other languages can use the glossary too. Following conventions · the Dutch thread · the glossary request

A first patch, then a second step. Last week Raúl F. Pérez, flrnd on Matrix, told us the build had gone smoothly. This week Raúl’s first patch was merged: the CSS style check now reports a problem in the build rather than quietly reformatting the files. While working on it, Raúl noticed an editor reformatting code on its own. The conversation on Matrix with Noel and Miklos turned into a note for CONTRIBUTING.md about editor auto-formatting, now in review, and Raúl has picked a second Easy Hack. The first patch · the CONTRIBUTING.md note · the next Easy Hack

A warm arrival. Dmytro Kulyk joined the Matrix channel after Miklos suggested Collabora Online, and said “Collabora has been a completely different experience!” The hyperlink and accessible PDF work above landed in Dmytro’s first week, with more of it on the way.

This week’s Tech Talk was Tomaž Vajngerl on Vector Stream, part of the vector rendering work. The talks run most weeks, last between fifteen and forty-five minutes, and are recorded on the Tech Talks channel. The announcement · the Tech Talks channel

The Open Road to Freedom #82 is out. Episode #82

Community Calls

  • TC Meeting (October 21) – release engineering, patch review, CI, animated GIFs, the ISO work on Calc functions, and what everyone is cooking. Minutes

  • Collabora Online Weekly Meeting #278 (October 22) – the release schedule, the new Area Color page, animated GIFs in Safari, the Backstage of the desktop app, fixes for check boxes in spreadsheets, and the engine strings on Weblate. Minutes

  • UX/UI Design Meeting (October 22) – the tour icon, user colours in dark mode, borders around charts, the tab previews, and Easy Hacks for the Formula tab. Minutes


All minutes on the forum under meeting-minutes.

Get Involved

80 contributors, 11,559 commits since April, and every one of them reviewed in the open. Whether you write code, translate, test, design, or document, there’s a place for you.

See you in the code.