Opened 17 months ago

Last modified 17 months ago

#15313 assigned defect

Volume Viewer not updating volume name

Reported by: deng.luo@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Volume Data Version:
Keywords: Cc: pett
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.22631
ChimeraX Version: 1.7.1 (2024-01-23 01:58:08 UTC)
Description
Volume name not updating in Volume Viewer

Open a volume, change its name, the name is not changed in Volume Viewer

from chimerax.map.volume import volume_list
v = volume_list(session)[0]
v.name = "new name"

Then only the name in the Models panel is updated. 

The closest probable callback I can guess is `volume_name_change_cb` at 
https://github.com/RBVI/ChimeraX/blob/c80fff87daf54be6aac3d6eb66db153ed714cbfb/src/bundles/map/src/volume_viewer.py#L567

But I could not figure out how to call it.

Change History (2)

comment:1 by pett, 17 months ago

Cc: pett added
Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionVolume Viewer not updating volume name

Reported by Rodeo Luo

The model panel listens to the chimerax.core.models.MODEL_NAME_CHANGED trigger.

comment:2 by Tom Goddard, 17 months ago

Yep, the Volume Viewer does not listen for name changes. Should be able to add that. You can close the Volume Viewer panel (close button on its window frame) and reopen it (menu Tools / Volume Data / Volume Viewer) if you need the updated volume names.

Note: See TracTickets for help on using tickets.