• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

penguinolog / urwid / 32853930287
70%
master: 73%

Build:
Build:
LAST BUILD BRANCH: pre_4013
DEFAULT BRANCH: master
Ran 25 Aug 2026 01:34PM UTC
Jobs 11
Files 63
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Aug 2026 01:32PM UTC coverage: 69.933% (+0.1%) from 69.806%
32853930287

push

travis-pro

penguinolog
Fix sizing related issues

## Fixes
- **`Overlay`: oversized `width=PACK` no longer raises `WidgetError`.**
  `render()` passed the negative `left`/`right` padding to `CanvasOverlay` as a *position*,
  shifting the already-trimmed top canvas off the left edge
  and producing a canvas wider than the requested size.
  The padding itself is left untouched
  (negative values are the correct coordinate model for clipped content,
  and `mouse_event`/`get_cursor_coords` rely on it);
  only the overlay position is clamped.
- **`Overlay`: `PACK` height is measured at the width the top widget actually gets**
  (`maxcol - left - right`) instead of the overlay's full width.
  Fixes wrong vertical centring and dead mouse clicks below wrapped text.
  Since `render`, `keypress`, `mouse_event` and `get_cursor_coords`
  all route through `calculate_padding_filler`,
  all four become consistent, and it now agrees with `Overlay.rows()`.
  Fixes #471.
- **`Canvas.set_pop_up`: enforces its documented preconditions.**
  `left`/`top` `>= 0` and `overlay_width`/`overlay_height` `> 0`
  were documented but unchecked,
  so bad values either silently mis-placed the pop-up
  or surfaced later as a bare `ValueError: 0`.
  Now raises `CanvasError` with a clear message.
- **`Filler.sizing()`: warns when a `PACK` height is paired with a non-FLOW body.**
  Such a `Filler` declared `{BOX, FLOW}`
  but failed at *every* size with an opaque
  `AttributeError: '…' object has no attribute 'rows'`.
  Follows the existing `Padding.sizing()` pattern
  (warn via the new `FillerWarning`, returned set unchanged).
  Relates to #247.
- **`PopUpLauncher.create_pop_up`: documents that the pop-up must accept a box size**,
  since `PopUpTarget` always overlays with `GIVEN`/`GIVEN`.
  Previously a flow pop-up failed with an unexplained
  `ValueError: too many values to unpack`.

3082 of 4974 branches covered (61.96%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 3 files covered. (100.0%)

8636 of 11782 relevant lines covered (73.3%)

7.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.12-windows-latest" - 32853930287.1 25 Aug 2026 01:35PM UTC 61
61.7
Travis Job
2 run-3.9-windows-latest" - 32853930287.2 25 Aug 2026 01:36PM UTC 61
61.71
Travis Job
3 run-3.10-windows-latest" - 32853930287.3 25 Aug 2026 01:36PM UTC 61
61.71
Travis Job
4 run-3.11-windows-latest" - 32853930287.4 25 Aug 2026 01:35PM UTC 61
61.7
Travis Job
5 run-3.13-windows-latest" - 32853930287.5 25 Aug 2026 01:35PM UTC 61
61.7
Travis Job
6 run-3.11-ubuntu-latest" - 32853930287.6 25 Aug 2026 01:34PM UTC 61
70.33
Travis Job
7 run-3.14-ubuntu-latest" - 32853930287.7 25 Aug 2026 01:35PM UTC 61
70.33
Travis Job
8 run-3.12-ubuntu-latest" - 32853930287.8 25 Aug 2026 01:34PM UTC 61
70.33
Travis Job
9 run-3.9-ubuntu-latest" - 32853930287.9 25 Aug 2026 01:34PM UTC 61
70.34
Travis Job
10 run-3.10-ubuntu-latest" - 32853930287.10 25 Aug 2026 01:34PM UTC 61
70.34
Travis Job
11 run-3.13-ubuntu-latest" - 32853930287.11 25 Aug 2026 01:34PM UTC 61
70.33
Travis Job
Source Files on build 32853930287
  • Tree
  • List 63
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #32853930287
  • 2d0b8cd8 on github
  • Prev Build on 4.0.12 (#32853930342)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc