how to configure GDL to have more than 100 windows and window positioning is being respected? #1378
-
On my aarch64 system I configure fresh GDL like: build_gdl.sh prep|configure|build The build shows millions of warnings and notes like:
When I run GDL now I can create only 100 windows:
This was the first problem.
positions the window in the middle of the screen. When I compile with
and use
Then I am still limited to 100 windows but the window positioning is working.
opens just a window in the size of my screen (3840x2160) I am a little lost now. Thanks for any help in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@brandy125 the max number of windows IS a problem and a difficult one to tackle in GDL. Sorry for that. Concerning the size and positions: GDL has a preferred 'unified' graphics interface, wxWidgets, that makes both plot windows and widget (graphic) windows. On my machine, both wxWidgets and X11 make windows of the requested size at the requested position, so it may be necessary to check the window manager preferences to see if something prevent the placement of windows. And, graphicsMagick use deprecated C++ functions, wonder why C++ deprecate things and annoy programmers. |
Beta Was this translation helpful? Give feedback.
-
I should add that the max number of windows is a plplot limitation, not a GDL one. |
Beta Was this translation helpful? Give feedback.
-
@GillesDuvert Thanks for answering. If the number of windows is a plplot limitation, could it be increased then by modifying the code? Other question, the following plot is very very slow on my machine. Do you have any hint what I can do to improve speed?
IDL on Suse inside Mac Mini with Intel chip: 0.4 sec Yes, I have plots with more than 10.000.000 points that would need 10 mins to finish. I know it is hard to say what is the problem but maybe you have ideas. Just for completenes:
Why can Fawlty Language do it so fast? This gives me hope that there is something that I could do. |
Beta Was this translation helpful? Give feedback.
@brandy125 the max number of windows IS a problem and a difficult one to tackle in GDL. Sorry for that.
Concerning the size and positions:
GDL has a preferred 'unified' graphics interface, wxWidgets, that makes both plot windows and widget (graphic) windows.
With option --no-use-wx (and if compiled with -DX11) it uses X11, not wxWidgets, for plot windows. X11 is more basic than wxWidgets and the commands go through an entirely different code to make plots. The X11 code does not permit to make windows wider than the screen, wxWidgets does (using scrollbars).
X11 is very basic and goes over the head of the window manager to create plot windows of any size (less that screen!) at any position.
…