[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid repeats of 'staff-affinity' warning; change text. (issue427805
From: |
Keith OHara |
Subject: |
Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058) |
Date: |
Mon, 21 Mar 2011 20:11:20 -0700 |
User-agent: |
Opera Mail/11.01 (Win32) |
On Sat, 19 Mar 2011 22:46:51 -0700, Joe Neeman <address@hidden> wrote:
It might cause problems if "pure" is true. When the method is called with
"pure," it shouldn't cause any side effects. For a concrete example, this
will mess up if you have
Staff
Lyrics with affinity down
Staff that sometimes disappears
Lyrics with affinity up
Staff
Unfortunately, if I protect the assignment to the property with an if (!pure),
I am letting the page-breaking planning rely on the user-requested affinities,
and then changing them for the page-layout phase. The boolean 'pure' asks
explicitly that we keep the state unchanged, but there was always an implicit
expectation that certain properties are unchanging.
On Mon, 21 Mar 2011 19:22:49 -0700, <address@hidden> wrote:
Wouldn't a comment be better then?
Yep. I'll add a comment next time I have Linux up.
The only effect of the original code was to give warning, not to change the
effective affinity, demonstrating that nothing explodes if 'staff-affinities
increase'. Do you remember what the warning intended to protect against?
The serious problem (coming up again in issue 1569) occurs when staff-affinity
of the first or last non-staff points to a spaceable staff that is not present
in the system. It seems this needs to be caught one or two layers up, in
distribute_loose_lines() or maybe better in
Align_interface::internal_get_minimum_translations()
So I'll tidy up this small issue, but let's start looking at the problem of
unrequited affinity of loose lines at the top/bottom of the system.
- Avoid repeats of 'staff-affinity' warning; change text. (issue4278058), tdanielsmusic, 2011/03/18
- Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058), ColinPKCampbell, 2011/03/19
- Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058), k-ohara5a5a, 2011/03/19
- Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058), mtsolo, 2011/03/19
- Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058), k-ohara5a5a, 2011/03/20
- Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058), joeneeman, 2011/03/21
- Re: Avoid repeats of 'staff-affinity' warning; change text. (issue4278058),
Keith OHara <=