You are currently working on UAT 

Merging segments across paragraphs bug

Hi, I'd like to report a bug (see the subj.) in Trados Studio 2017 (14.1.10012.29730)

Description:

I''ve got a series of paragraphs (e.g. Para1, Para2, Para3, Para4, Para5), each of them is a separate segment.

I want to merge the segments Para1 and Para2. This works ok.

Then I notice I have to add Para3 to the merged segments 1 and 2. I cannot do it: 'Merge segments' is greyed out.

Then I undo 'Merge segments' - and Para2 disappears.

 

P.S. The behaviour of Trados Studio 2019 15.0.0.29074 is exactly the same. 

.

  • Hi

    Do you have 'Enable merging segments across paragraph' ticked in your Project Settings?

    Trados Studio Project Settings window showing 'Enable merging segments across paragraph' option unchecked.

    Also, have you checked that the segments you're unable to merge have no content between them that will prevent merging? You may be able to see this by selecting the 'All Content' display filter here in the Advanced Filter:

    Advanced Display Filter window in Trados Studio with 'Show All Content' option selected in the right pane.

    or here in the Review toolbar filter:

    Trados Studio Review toolbar with filter options, highlighting the 'All Content' filter as selected.

    And/or, if you received a PDF with the translation job, you can check that to find out if there is anything present that isn't in the SDLXLIFF content, for example if the segments are in different sections or on different pages or separated by some other content that has been set as non-translatable.

    I hope this helps - sorry if I'm telling you something you already know...!

    All the best

    Ali

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 2:10 PM (GMT 0) on 28 Feb 2024]
  • Hi, Ali,
    Of course I've enabled it - otherwise I wouldn't have been able to merge the paragraphs in the first place.
    I am not talking about a translation I received this time - a few days ago I'd encountered this bug in an actual translation but since I was too busy, I just recreated the project and just tried to be careful to merge everything I needed to merge right away. This time I tried this functionality (or lack thereof) on a test file (a Word 2016 document that contained several paragraphs I'd written; I imported it into Trados and began my experiment, its results are described in my original message.
    As I said - if you try to merge another paragraph to an already merged paragraph, Trados won't allow it, and then when you try to undo the previous merging, Trados DOES undo the merging, but the second paragraph (paragraph 2) just disappears from the editor. This is definitely a bug.
  • Hi 

    Re "Of course I've enabled it - otherwise I wouldn't have been able to merge the paragraphs in the first place."

    OK, I just wondered if you knew the difference between simply merging segments and merging paragraphs. Had to rule that out.

    I expect  or someone will pick this up now and look into reporting it as a bug.

    Enjoy the rest of your day!

    Ali :)

  • Hi Georgy,

    When you merge two segments across a paragraph break, Studio keeps the paragraph break. In Microsoft Word, for instance, the paragraph break contains formatting information that would be lost if Studio just deleted it.

    Studio keeps the paragraph break, but locks it and hides it.

    Go to File->Options->Editor->Automation and look for the checkbox at the bottom titled "Hide empty segments that have been merged".

    If you uncheck this checkbox, you will be able to see the hidden (empty) paragraph break segment created when you merged the first two segments.

    This locked segment is the reason you were unable to merge the third paragraph. You can't merge locked segments, and you would have to merge across this locked hidden segment in order to merge the third paragraph.

    If you unlock the empty segment created when you merged the first two paragraphs, then you will be able to merge the third paragraph.

    Once you have performed your merge, check this checkbox in the options again so that these segments will disappear (and not bother you during further translation).

    With respect to the second paragraph disappearing when you undo the merge, that is a bug. The paragraph is still there, but it is hidden after the undo. If you undo a merge and then uncheck the checkbox indicated above, the hidden paragraph will suddenly appear. If I recall correctly, it remains visible if you then check the options checkbox again. Clearly a bug.

    However, the locked (empty) hidden paragraph break segment that is created by a cross-paragraph merge is not a bug. As a user, you are simply expected to know about it, just like many other problems in Studio.

    When merging across paragraph breaks was first introduced into Studio, I could foresee exactly this problem and suggested that the merge algorithm be changed so that Studio could merge across these special locked hidden segments without users needing to know about the hidden segments, know how change the options to unhide them, unlock them, do the merge, and change the options back to hide these segments again.

    After all, the fact that Studio has a checkbox to hide/unhide these special segments means that Studio can identify them. The merge algorithm would just have to be changed to check for these locked hidden empty segments when doing a merge.

    Should this be changed. Yes.

    Will it be changed. Probably not.

    SDL does not have the resources needed to handle many more serious bugs in Studio -- so I can't see them diverting resources to handle a problem that affects a relatively small percentage of users, most of whom probably don't complain like you did, but instead just scratch their heads and give up after trying to figure out what is happening.

    You can post it as an "idea", but I wouldn't hold my breath. Although "ideas" are sometimes implemented, I think the "idea" posts mainly benefit SDL by giving frustrated users a bit of hope, so they don't complain so much.

    Is information about the locked hidden segments in the Studio documentation somewhere? Probably.

    But your best bet for keeping track of Studio problems is to systematically read posts like this in the SDL Community.

    If I remember correctly, this problem has already been raised and answered several times, possibly in the previous forum.

    And it will probably come up again in the future, raised by a new user or someone who just started following Community discussions. 

    I hope you understand what was happening now ...

    Best regards,
    Bruce Campbell
    A S A P Language Services

  • Hi, Bruce,

    Thank you so much for your detailed explanation! Everything's so clear now.
    I remember I was the one (maybe among others) who suggested that the segment merging mechanism be revised, and I'd still insist on it (as these empty lines become really frustrating sometimes, especially when you work on some graphic document (I positively love the algorithm used by MemSource - by means of a special tag.), but I somehow learned to live without it.