[PD-dev] [ pure-data-Patches-1829055 ] Growing patch-window size

SourceForge.net noreply at sourceforge.net
Sat Nov 10 23:46:41 CET 2007


Patches item #1829055, was opened at 2007-11-09 16:58
Message generated for change (Comment added) made by stffn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1829055&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: stffn (stffn)
Assigned to: Miller Puckette (millerpuckette)
Summary: Growing patch-window size

Initial Comment:
I made a patch to test the behavior. This is the test:

1) Note that the patch is 500x300 initially. Either by opening in a text editor or with 'head -1' or.
2) Open the attached patch. Click the [10( on one of the sides.
3) Note that the patch has grown to 504x304

Now the weird bit.

4) with out closing the patch, click the [10( again.
5) Note that it has _not_ grown to 508x308.
6) Close the patch
7) Reopen the patch
8) Click the [bang(
9) Note that it has now grown to 508x308

So it seams it grows 4px per run with a reload.

More weirdness. Or observations.

10) Now try the above but clicking the [100( on either side.
11) Note that it still only increases by 4px.

12) Close and reopen the patch.
13) Just save it as you normally would.
14) Note that only one save increases the size 4px.

15) Note that using either the [until] method or the [delay] method doesn't make a difference.

Word on the street says that it don't happen on Linux. This is not tested. This test is done on OS X.

----------------------------------------------------------------------

>Comment By: stffn (stffn)
Date: 2007-11-10 23:46

Message:
Logged In: YES 
user_id=1658640
Originator: YES

Side note: It's amazing what using the/this tracker does to getting bugs
fixed. Especially if it has been bothering some people for 5+ years.

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-11-10 17:05

Message:
Logged In: YES 
user_id=27104
Originator: NO

Oops, I should correct myself, it's "-highlightthickness" rather than
"-highlightborder".

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-11-10 06:40

Message:
Logged In: YES 
user_id=27104
Originator: NO

found the source of the 2px growing bug, basically, Tk was automatically
drawing a 2px "highlightborder" around the canvas, and would return that
value
sometimes, I don't really know the details.  But by setting
"-highlightborder
0" and then removing the 2px adjustment code, it fixes the bug on my
computer.  Tested on Pd-0.40.3-extended on Mac OS X and 0.41-test06 on
Ubuntu gutsy.
File Added: fix_2px_growing_canvas-0.41-test06.patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1829055&group_id=55736




More information about the Pd-dev mailing list