Page 1 of 1

GUI bug when inserting draft-comments

Posted: Wed Dec 06, 2017 2:27 pm
by B-E-N
Hi,

depending on where you insert a draft-comment element, the element is displayed differently. If I insert it at a valid position, it is displayed as intended (green + author name). If I insert at it at a non-valid position, Oxygen automatically moves the draft-comment element to the closest valid position, but it is displayed without the author name.

Image

When I save, close and reopen the topic, the all draft-comments are displayed in green but still some without the author name.

Not a big deal, but probably still a bug.

Using Oxygen 19.0

Thanks

Re: GUI bug when inserting draft-comments

Posted: Wed Dec 06, 2017 3:51 pm
by Radu
Hi,

I cannot reproduce this problem. Could you tell me how exactly you insert the draft-comment? Do you press ENTER and choose it from the list? In what DITA element is the caret placed when you press ENTER and the draft-comment cannot be introduced right there?
Are your DITA topics DTD, XML Schema or Relax NG based?

Regards,
Radu

Re: GUI bug when inserting draft-comments

Posted: Wed Dec 06, 2017 4:42 pm
by B-E-N
I insert the draft-comment via ENTER and then selecting it in the list.

For example:

Code: Select all

<ul>
   <li>Test 1</li>
   <li>Test 2</li>
</ul>

I place the cursor after the <ul> tag. Then click ENTER and select draft-comment via double-click or ENTER. Result: The draft-comment is moved inside the first <li></li>. In this case, without the author name and without the bold "Comment:" text.

If I select the draft-comment the same way, but place the cursor inside the <li></li> element, the author name and the "Comment:" text is displayed in the draft-comment.

We are using a customized framework and only allow the draft-comment element as a block element. It's possible that this tiny bug is the result of our customization. Our topics are RNG based.

Re: GUI bug when inserting draft-comments

Posted: Wed Dec 06, 2017 5:03 pm
by Radu
Hi,

I can reproduce this problem on my side using a RNG-based DITA topic. I added an internal issue and we'll look into it.
I'll update this forum thread when we have a fix for it.

Regards,
Radu

Re: GUI bug when inserting draft-comments

Posted: Wed Dec 06, 2017 6:21 pm
by B-E-N
Thank you, much appreciated.

Re: GUI bug when inserting draft-comments

Posted: Mon Mar 19, 2018 1:40 pm
by Radu
Hi,

We released Oxygen XML Editor version 20 and it should have a fix for the issue reported above.

Regards,
Radu