Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #2105
Closed
Open
Issue created Jul 18, 2018 by Neil Brown@nccbMaintainer

[GREENFOOT-774] Importing or duplicating a class creates strange state

In an arbitrary scenario with all classes compiled, go to Import Class... then import a class, e.g. the Map class. When you click OK on the Import window, do nothing else. The scenario shows the world greyed out, and Act/Run/Reset disabled. All existing classes are compiled, Map is not. It's fairly easy to fix the state: defocusing then refocusing the window works, or manually creating a new world instance. But it's a bit puzzling as I thought I was waiting for it to compile Map, but actually nothing was happening.

Edit: duplicating a class does exactly the same thing. Duplicate a world class, and the new copy is uncompiled, but all the exec controls are greyed out and the world is greyed out, until you open an editor for the class or defocus/refocus the window.


Issue metadata

  • Issue type: Task
  • Priority: Medium
Assignee
Assign to
Time tracking