How a Graduate Student Uncovered and Fixed a 20‑Year‑Old E16 Window‑Manager Bug

A graduate student named Kamila, while preparing LaTeX slides on a Linux desktop, repeatedly crashed the Enlightenment E16 window manager, traced the freeze to an unbounded title‑truncation loop that had lingered since 2006, and ultimately patched the bug, highlighting the enduring value of open‑source vigilance.

21CTO
21CTO
21CTO
How a Graduate Student Uncovered and Fixed a 20‑Year‑Old E16 Window‑Manager Bug

Enlightenment E16 is a Linux window manager first released in 1999, known for its high customizability and visual effects, but it remains obscure compared to KDE, GNOME, or LXDE, with a small but dedicated user base in niche distributions such as Bodhi Linux.

Kamila Szewczyk, a 21‑year‑old graduate student, encountered a complete desktop freeze when opening a LaTeX‑generated PDF with the Atril document viewer. The crash was reproducible: each time a PDF with a long filename was opened, the entire screen hung.

To locate the cause, Kamila examined the E16 source code and captured a stack trace. The trace showed a chain of calls ending in _BorderWinpartITclassApply and EwinBorderUpdateInfo, ultimately reaching TextstateTextFitMB where the window‑title truncation routine was invoked.

She discovered that the truncation algorithm iterated over the title characters without an upper bound. When a title exceeded the internal buffer, the loop never terminated, causing an infinite loop that locked the desktop. The offending code path was introduced in 2006 and had never been limited.

Kamila patched the algorithm by adding a maximum iteration count and a safe‑fallback when the limit is reached. She published the patch on her personal blog and plans to submit a pull request to the upstream E16 repository.

This episode demonstrates how long‑standing bugs can survive in lightly maintained open‑source projects and how individual curiosity can revive the open‑source spirit of community‑driven improvement.

References: https://iczelia.net/posts/e16-20-year-old-bug https://www.theregister.com/2026/04/15/enlightenment_e16_bug_patched

LinuxOpen SourceBug FixWindow ManagerEnlightenmentSoftware DebuggingE16
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.