The theatrical window was still long in 2009
In 2009 a film had to earn its money the hard way, across a run of weeks, before anyone could take it home.

Why the window mattered for a film like this
The theatrical window — the gap between a film leaving cinemas and arriving on DVD or pay-per-view — ran to roughly four to six months for a major studio release in 2009. That gap was not contractual sentiment; it was load-bearing arithmetic. A mid-budget comedy with no franchise spine and no spectacle to drag people back for a second look had to be profitable before the disc hit the shelf, because the home-video numbers were never going to rescue a theatrical failure. They could fatten a success. They could not reverse a loss.
The Ugly Truth cost roughly $38 million to produce, a figure Columbia Pictures could justify precisely because the theatrical window still gave a modestly scaled comedy a genuine run at profit on ticket sales alone. The math behind that comfort has since dissolved: once streaming compressed the window toward ninety days and then shorter, mid-budget originals without built-in audiences became difficult to finance on theatrical projections. In 2009 that compression had not yet happened. A comedy opening in late July — which this film did, on 24 July 2009 — could expect to play into October before home video entered the conversation at all.
What the window bought
The first weekend grossed around $27 million domestically, which cleared two-thirds of the production budget in three days. That is the opening-weekend figure studios use to calibrate everything that follows: how many screens to hold, how deep to cut in week two, when to shift marketing spend from theatrical to home-release promotion. A CinemaScore of A− meant that opening-night audiences were satisfied enough to tell other people, which is the signal that sustains a multi-week run rather than a sharp drop on the second Friday.
The film ultimately took roughly $89 million in North America and around $205 million worldwide across its theatrical run. Against a $38 million production budget — before prints, advertising and distribution are added, which typically double the effective cost to the studio — that worldwide number is what makes the window's importance visible. A substantial portion of that global gross accumulated in weeks three, four and five, in markets where dialogue comedy travels less efficiently than action or animation. Without the extended window holding those markets open, late-arriving ticket sales in Germany, Australia and the UK would simply have been replaced by disc purchases at lower margin.
The 2009 context
The year itself is worth holding in view. The global financial crisis had peaked in late 2008, and the studios entered 2009 uncertain about audience appetite. What the box office demonstrated, repeatedly that year, was that mid-priced escapist comedies were relatively recession-resistant — people were willing to spend on a couple of hours in a cool room with something uncomplicated on the screen. The theatrical window made that tendency bankable, because it guaranteed that each week of audience appetite translated into ticket revenue rather than a home-format transaction at a lower per-unit return.
The MPAA's R rating complicated the arithmetic at the margin: an R-rated romantic comedy cannot market to the widest possible audience, which means the opening-weekend ceiling is lower and the sustained run matters more. The film cleared that constraint through the combination of two recognisable leads — Katherine Heigl arriving from Grey's Anatomy with genuine marquee value, Gerard Butler carrying the momentum of 300 — and a premise blunt enough to communicate itself in a thirty-second spot. The result was a first-week hold that left enough screens open for the window to do its work.

By the time The Ugly Truth reached DVD and Blu-ray in November 2009 ↗, it had already returned its production cost several times in ticket sales. The home-video release then added further revenue at near-zero marginal cost. That two-stage structure — theatrical gross followed by home-media tail — was the economic model the mid-budget studio comedy was built on, and 2009 was close to its last healthy year of operation.