Fop
  1. Fop
  2. FOP-1457

Missing Knuth element for border-after on a block followed by a forced break

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: page-master/layout
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • External issue ID:
      43917

      Description

      See the attached fo file. No resolved Knuth element is generated for the
      border-after set on the block. It is when removing the forced break. Looks like
      SpaceResolver is doing something wrong somewhere.
      Opening a bug as I don't have time to look at this right now.

      1. bug_space-resolver.fo
        0.6 kB
        Vincent Hennebert
      2. bug_space-resolver.fo
        0.6 kB
        Vincent Hennebert

        Activity

        Hide
        Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed
        Hide
        Jeremias Maerki added a comment -
        Show
        Jeremias Maerki added a comment - Should be fixed by: http://svn.apache.org/viewvc?rev=598558&view=rev
        Hide
        Jeremias Maerki added a comment -

        I'm working on this one. Actually, the resolved Knuth elements for border-after
        were generated, but later removed again because of a missing trailing auxiliary
        box for the break-after case. That part was easy, but now I'm looking at a
        little more complex cases and realize there's a somewhat bigger problem with the
        way forced break handling is done. While debugging I stumbled over FOP-1223
        (illegal page production after a break-after with no content following) which is
        somewhat related to this issue. I'll try to find a way to handle both issues at
        once.

        Show
        Jeremias Maerki added a comment - I'm working on this one. Actually, the resolved Knuth elements for border-after were generated, but later removed again because of a missing trailing auxiliary box for the break-after case. That part was easy, but now I'm looking at a little more complex cases and realize there's a somewhat bigger problem with the way forced break handling is done. While debugging I stumbled over FOP-1223 (illegal page production after a break-after with no content following) which is somewhat related to this issue. I'll try to find a way to handle both issues at once.
        Hide
        Vincent Hennebert added a comment -

        Attachment bug_space-resolver.fo has been added with description: Another example. This time the border is painted fine but the element list is still incorrect

        Show
        Vincent Hennebert added a comment - Attachment bug_space-resolver.fo has been added with description: Another example. This time the border is painted fine but the element list is still incorrect
        Hide
        Vincent Hennebert added a comment -

        Attachment bug_space-resolver.fo has been added with description: FO file showing the problem. The border-after isn't rendered as well.

        Show
        Vincent Hennebert added a comment - Attachment bug_space-resolver.fo has been added with description: FO file showing the problem. The border-after isn't rendered as well.

          People

          • Assignee:
            fop-dev
            Reporter:
            Vincent Hennebert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development