datastructures-visualization icon indicating copy to clipboard operation
datastructures-visualization copied to clipboard

Fix Select Visualization menu name in macOS executable

Open JMCanning78 opened this issue 3 years ago • 1 comments

When the bundle of visualizations is exported as a macOS executable, the "Select Visualization" menu label does not appear initially.


Screen Shot 2022-03-11 at 6 11 27 PM


Once the user selects a visualization app, the menu label shows the next time the menu is raised. It is desirable, however, to have it show before the first selection so they are aware of the menu.

JMCanning78 avatar Mar 12 '22 02:03 JMCanning78

After installing Python 3.9.13 on a Mac with an M1 (Apple silicon) chip using homebrew, this problem disappeared. In other words, the menu title shows up when the application loads.

Specific steps for the installation:

$ brew install [email protected]
$ brew install [email protected]   # Needed to get tkinter
$ pip3 install -r datastructures-visualization/requirements.txt

Then I ran the program as $ python3 runAllVisualizationsMenu.py

JMCanning78 avatar May 24 '22 06:05 JMCanning78