Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right click on any device the Servers Summary panel does not open the context menu (GNS3 3.0.0dev7) #3508

Closed
cristian-ciobanu opened this issue Sep 15, 2023 · 1 comment
Labels

Comments

@cristian-ciobanu
Copy link

cristian-ciobanu commented Sep 15, 2023

After adding an device and trying to right click on the device name in the Servers summary panel no context menu is being displayed.

Environment details:
OS: ArchLinux
GNS3 version: 3.0.0dev7
Python 3.11

Steps to reproduce the behavior:

  1. Drag a new device on the topology.
  2. Open the Servers summary panel and right click on the device
  3. No context menu is being displayed. (works fine in version 2.2.x)
  4. Exception is generated in the log file shown below.

gns3_popup_menu

***** Exception detected, traceback information saved in /home/cioby/.config/GNS3/3.0/exceptions.log ******

PLEASE REPORT ON https://www.gns3.com

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/gns3/compute_summary_view.py", line 143, in contextMenuEvent
    self._showContextualMenu(event.globalPos())
  File "/usr/lib/python3.11/site-packages/gns3/compute_summary_view.py", line 149, in _showContextualMenu
    compute = item.getCompute()
              ^^^^^^^^^^^^^^^
AttributeError: 'QTreeWidgetItem' object has no attribute 'getCompute'
@cristian-ciobanu cristian-ciobanu changed the title Right click on any device the Servers Summary panel does not open the popup menu Right click on any device the Servers Summary panel does not open the context menu Sep 15, 2023
@cristian-ciobanu cristian-ciobanu changed the title Right click on any device the Servers Summary panel does not open the context menu Right click on any device the Servers Summary panel does not open the context menu (GNS3 3.0.0dev7) Sep 15, 2023
@grossmj
Copy link
Member

grossmj commented Sep 23, 2023

Fixed, thank you! :)

@grossmj grossmj closed this as completed Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants