gns3-gui icon indicating copy to clipboard operation
gns3-gui copied to clipboard

The text edit dialogue keeps the applied changes even after canceling the change.

Open sammy3110 opened this issue 1 year ago • 1 comments

Bug Description While editing a text on the plane (Changing Font, Color etc.), the changes are reflected after clicking the apply button and are still retained if the CANCEL button is clicked.

GNS3 version and operating system

  • OS: Ubuntu 24.04.1 LTS
  • GNS3 version: 2.2.49
  • GNS3 VM with Vmware Workstation

Steps To Reproduce

  1. Select the 'Add a note' from the toolbar and write something on the plane.
  2. Right click on the note and select 'Text Edit'.
  3. Click on 'Select Font'.
  4. Make some changes (Font, Font Style, or Size).
  5. Click 'OK'.
  6. Click 'Apply' - THE CHANGES TAKE AFFECT.
  7. Click 'Cancel' - THE APPLIED CHANGES ARE STILL RETAINED.

sammy3110 avatar Oct 12 '24 08:10 sammy3110

Thanks for opening an issue.

I believe this is the correct behavior. Once you click apply or click OK, the changes are applied on the item. The cancel button is just there to not apply any change and close the text editor dialog. Maybe we should add a reset button instead?

grossmj avatar Oct 16 '24 11:10 grossmj