Skip to content

Release v0.2.8

Choose a tag to compare

@github-actions github-actions released this 08 Apr 14:28

PyMOL-RS v0.2.8

A native menu bar and selection performance release — platform-native menus bring familiar File/Edit/View workflows, while selection caching eliminates redundant per-frame parsing.

image

Highlights

Native Menu Bar

A platform-native menu bar via muda integrates with the OS (macOS system menu bar, Windows/Linux window menu), providing familiar desktop workflows:

  • File — Run Script, Open (with trajectory routing), Fetch PDB, Save, Export PNG/Movie
  • Edit — Undo, Redo, Select All Atoms, Deselect All
  • View — Reset, Zoom All, Orient, Center, Background (Opaque toggle + White/Black), Transparent Panels toggle, dynamic Panels submenu, Fullscreen
  • Help — Command Reference

A new Fetch PDB dialog queries the RCSB GraphQL API to show structure metadata before downloading.

Selection Caching

Selection results are now cached at define time and reused during rendering, eliminating per-frame re-parsing overhead. A multi-pass fixed-point resolver handles inter-selection dependencies, ensuring cached results stay consistent when selections reference each other.


Under the Hood

  • Native menu bar event loop integration with egui app lifecycle (pymol-gui)
  • rt_toolbar command removed — panel visibility is now managed via the View → Panels menu

Full Changelog: v0.2.7...v0.2.8