Skip to content

Focusing on fixes

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 17 May 15:32
· 3899 commits to main since this release
ff56650

[0.25.0] - 2023-05-17

Changed

  • App title and sub_title attributes can be set to any type #2521
  • DirectoryTree now loads directory contents in a worker #2456
  • Only a single error will be written by default, unless in dev mode ("debug" in App.features) #2480
  • Using Widget.move_child where the target and the child being moved are the same is now a no-op #1743
  • Calling dismiss on a screen that is not at the top of the stack now raises an exception #2575
  • MessagePump.call_after_refresh and MessagePump.call_later will now return False if the callback could not be scheduled. #2584

Fixed

  • Fixed ZeroDivisionError in resolve_fraction_unit #2502
  • Fixed TreeNode.expand and TreeNode.expand_all not posting a Tree.NodeExpanded message #2535
  • Fixed TreeNode.collapse and TreeNode.collapse_all not posting a Tree.NodeCollapsed message #2535
  • Fixed TreeNode.toggle and TreeNode.toggle_all not posting a Tree.NodeExpanded or Tree.NodeCollapsed message #2535
  • footer--description component class was being ignored #2544
  • Pasting empty selection in Input would raise an exception #2563
  • Screen.AUTO_FOCUS now focuses the first focusable widget that matches the selector #2578
  • Screen.AUTO_FOCUS now works on the default screen on startup #2581
  • Fix for setting dark in App __init__ #2583
  • Fix issue with scrolling and docks #2525
  • Fix not being able to use CSS classes with Tab #2589

Added

  • Class variable AUTO_FOCUS to screens #2457
  • Added NULL_SPACING and NULL_REGION to geometry.py