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

penguinolog / urwid
70%
master: 73%

Build:
Build:
LAST BUILD BRANCH: pre_4013
DEFAULT BRANCH: master
Repo Added 20 Jun 2023 08:28AM UTC
Token nZ5xt2o2DKKtMXKnDA1uXfKzjCCxuWXzE regen
Build 760 Last
Files 63
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

LAST BUILD ON BRANCH sizing_fixes
branch: sizing_fixes
CHANGE BRANCH
x
Reset
Sync Branches
  • sizing_fixes
  • 2.4.1
  • 2.4.2
  • 2.4.3
  • 2.4.4
  • 2.4.5
  • 2.4.6
  • 2.5.0
  • 2.5.1
  • 2.5.2
  • 2.5.3
  • 2.6.0
  • 2.6.0.post0
  • 2.6.1
  • 2.6.11
  • 2.6.12
  • 2.6.13
  • 2.6.14
  • 2.6.15
  • 2.6.16
  • 2.6.2
  • 2.6.3
  • 2.6.4
  • 2.6.5
  • 2.6.6
  • 2.6.7
  • 2.6.8
  • 2.6.9
  • 3.0.0
  • 3.0.1
  • 3.0.2
  • 3.0.3
  • 3.0.4
  • 3.0.5
  • 4.0.0
  • 4.0.1
  • 4.0.10
  • 4.0.12
  • 4.0.2
  • 4.0.3
  • 4.0.4
  • 4.0.5
  • 4.0.6
  • 4.0.7
  • 4.0.8
  • 4.0.9
  • ListBox_relative_scroll
  • add_run_in_exectutor
  • annotations
  • artifacts_bdist
  • attr_shadow_attr
  • base_class_events
  • big_text_static_text
  • black
  • bug_rows_max_listbox
  • bug_scrollable_no_size
  • build_limited_api
  • builld-system
  • bump_ruff
  • changelog_406
  • changelog_407
  • changelog_gen
  • changelog_pre-release
  • check_mixed
  • ci_cd_extend
  • ci_cd_generate_changelog
  • ci_project
  • ci_py314
  • ci_tests
  • ci_try_enable_osx
  • clean_graphics
  • cleanup
  • cleanup_helper
  • cleanup_unused
  • closed_io
  • code_cleanup
  • columns_accept_focus_widget
  • columns_consistency
  • columns_maxcol
  • columns_optimisation
  • columns_render
  • columns_special_case_fixed
  • columns_support_fixed
  • columns_zero_width
  • command_enum
  • command_map_api_extend
  • constants_symbols
  • container_deprecated_setters
  • content_validation
  • corner_case_ellipsis_not_fit
  • coverage_no_tests
  • deduplicate
  • deprecate_content_delta
  • deprecate_progress_bar_set_done
  • deprecated_attr_wrap
  • deprecated_decoration
  • deprecated_fix
  • deprecated_positioning
  • deprecated_public
  • deprecation
  • deprecation_binary_font
  • deprecation_deadline
  • deprecation_part0
  • deprecation_part1
  • deprecation_part2
  • deprecation_part3
  • deprecation_release_4
  • deprecation_super
  • deprecations
  • deprecations_term_scroller
  • devcontainer
  • doc_event_loop
  • doc_windows
  • docs
  • docs_build
  • docs_changelog
  • docs_disconnect_by_key
  • docs_fixes
  • docs_scrollable
  • drop_c_helper
  • drop_unused
  • ds_store
  • edit_typing
  • editorconfig
  • empty_grid_flow
  • enable_typing
  • enable_windows_asyncio_tests
  • event_loop
  • event_loop_executor
  • example_browse
  • examples_code_style
  • examples_deprecated
  • exceptiongroup
  • expose_widget
  • extend_scrollable
  • extra_typing
  • feature_canvas_repr
  • feature_fixed_text
  • feature_selectors
  • feature_wimp_pack
  • fix_build_windows
  • fix_display_typing
  • fix_font
  • fix_import_warn
  • fix_imports_moved
  • fix_listbox_render_empty_elements
  • fix_py312
  • fix_readme
  • fix_rerais
  • fix_rle_product
  • fix_rows_typing
  • fix_ruff
  • fix_term_scroll
  • fix_toc_html
  • fix_tree_listbox_render_empty_elements
  • fix_zope.interface
  • fixed_flow_overlay
  • fixes
  • flow_filler
  • frame_focus
  • get_cursor_coord
  • gitter_badge
  • grid_flow_support_fixed
  • gridflow_focus
  • handle_mypy_warnings
  • handle_non_subclassed_widget
  • implement_scrollbar_layout
  • initial_mypy
  • isort
  • iterable_microopt
  • join_display
  • khal_insufficient_padding_width
  • kill_py37_py38
  • labeler_scope
  • labeler_update_rules
  • lazy_imports
  • lazy_load_explicit_package
  • lb_max_left_right
  • line_box
  • line_box_double_inheritance
  • line_box_replace
  • listbox_contents
  • listbox_guard_walker
  • listbox_tests
  • logging
  • maintenance_code_quality
  • maintenance_internal
  • maintenance_labeler
  • maintenance_pre_commit
  • maintenance_pyproject
  • maintenance_ruff
  • maintenance_rules
  • maintenance_typing
  • maintenance_yamllint
  • master
  • meta_super_position
  • missed_test
  • monitored_list_move
  • monkeypathch_pad
  • move_listbox_tree
  • mro_simplefocuslistwalker
  • mypy_global_fixes
  • mypy_warnings
  • numedit
  • optional_dependencies
  • outdated-scripts
  • overlay_typing_repr
  • pack_extra
  • pack_on_edit
  • packaging_setup
  • packaging_tests
  • packaging_unstable_test
  • padding_given
  • padding_pack_weight
  • padding_support_fixed
  • part_f_keys
  • part_osx
  • pep_424_lazy
  • pile_support_fixed
  • poc_gen_changelog
  • pr_template
  • pre-release_changelog
  • pre_305
  • pre_4.0.2
  • pre_4010
  • pre_4011
  • pre_4012
  • pre_4013
  • pre_404
  • pre_405
  • pre_409
  • pre_release
  • prep_2_2_2
  • prep_403
  • prepare_408
  • provisional_typing
  • py312_no_bdist
  • py313
  • py_version_description
  • pylint
  • pylint_silence
  • pylint_warnings
  • raw_display_optimization
  • raw_display_var_naming
  • raw_display_windows_resize
  • raw_input_optimizations
  • ref_dead_code
  • refactor_scrollable
  • refactor_super
  • refactoring_code_style
  • refurb
  • refurb_fixes
  • regression_enums
  • regression_linebox
  • regression_ovl_relative
  • regression_treetools
  • regressions
  • rel_3.0
  • rel_3.0.1
  • rel_3.0.2
  • relnotes-release
  • remove_temporary_dev_script
  • restore_win32_support
  • rich_repr
  • ruff
  • ruff_0_2
  • ruff_bump
  • ruff_up
  • ruff_update
  • scrollable
  • scrollable_annotations
  • scrollable_bar
  • scrollable_bug
  • scrollable_listbox
  • scrollbar_estimated_size
  • selectable_icon
  • setuptools_scm_api
  • sgrmouse_shift_handle
  • shard_body_row_fix
  • signals_subclass_abc
  • simplify_code
  • sizing_columns
  • sizing_container_list_contents
  • special_case_empty_columns_pile
  • sphinx_build_gh_pages_ready
  • split_widget_enums
  • static_check_fix
  • static_checks
  • static_fix
  • static_fixes
  • static_update
  • stop_monkeypatch
  • strict_mypy
  • strict_typing
  • symbols_use_dataclass
  • test_req_fix
  • test_tree
  • test_vterm
  • tests_explicit_encoding
  • text_fixed_api
  • text_layout
  • text_layout_encoding
  • tree
  • tree_undeprecate
  • trio_typing
  • type_annotations_trivial
  • typing
  • typing_
  • typing_attr_map
  • typing_bar_graph
  • typing_big_text_progress_bar
  • typing_canvas
  • typing_containders
  • typing_display
  • typing_errors
  • typing_escape
  • typing_event_loop
  • typing_examples
  • typing_filler_
  • typing_fixes
  • typing_generic
  • typing_glib_loop
  • typing_issues
  • typing_literal_constants
  • typing_monitored_list
  • typing_part_listbox
  • typing_polish
  • typing_radiobutton_checkbox
  • typing_silence
  • typing_split_repr-command_map
  • typing_text
  • typing_util_part_canvas
  • typing_widget
  • typing_widget_decoration
  • typing_widget_vterm_edit
  • typing_wimp
  • typo_job_name
  • un-deprecate_user_arg
  • unicode_line_breaks
  • unicode_table
  • unicode_win
  • unwarn_escape
  • update_black
  • update_checkers
  • update_screenshots
  • upload_download_artifact
  • use_base_class_for_row_display
  • uuid_as_signal_key
  • watch_pipe_implicit_none
  • wcwidth_unicode_auto
  • web_display
  • web_display_id
  • web_display_init
  • web_encoding_handling
  • web_resize
  • weight_float
  • wheels_only_upstream
  • widget_like
  • widget_mouse_keypress
  • widget_type
  • win_support_mark
  • window_resize_trottle
  • windows_asyncio
  • windows_curses
  • windows_event_debug
  • windows_garbage_commands
  • windows_last_line
  • windows_use_unicode_input
  • workflow_labeler
  • wsl_fix

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

Relevant lines Covered
Build:
Build:
11782 RELEVANT LINES 8636 COVERED LINES
7.5 HITS PER LINE
Source Files on sizing_fixes
  • Tree
  • List 63
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32853930287 sizing_fixes 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 t... push 25 Aug 2026 01:34PM UTC penguinolog travis-pro
69.93
See All Builds (700)

Badge your Repo: urwid

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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