@lucas
top!
rolf
Lucas Cordiviola schreef op 09-09-2022 16:08:
this:
if {[winfo exists .pdwindow]} { after 10 wm geometry .pdwindow "500x600+0+0" }
works for me on Win11.
--
Mensaje telepatico asistido por maquinas.
On 09/09/2022 10:39, rolfm@dds.nl wrote:
@Roman: with de debug level i see that the plugin is loaded.
but, because the regular pd-console is small and i was loading Gem at startup
i didn't see the error message in the console about the execution of the plugin:
wrong # args: should be "wm geometry window ?newGeometry?"
as a try i took away the = from the =500x800+0+0 parameter in the plugin.
-> start Pd: no error message and the dimensions were changed, not the positioning.
fiddling with the input for the x and y did not give any positive result.
putting back-in the =
-> startPd: same result as without !
my intermediate conclusions:
1.there was some invisible garbage in the plugin file in W11 (copied from W10).
2.the positioning not working is not yet solved or explainable.
rolf
Roman wrote:
Maybe the problem isn't the switch from Windows 10 to 11, but rather the plugin is not loaded on the other box?
Set Log-Level in the Pd window to "3 debug". You should see a message like:
Loading plugin: /home/roman/Pd/externals/mypdwindow-plugin.tcl
If this is not shown, then make sure that paths are configured correctly in "Preferences" -> "Path".
Roman
On Thu, 2022-09-08 at 13:04 +0200, rolfm@dds.nl wrote: hi, (Pd 0.52.2 Windows 10/11) i'm using the mypdwindow-plugin.tcl to have fixed position/dimensions of the pd-console. this is the content: if {[winfo exists .pdwindow]} { wm geometry .pdwindow =500x800+0+0 }
in Windows 10 it worked perfectly. now in Windows 11 not at all: i get the standard Pd behaviour.
as far as i know Tcl/Tk is not included in Windows itself. tclsh in a command window is not recognized by Windows, not in W10 or in W11. so, there cannot be a version conflict and the behaviour of tcl commands in connection with Pd should be the same.
of course it's not more then a nuisance, but i would like to understand what's happening.
rolf
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list