<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Note: IOhannes has an updated PR: <a href="https://github.com/pure-data/pure-data/pull/225" class="">https://github.com/pure-data/pure-data/pull/225</a><div class=""><br class=""></div><div class="">The previous build should work them same.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 21, 2017, at 1:35 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ok, I believe I have a fix: <a href="https://github.com/pure-data/pure-data/pull/224" class="">https://github.com/pure-data/pure-data/pull/224</a><div class=""><br class=""></div><div class="">You can download and try a test build for newer Macs (10.9+): <a href="http://docs.danomatika.com/pdbuilds/Pd-0.48-1-multimonitor.app.zip" class="">Pd-0.48-1-multimonitor.app.zip</a></div><div class=""><br class=""></div><div class="">From doing some research, it seems support for negative positions was added to Tk a while ago and it seems to be working fine. I basically just removed the hard clipping to 0 and only try to do the manual placement if Tk is 8.4.</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 20, 2017, at 5:08 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I still need the steps you do to replicate the problem as I'm not seeing it.<div class=""><br class=""></div><div class="">Are subpath windows opening in weird places after you create a subpath, open a patch with visible sub patches, etc? I made a test patch and manually edited the positioning to open visible subpatches off screen in each direction and they are all correctly placed back within the visible screen.</div><div class=""><br class=""></div><div class="">One difference might be that I currently have the System Preferences -> Mission Control -> Displays have separate Spaces option OFF.<br class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 19, 2017, at 10:13 PM, Ali Momeni <<a href="mailto:batchku@gmail.com" class="">batchku@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I my experience, the problem seems to occur if multiple screens are not aligned horizontally.<div class="">If i arrange my 2 external monitors to extend the right side of my screen to the right, i seem to have no trouble.</div><div class="">If i arrange them to have a screen extending the top of my laptop screen, and another extending the right side, many jumping window problems.</div><div class=""><br class=""></div><div class="">-ali</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Sep 19, 2017 at 4:11 PM, Dan Wilcox <span dir="ltr" class=""><<a href="mailto:danomatika@gmail.com" target="_blank" class="">danomatika@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From what I can tell, if the window placement is beyond the virtual screen size, it gets clipped back to the main screen, This is done in the first process in pdtk_canvas.tcl.<br class="">
<br class="">
enohp ym morf tnes<br class="">
-----------<br class="">
Dan Wilcox<br class="">
<a href="http://danomatika.com/" rel="noreferrer" target="_blank" class="">danomatika.com</a><br class="">
<a href="http://robotcowboy.com/" rel="noreferrer" target="_blank" class="">robotcowboy.com</a><br class="">
<div class="HOEnZb"><div class="h5"><br class="">
<br class="">
> On Sep 19, 2017, at 9:14 PM, Miller Puckette <<a href="mailto:msp@ucsd.edu" class="">msp@ucsd.edu</a>> wrote:<br class="">
><br class="">
> I've managed to get unxpected behavior on linux with XFCE desktop.  When<br class="">
> I place the second monitor to teh left or right of the main one things work OK,<br class="">
> but if I place it either below or above, make a subpatch on the external<br class="">
> monitor, close&reopen it, it pops up on the main monitor instead.  I'm not<br class="">
> sure if this is the same misbehavior I'm hearing about in windows and Mac or<br class="">
> not...  will keep fooling with it and see if I can learn anything.<br class="">
><br class="">
> cheers<br class="">
> Miller<br class="">
><br class="">
>> On Mon, Sep 18, 2017 at 11:37:02AM +0200, Dan Wilcox wrote:<br class="">
>> I did some testing and I'm not able to reproduce with a dual monitor setup with 0.48 and macOS 10.12.6.<br class="">
>><br class="">
>> Can either of you provide a an example patch and/or precise steps to make the problem occur?<br class="">
>><br class="">
>>> On Sep 18, 2017, at 12:09 AM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a>> wrote:<br class="">
>>><br class="">
>>> This behavior comes from the pdtk_canvas_place_window proc in pdtk_canvas.tcl which, as others have noted, uses the declared width of the overall desktop aka the widths of the screens, but does not take into account their relative positioning. In digging further, it seems Tk provides ways to check the offset to the main screen via the winfo vroot* queries. I'll try some tests tomorrow and it's probably an easy fix...<br class="">
>>><br class="">
>>>> On Sep 14, 2017, at 10:24 AM, <a href="mailto:pd-list-request@lists.iem.at" class="">pd-list-request@lists.iem.at</a> <mailto:<a href="mailto:pd-list-request@lists.iem.at" class="">pd-list-request@lists.<wbr class="">iem.at</a>> wrote:<br class="">
>>>><br class="">
>>>> Date: Thu, 14 Sep 2017 10:23:38 +0200<br class="">
>>>> From: Raphaël Ilias <<a href="mailto:phae.ilias@gmail.com" class="">phae.ilias@gmail.com</a> <mailto:<a href="mailto:phae.ilias@gmail.com" class="">phae.ilias@gmail.com</a>>><br class="">
>>>> To: Nicolas Montgermont <<a href="mailto:list@nimon.org" class="">list@nimon.org</a> <mailto:<a href="mailto:list@nimon.org" class="">list@nimon.org</a>>><br class="">
>>>> Cc: pd-list <<a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a> <mailto:<a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a>>><br class="">
>>>> Subject: Re: [PD] trouble with pd-0.48-0 and multiple screens<br class="">
>>>> Message-ID:<br class="">
>>>>    <<a href="mailto:CADYAdN-4rBd2J08D5abKp8H8XtooxNqshPtNo5vdx01_YRiYvQ@mail.gmail.com" class="">CADYAdN-<wbr class="">4rBd2J08D5abKp8H8XtooxNqshPtNo<wbr class="">5vdx01_YRiYvQ@mail.gmail.com</a> <mailto:<a href="mailto:CADYAdN-4rBd2J08D5abKp8H8XtooxNqshPtNo5vdx01_YRiYvQ@mail.gmail.com" class="">CADYAdN-<wbr class="">4rBd2J08D5abKp8H8XtooxNqshPtNo<wbr class="">5vdx01_YRiYvQ@mail.gmail.com</a>>><br class="">
>>>> Content-Type: text/plain; charset="utf-8"<br class="">
>>>><br class="">
>>>> Roman, for me it happens when i try to open (again) a pd-subpatch that i<br class="">
>>>> previously placed on the second monitor (on the left of the main monitor) :<br class="">
>>>> instead of appearing in its previous position, the window appears outside<br class="">
>>>> the screen (on the right of the right screen), so you can't see it, drag it<br class="">
>>>> back...<br class="">
>>>> Yes Nicolas, I experienced this with the "additional" monitor on the left,<br class="">
>>>> so subpatches should probably have negative coordinates.<br class="">
>>>><br class="">
>>>> Hope this gives a clue to solve this, patching on two monitors is nice for<br class="">
>>>> big patches...<br class="">
>>>><br class="">
>>>> all best<br class="">
>>>><br class="">
>>>> raphaël<br class="">
>>><br class="">
>>> --------<br class="">
>>> Dan Wilcox<br class="">
>>> @danomatika <<a href="http://twitter.com/danomatika" rel="noreferrer" target="_blank" class="">http://twitter.com/danomatika</a><wbr class="">><br class="">
>>> <a href="http://danomatika.com/" rel="noreferrer" target="_blank" class="">danomatika.com</a> <<a href="http://danomatika.com/" rel="noreferrer" target="_blank" class="">http://danomatika.com/</a>><br class="">
>>> <a href="http://robotcowboy.com/" rel="noreferrer" target="_blank" class="">robotcowboy.com</a> <<a href="http://robotcowboy.com/" rel="noreferrer" target="_blank" class="">http://robotcowboy.com/</a>><br class="">
>>><br class="">
>>><br class="">
>>><br class="">
>><br class="">
>> --------<br class="">
>> Dan Wilcox<br class="">
>> @danomatika <<a href="http://twitter.com/danomatika" rel="noreferrer" target="_blank" class="">http://twitter.com/danomatika</a><wbr class="">><br class="">
>> <a href="http://danomatika.com/" rel="noreferrer" target="_blank" class="">danomatika.com</a> <<a href="http://danomatika.com/" rel="noreferrer" target="_blank" class="">http://danomatika.com/</a>><br class="">
>> <a href="http://robotcowboy.com/" rel="noreferrer" target="_blank" class="">robotcowboy.com</a> <<a href="http://robotcowboy.com/" rel="noreferrer" target="_blank" class="">http://robotcowboy.com/</a>><br class="">
>><br class="">
>><br class="">
>><br class="">
><br class="">
>> ______________________________<wbr class="">_________________<br class="">
>> <a href="mailto:Pd-list@lists.iem.at" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
>> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/<wbr class="">listinfo/pd-list</a><br class="">
><br class="">
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">--------</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Dan Wilcox</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://danomatika.com/" class="">danomatika.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://robotcowboy.com/" class="">robotcowboy.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></div></div></blockquote></div><br class=""><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">--------</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Dan Wilcox</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://danomatika.com/" class="">danomatika.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://robotcowboy.com/" class="">robotcowboy.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">--------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Dan Wilcox</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://danomatika.com" class="">danomatika.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>