[PD] [PD-announce] pd 0.48-0test1 released

Miller Puckette msp at ucsd.edu
Sun Jul 16 23:38:04 CEST 2017


I'm baffled so far.  I notice that your patch misbehaves in commit
82adaf15f0ff2928c26e261b76d1d5ed809d5788 - the subpatch creeps up one
pixel each time.  Then after the next commit, 
dfbfc754b30e26da2d105fa85cb73152ce9e40b5, the patch jumps down about
the height of the menu bar each time.  The difference is the addition
of these lines:

+ 
+     # on X11 measure the size of the window decoration, so we can open windows
+     if {$::windowingsystem eq "x11"} {
+         regexp -- {([0-9]+)x([0-9]+)\+([0-9]+)\+([0-9]+)} [wm geometry .pdwind
+             _ _ _left _top
+         set ::windowframex [expr {[winfo rootx .pdwindow] - $_left}]
+         set ::windowframey [expr {[winfo rooty .pdwindow] - $_top}]
+     }
... but those are teh same lines that were added in commit f0703a40810,
and sometime between f0703a40810 and 82adaf15f0f (feb 16 and June 22) they
got taken out again.

So those lines were present ina "good" version, then gone in a "slightly
bad" one, then got reinstated and made things worse than before.  They
must be interacting with sonething else, but I don't know what.

M

> Hey all
> 
> I'm experiencing window position troubles on X11 (Ubuntu 16.04,
> fluxbox). When loading patches in Pd 0.48 that were last saved with Pd
> 0.47, the windows appear at the correct positions. But when saving and
> reloading them on 0.48, they move upwards and slightly to the left on
> each cycle. Furthermore, when opening and closing subpatches, their
> windows move downwards by ~30 pixels on each cycle. This is a
> regression since the last Pd release.
> 
> IOhannes addressed window positioning on X11 with commit f0703a40810,
> which fixed almost all window positioning troubles know to me,  but its
> effect got lost soon after. I have troubles finding out what exactly
> broke it, but it might be a commit or merge that happened after Feb
> 2017. 
> 
> Attached is a patch that illustrates the canvas movement.
> 
> Roman
> 
> https://github.com/pure-data/pure-data/commit/f0703a408103fff236f5b
> 
> 
> On Fre, 2017-07-14 at 16:34 -0700, Miller Puckette wrote:
> > To Pd-announce:
> > 
> > The first test version of Pd 0.48 (source, adn compiled versions for
> > MacOS and Windows) is available at:
> > 
> > http://msp.ucsd.edu/software.htm
> > 
> > or (source code only) via github:
> > 
> > https://github.com/pure-data/pure-data
> > 
> > cheers
> > Miller
> > 
> > _______________________________________________
> > Pd-announce mailing list
> > Pd-announce at lists.iem.at
> > https://lists.puredata.info/listinfo/pd-announce

> #N canvas 23 64 414 275 10;
> #N canvas 437 108 358 161 bla 1;
> #X restore 267 201 pd bla;
> #X obj 17 109 s pd-bla;
> #X obj 17 13 loadbang;
> #X obj 17 34 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
> ;
> #X obj 17 56 metro 1000;
> #X msg 17 89 vis 0 \, vis 1;
> #X text 259 31 window is moving ->;
> #X connect 2 0 3 0;
> #X connect 3 0 4 0;
> #X connect 4 0 5 0;
> #X connect 5 0 1 0;




> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list