Cross platform Issues - Graphs not showing up

Hi,

I developed a tool in IP9 on Mac which contains 4 graphs: a main interface one with a control bar and 3 output analysis graphs.   When my user on Windows using IP9 opens it, he only sees the main window, a second one is hidden and the last 2 do not exist.

Suggestions?

Andy

jjweimer

Speculations ....

* Is your macOS development using spaces? If so, remove all but one space, open the procedure, modify it, unmodify it, compile, save, and retry.

* Is your macOS development using a second monitor? Repeat above.

Suggestion ...

Create a function to restore_allgraphs(...). In this function, kill all graphs and panels associated with your package, and then restore them, drawing on re-localized coordinates to the current active monitor. Put the function accessible through a superuser command line call (e.g. AH_package#restore_allgraphs()) or a menu/button click approach.

 

hegedus

KB wrote: undefined

Alas that was my first recommendation.  The user commented back, the main window wa open, a second hidden, but the other two no where to be found.

Andy

hegedus

Hi,

I am trying some workaround to force redraws if the window is missing.  The issue I am running into is how to force a window Marco to run from the current data folder?  When executing it is not finding the waves and I notice the wave browser is showing that the current directory is set to root.  When it fails and I quite the Marco it resets to the directory I started from.

I added a test line:

	PauseUpdate; Silent 1		// building window...
	String fldrSav0= GetDataFolder(1)
	print fldrSav0
	setDataFolder fldrSav0

The print statement returns root: though I am starting in root:batch_74

Andy

jjweimer

Perhaps the use of a window macro is the problem. What happens if you convert the window macro into a function?

chozo

As I mentioned in the other thread about the Controlbar issue, you could first check in the raw data of the pxp file, whether the graphs are supposed to be there in the first place and check how they are created. You can even replace some commands in the raw text and see how this changes things (but you need to keep the absolute number of characters the same to not throw off the checksum, so replace things, e.g., with XXXXX instead of deleting them).