Skip to content

Changing profile after right-clicking in the root of the modelbrowser keeps previous profile options #2627

@marek-piirikivi

Description

@marek-piirikivi

Describe the bug

Changing profile after right-clicking in the root of the modelbrowser "fixes" the options for the following times when right-click in the root of the modelbrowser is selected.

To Reproduce

Steps to reproduce the behavior:

  1. Start Gaphor with Generic Model
  2. UML is selected
  3. Right click in the root of model browser
  4. UML diagram options should be visible
  5. Select another profile (for example SysML)
  6. Right click in the root of model browser
  7. Still, UML diagram options are visible

Expected behavior

Currently active profile options should be shown.

Screenshots

gaphor-2023-08-10_04.36.55.mp4

OS

  • Linux (Mint)
  • macOS
  • Windows

Version

Version of Gaphor: 2.20.0

Additional information

It seems to be "fixing" the options from the first time right click on the modelbrowser root is executed depending on the which profile is selected at the time of the first right click.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue in the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions