https://bugs.freedesktop.org/show_bug.cgi?id=73386

          Priority: medium
            Bug ID: 73386
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: MAILMERGE: deleting last character in label template
                    results in pages filled with one DB record
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: lo_bugs.5.bigi_g...@spamgourmet.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.2.0.1 rc
         Component: Libreoffice
           Product: LibreOffice

Created attachment 91640
  --> https://bugs.freedesktop.org/attachment.cgi?id=91640&action=edit
Screenshot showing position of hidden character

Label print templates have a hidden character at the end of the template. If
this character is accidentially deleted, printing a database with i.e. 9
records produces 9 pages, each page full with labels from one record, instead
of 9 labels. After having synchronized the label templates, there is no more
undo for this delete operation, if you cannot revert to a previously saved
version, the document has to be created again.


Steps to reproduce:

1. Create simple DB table or use example provided (3 rows of data)
2. Create New -> Labels
3. Add some data fields, "synchronize" content in Options tab (*)
5. Create document
6. Place cursor at the end of the 1st label template

You can check: <arrow left> seems not to move, cursor is still to the right of
the data field. One more <arrow left> moves the cursor to the left of the data
field. See screenshot where I marked the location if unclear.

7. Go back to the end of the template and use backspace to delete the hidden
character to the left of the cursor
8. Synchronize label templates
9. Print labels, confirm printout to use data from database.


Actual results:

The print dialog shows (based on the example) 6 pages to be printed. First page
has all labels filled with data from row 1, page 3 all from row 2 and page 5
all from row 3; even pages are empty.

(*) when not synchronizing, a similar but less visible error happens: a record
with end character deleted will be printed twice.


Expected results:

With example DB: three labels on the first page.

Tested on Windows (4.1.3.2, 4.2.0.1 rc) and Linux (4.1.4.2), also occurs in
OpenOffice 4.0.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to