Open Source in Action #23: Text That Fits Its Shape, Screen Readers That Follow the Page, and a Month of COOLFest

This week text that is too big for a shape shrinks the way presentation software is expected to shrink it, a screen reader in Writer now gets the whole page in front of the user rather than one paragraph, COOLFest finished a full month of daily calls, and the September translation numbers came in with five languages complete. Here’s the roundup.

The Numbers

This week: 530 commits merged by 43 contributors, with 208 open changes on online/main. All-time since April 2nd: 9,538 commits merged from 75 contributors. That all-time count passed nine thousand this week. Let that sink in.

Top reviewers this week: Miklos Vajna (76), Noel Grandin (67), Caolán McNamara (59), Szymon Kłos (26), Samuel Mehrbrodt (23), Michael Stahl (22), Stephan Bergmann (21), Mike Kaganski (12), Tomaž Vajngerl (10), Andras Timar (8).

Thank you to every reviewer. Miklos, Noel and Caolán read 202 changes between the three of them. Review is the half of the work that never appears in a screenshot, and URL for the it is a contribution the project can always use more of.

The GitHub issue tracker stands at 861 open issues, with 9 closed during the week.

Crash Testing

The crash testing run on 30 September came back with 8 problem documents out of roughly 700,000. When this series first carried the figure, in May, it stood at 776. Caolán McNamara has brought it down run after run, with fixes from across the team behind every drop.

COOLFest Summary: A Month of Daily Calls

COOLFest ran from 5 September to 4 October: a daily call, every day, at 12:30 UTC, for anyone who wanted to start contributing to Collabora Online. People came to get a development environment working, to pick up an Easy Hack with somebody sitting alongside them, to walk through the codebase, and to get a review unstuck.

Two of this week’s Easy Hacks came straight out of a code review. Talking about the style checker that keeps our CSS consistent, Stephan Bergmann and Szymon Kłos agreed the checker should report what it finds and say how to fix it, the way the code formatter already does, and that became a task written up for a newcomer. Szymon filed a second one the same week: a tab widget can keep its state in the component that owns the tab, which is where the rest of the dialog keeps it. Check them out here:

Stylelint during the build · tab state in its own component · all the Easy Hacks

Ketan Ghori spent his COOLFest week on a job that runs right through the client: replacing jQuery selectors with the browser’s own, one source file at a time. Three more landed this week, along with a shared helper that warns when an element is not found. It touches a lot of files, and the client gets a little lighter with each one. the shared helper · the toolbar · the notebookbar builder

September Translations

Thirty-nine translators worked on Collabora Online in September. Five languages are fully translated: Armenian, Dutch, Irish, Polish and Swedish. German sits at 92.4 percent and Chinese at 92.5, both within reach of the same mark.

The three largest contributions came from Rob Pearson, who put in 501 strings across the Canadian, South African, Australian and New Zealand variants of English, Ettore Atalan with 459 strings of German, and Stephan Paternotte with 349 of Dutch. Translation is how the product reaches somebody who does not read English. Every string on that list is a piece of the interface that someone no longer has to puzzle out in a language they do not speak. Thank you to everyone on this month’s list. September numbers on the forum

What Developers Are Building

Text That Fits Its Shape

Put a title into a presentation and type past the end of the box, and the text has to be made smaller to fit. Exactly how it is made smaller is a judgement call, and the answer in OOXML presentations is a particular one: take ten percent off the line spacing first, and only then start reducing the font size.

Caolán McNamara spent the week improving interoperability here, with about thirty changes. The two scales are now tried in the same order, an exact line spacing is left at the height the author gave it, a bullet is drawn on the baseline of its line, and the space below the last line is left out of the height the fitting works with. The scales a PPTX file already carries are read on import and written back on export, so a deck that has been shrunk to fit keeps its layout when it travels.

Documents in our own format keep the fitting they were saved with, through a compatibility flag on the file. New documents and imported presentations get the new behaviour, the stock templates were updated to match, and the work is on main and on the 26.04 branches. the compatibility flag · the order of the scales · exact line spacing · bullets on the baseline

Writer Reads the Whole Page in Accessible mode

A screen reader such as Orca builds its picture of a document from what the application hands it. In Writer it was handed the paragraph holding the cursor, which is enough to read as you type and not enough to read a page.

