On Aug 23, 2012, at 2:02 PM, Alan W. Irwin wrote: > To Jerry and Arjen: > > On 2012-08-23 02:22-0700 Jerry wrote: > >> Hi Arjen, >> >> This [the simple wish test above] works exactly as you describe except it >> runs as a native Aqua application, not as an X application. See my more >> extensive comments to Alan. > > @Jerry: > > Just out of curiosity does Arjen's test also work with plserver? That works > fine here with me, e.g., > > software@raven> plserver > % pack [button .b -command {puts Hello} -text Hi]
Yes. > > If that works for you, is plserver a native app (depending on aqua > rather than X)? Yes. It appears identical to Wish when launched from the command line, except the program's name that is displayed in the (main) menu bar is plserver rather than Wish. When running x01c and selecting Tcl/TK Window for output, a program called plserver appears and is similar to the plserver when launched from command line, but with extra in-window menus as described earlier. In this case, a _second_ Wish-like program is launched called x01c. (Both programs have a blue feather icon in my dock which I gather is a Tcl/Tk logo.) The appearance of x01c in the dock (sans feather) is also what happens when a program is run using qtwidget so that's not that odd in itself. In this cases the x01c program looks like a Wish program with the default Aqua menus but when I select e.g. Run Widget Demo nothing happens except all of the menu bar items File, Edit, Window, Help (all default items with an Aqua program) disappear, leaving only the x01c menu and its standard items (About, Hide, Hide others, Services, Quit) which are also standard "default" items for an Aqua program. (This will make more sense if you've seen a Mac screen.) I'd like to add this behavior and hope that it doesn't confuse things (more): When I build plplot for tcl/tk (still 12221), the X server always launches. I believe I saw, very briefly (1/10 second) a spurious window appear which might be due to X. This _might_ be the mysterious window that I described earlier when following the Tk readme that seems to have the words "One" ... "Four" across the top. Also as part of the build output (as I have mentioned before), this appears, possibly at the time the vanishing X windows flash on-off: Scanning dependencies of target test_tk_01 make -f examples/CMakeFiles/test_tk_01.dir/build.make examples/CMakeFiles/test_tk_01.dir/build cd /usr/local/plplot_build_dir/examples && tk/xtk01 -f /usr/local/plplot_build_dir/examples/tk/tk01 X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Resource id in failed request: 0x6c275890 Serial number of failed request: 30 Current serial number in output stream: 33 make[3]: *** [examples/CMakeFiles/test_tk_01] Error 1 make[2]: *** [examples/CMakeFiles/test_tk_01.dir/all] Error 2 make[1]: *** [examples/CMakeFiles/test_tk_01.dir/rule] Error 2 make: *** [test_tk_01] Error 2 make: *** No rule to make target `test_tk_02'. Stop. and a little later, Scanning dependencies of target test_tk_03 make -f examples/CMakeFiles/test_tk_03.dir/build.make examples/CMakeFiles/test_tk_03.dir/build cd /usr/local/plplot_build_dir/examples && tk/tk03 X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Resource id in failed request: 0xa98df290 Serial number of failed request: 30 Current serial number in output stream: 33 make[3]: *** [examples/CMakeFiles/test_tk_03] Error 1 make[2]: *** [examples/CMakeFiles/test_tk_03.dir/all] Error 2 make[1]: *** [examples/CMakeFiles/test_tk_03.dir/rule] Error 2 make: *** [test_tk_03] Error 2 make: *** No rule to make target `test_tk_04'. Stop. Also, recall that when running x01c and selecting for output New tk driver this error appears: *** PLPLOT ERROR, IMMEDIATE EXIT *** No tk plframe widget to connect to Program aborted Jerry ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel