Field

Ticket #49 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

No Visual of sheet when opening from code

Reported by: mikey Assigned to: marc
Priority: minor Milestone:
Component: core Version:
Keywords: Cc:

Description

When calling WorkspaceManager?.getManager().open("default", "some_file_in_the_workspace.field"), true) the first time within the code, the "some_file_in_the_workspace.field" opens and has a visual. After closing it with the Workspace window (right click->"close sheet"), any more calls like the above will bring up the .field file in the Workspace window, but no visual of the sheet will show. By right click->"hide" and then right click->"show" the sheet becomes visual.

Change History

(follow-up: ↓ 2 ) 07/24/08 09:45:40 changed by marc

  • status changed from new to assigned.

Can you try the same thing using FieldMenus?.openSheet() ?

(in reply to: ↑ 1 ) 07/24/08 10:49:41 changed by mikey

After closing the sheet, the canvas automatically comes up if I open it from the File menu and even from the workspace (right click->open sheet). It just doesn't show up from the call from the WorkspaceManager?

(follow-up: ↓ 4 ) 07/24/08 11:31:18 changed by marc

But I'm confused as to why to still have a WorkspaceManager? on recent version of Field.

(in reply to: ↑ 3 ; follow-up: ↓ 5 ) 07/24/08 11:48:43 changed by mikey

Ah, the Java files are still there (and on the wiki it says thats how you can open field files). Are you saying that I'm not supposed to use or have WorkspaceManager? and I'm not supposed to use the Workspace window? In that case, I'll just stick with the FieldMenus?.

I do this instead and it works fine

FieldMenus?.fieldMenus.open("foo.field",true)

(in reply to: ↑ 4 ) 07/24/08 12:26:38 changed by mikey

FieldMenus?.fieldMenus.open("foo.field",true)

should of been FieldMenus?.fieldMenus.openSheet("foo.field", true);

07/24/08 13:16:50 changed by marc

  • status changed from assigned to closed.
  • resolution set to fixed.

Yes, unfortunately the files are still there — Loops and Forest depend on them — I'll mark them as deprecated.

07/25/08 00:16:06 changed by marc

Blank and WorkspaceManager? marked as deprecated in changeset:100