Henry Castro changed what the engine sends. Now, in Accessible mode the paragraphs inside the visible area, plus a screen either side, now goes to the client with its position, collected fresh on each request so that scrolling gives what is laid out now. The browser hands the reader each paragraph as the cursor moves through it, so a user can go down the page and hear it, and the cursor stays where the reader left it when it moves between browsing and editing. The save status reaches a screen reader as a description on the Save button rather than as text that interrupts a read-through.

Each piece arrived with a test that drives the real reader, which is the part that keeps this working a year from now. paragraphs around the view · following the caret · where each paragraph is · the save status

Speaker Notes, Properly Settled In

Speaker notes got a panel of their own along the bottom of the Impress window a fortnight ago. This week three people filled in everything that panel needs to feel like a real editing surface.

Szymon Kłos made typing in the notes keep up with the keyboard, kept the panel in step when you click a different slide in the thumbnail strip, gave it the colours of the current theme, and pointed undo at the notes, so Ctrl+Z there undoes what you typed there.

Rashesh Padia gave each paragraph room for the text it holds, showed that text in the font it is set in, kept a new paragraph at the level of the one above it on Ctrl+Enter, and locked the notes while another user is editing them. Pranam Lashkari cleared the placeholder as soon as the pane takes focus.

undo in the notes · theme colours · paragraph heights · locked while someone else types

Speaker Notes, Properly Settled In

Collabora Online interoperates with add-ons written for the Google Apps Script interface, which is how a lot of organisations automate their document processing. Until now an add-on could work with a text document; this week it learned presentations.

Mohit Marathe implemented the slides part of that interface: listing the elements on a page and saying what kind of shape each one is, reaching the master pages and layouts, finding a placeholder by what it is for, duplicating a slide, inserting one at a given position, marking a slide as skipped, and replacing text across every page at once. Stephan Bergmann built the services an add-on expects around that, including its own dialogs and sidebars, fetching a URL, a cache, and shared Apps Script libraries.

page elements and shape kinds · masters and layouts · inserting and skipping slides · dialogs and sidebars · Apps Script libraries

Finding Text Wherever It Is

Justin Luth kept working through Find & Replace in Writer. Page Break and Page Style are in the list of attributes you can search for, so you can jump to every place a document changes page style. Find All counts an empty paragraph properly, which matters when the next step is Replace All. A search for bold text says “Not Bold” rather than “normal”, matching the wording the italic option uses. The find arrows work with the search you last typed, so a repeat search is one click.

Rashesh Padia connected the Navigator’s quick find to comment text, so searching a document now reaches what people wrote in the margin as well as the body.

page style in the attribute search · Find All across empty paragraphs · “Not Bold” · quick find in comments

When a Font Is Not There

Open a document built with a font your server does not have, and something else is substituted. Jaume Pujantell made that visible: the font name box turns yellow, and its tooltip says the font is missing. You find out while you are looking at the document rather than when somebody else opens it.

He also spent the week on dragging and dropping from macOS, where the modifier keys mean something different. Dragging with Command copies, the pointer shows which of copy or move you are about to do, and a drag starts from the point the button went down. Copying a mix of text and pictures from Writer into Calc keeps the pictures.

yellow font name box · the tooltip · copy on a Command-drag · paste with pictures into Calc

Calc

Gökay Şatır made a hyperlink in a cell keep its target through an edit, covered editing a link on a single word from the hyperlink popup, and sorted out the width of the cell properties popup.

Bayram Çiçek brought Point Edit Mode to a multiple selection in Writer and Calc, so the handles of several drawing objects can be worked on at once, and made printing use the orientation set in the print dialog on every page. Attila Szűcs sorted out the stacking order when a DOCX file puts a shape over another shape that holds a text box. Aron Budea left default attributes out of exported theme XML and gave exported control properties a conventional file name, which makes a file produced here look like one produced anywhere else.

hyperlinks after an edit · point edit on a multiple selection · print orientation · shape stacking order

Impress and Draw

Rashesh Padia made the slide show draw videos and animated images on machines without WebGL, so a presentation plays on a thin client or an older browser the way it does anywhere else. He also made an image inserted through the media picker arrive as a picture, kept the slide previews in place when you come back from the notes view, and made the navigator stay on the slide you are on.

