LibreOffice's Legacy Debt
Off the Beat: Bruce Byfield's Blog
LibreOffice has had so many changes of name that its age is hidden. However, go back through Oracle OpenOffice and OpenOffice.org, StarOffice, StarDivision and StarWriter, and the word processor is over thirty years old. Probably, very little of the code written in 1985 remains in use, but many of the features do -- and that means that LibreOffice is carrying a legacy code debt that is becoming increasingly irrelevant.
Obviously, some features never age or go out of fashion. Character and paragraph styles, for example, should always remain useful. However, to understand why this legacy debt matters, you have to have survived the 1980s.
The 1980s were when word processors first arrived on everybody's desktop. Before then, most people used monospaced typewriters with a single font. A few top end typewriters had variable spaced fonts and allowed the changing of fonts, but not many. To indicate italics, you underlined. Full justification was almost unheard of. Careful selection of a paperweight and a trained typist could make the typing even, but even the best-typed document looked less professional than one set professionally. Typing was an intermediate step between handwritten manuscripts and professional -- the best the average academic or writer could do for over a century.
Then word processors arrived. Suddenly, formatting that was mostly reserved for professional printers was in everybody's reach. Users had dozens of new options, and they went a little crazy.
Suddenly, documents went from one to dozens of fonts, each with its own color and weight, and tweaked to have shadows and outlines, until, in some cases, playing with all the new formatting options destroyed legibility. Gradually, common sense reasserted itself, and users learned, for example, to restrict themselves to a couple of fonts per document. But it took over a decade, and in the meantime, over-design was too often the norm.
Through no fault of its own, StarWriter was part of this explosion of options. To be competitive, like every other word processor of the mid-1980s, it included every imaginable feature, whether it made sense at all.
Legacies today
Thirty-one years later, LibreOffice continues to support features that no one with any knowledge of design is likely to use -- features that are, essentially, atrocities waiting to happen.
For example, on the Alignment tab of each paragraph style, users are provided with a series of tactics to handle a fully justified paragraph with an uneven final line -- which, statistically, is almost all of them. The only reasonable aesthetic choice is justify the final line, putting up with minor imperfections in word and letter spacing, or align the final line to the left. Yet the tab also gives the options of centering the line or of distributing a single word across the entire final line, two hasty repairs sometimes used in newspapers when they were set by hand.
In more than fifteen years, the only time these legacy options came in handy for me was when I needed to illustrated them in my LibreOffice book. I suspect I may have been the only one to find them useful in all that time. Yet they persist in LibreOffice Writer, on the off chance that they may become useful again.
Similarly, in page styles, headers and footers have the option of adding a shadow. This was a popular option in 1985, but today only marks the design as hopelessly obsolete. Not that there is anything wrong with shadows as such, but they do nothing to make the headers or footers more readable, and only clutter the page.
Another cluster of anachronisms is on the Font Effect tab. If you are trying to degrade text on the page, Embossed, Engraved, and Shadow are ideal selections, but none have functioned for several releases(although displaying ) and apparently none have been missed. The tab also includes ShadoBlink, a tag excluded years ago from HTML because of is extreme annoyance. Of the other items on the tab, only Font Color and Small Capitals are useful for everyday formatting, while Hide enables single-sourcing (the maintenance of two versions of the same document in a single file), a specialty use that most users are ever likely to encounter. Otherwise, at least a quarter of the options on the tab are part of the legacy debt, apparently retained only on the remote chance that someone, some decade, will require them for backward compatibility.
Over-Design
As a user, I am usually grateful for backward compatibility. However, retaining such legacy features also tempts users to try them, which does nothing to improve design. By definition, such features are over-design, adding formatting that never enhances a text. So, by definition, they can be removed without major effect. I can only hope that LibreOffice removes the temptation to over-design eventually --a priority that, to my mind, is much higher than backwards compatibility with obsolete features.
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.