Pranam Lashkari made Show Comments hold across Impress, Draw and Writer: with it turned off, comments and their markers stay out of sight through a reload, a resize and a search.

video and animated images without WebGL · media picker inserts a picture · Show Comments

The Desktop App

Tibor Nagy made the Windows app switch to the tab a document is already open in, rather than opening the same document twice. Shlok added a context menu to those tabs. Sarper Akdemir gave the file picker’s filters names where the system dialog shows them, so a list of file types reads as words rather than as patterns. Sahil Gautam let a text field take its own paste, so pasting into a search box in a dialog does what you expect.tripple int

switch to the open tab · a context menu on the tabs · named file picker filters · paste into a text field

Mobile

The mobile release branch was cut this week and snapshots went to QA. Skyler Grey put up a snapshots page for Android, so anyone who wants to test what is coming can download a current build without hunting for it, and made the universal Android package build reliably.

Karthik made the comment editor open from the cell context menu in Calc and answer the system back button, kept the entries in the comment list on screen, capped the resolution of the slide show layer so a presentation asks a phone only for what it can give, and sorted out scrolling in the Impress read-only view. Maya Stephens kept the zoom level where it was when you add a comment.

the Android snapshots page · comments from the cell menu · the back button · zoom while commenting

Spelling, and the Engine Underneath

The spell checker moved to Hunspell 1.7.4, the latest release of the spelling library, and the engine now passes over a system dictionary it has no way to read.

Noel Grandin carried on removing parts of the programming interface that nothing calls any more, this week across the windowing and database interfaces. Tor Lillqvist finished the Windows build’s handling of paths: every path with a space in it is quoted where it is used, and the old machinery that rewrote paths into the short DOS-era form is gone. Michael Stahl moved the bundled image library to libpng 1.6.59.

Hunspell 1.7.4 · paths with spaces · the short-name machinery removed · libpng 1.6.59

The Forum

This week’s Tech Talk was on how a spreadsheet power user actually works: the workflow, and the actions people reach for most. Tomaž Vajngerl put the material together and Balázs Varga gave the talk. The talks run most weeks, last between fifteen and forty-five minutes, and are recorded. the announcement · the Tech Talks channel

The Open Road to Freedom reached its seventy-ninth episode, an interview with Bernie about spreading the love around his community. The series is worth following if you are interested in the intersection of business, community, non-profits and fun. episode 79

Running Collabora on TrueNAS came up again, and the people in the thread worked out together how a custom web interface port fits with the reverse proxy in front of it. Someone will find that thread in a search engine next month and save an afternoon. the thread

Design Discussion

Review mode for Writer took shape: switching into it turns change recording on and lets you comment. The open questions are whether the ribbon should follow you to the Review tab, who may accept and reject, and how it is shared. Pedro Pinto Silva suggested it should work both ways, so turning change recording off takes you back to editing.

Charts in Calc were discussed as you edit them. Moving or resizing the whole chart from inside it should not be offered, and chart elements should stay within the frame, which leaves the question of how you grow the frame around a label you have just made longer.

The properties section in the sidebar is being reworked, including the line thickness dropdown, with mockups coming from Raul Nastasie. Ivana Rovina is drawing icons for the assistant actions and has written up a font picker that shows families rather than every style as a separate entry.

Collaborative editing widgets were reviewed: the first time two people arrive at the same document they get a clear choice between editing alone and editing together, with Sahil Gautam’s designs for what the toolbar shows afterwards.

design meeting minutes

Community Calls

  • TC Meeting (September 30) – the old extensions framework dropped, CODE 26.05.5.1 a week out, crash testing at 8, CI turnaround at 54 minutes, what’s cooking. Minutes

  • Collabora Online Weekly Meeting #275 (October 1) – the mobile release branch, the Android snapshots page, review mode for Writer, onboarding, and the last of COOLFest. Minutes

  • UX/UI Design Meeting (October 1) – review mode, charts while you edit them, the properties section, and the collaborative editing widgets. Minutes

All minutes on the forum under meeting-minutes.

Get Involved

75 contributors, 9,538 commits, crash testing at 8, and a month of COOLFest behind us. Whether you write code, translate, test, design, or document, there’s a place for you.


See you in the code.