GUI bug when inserting draft-comments

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
B-E-N
Posts: 94

GUI bug when inserting draft-comments

Wed Dec 06, 2017 2:27 pm

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
Radu
Posts: 5137

Re: GUI bug when inserting draft-comments

Wed Dec 06, 2017 3:51 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
B-E-N
Posts: 94

Re: GUI bug when inserting draft-comments

Wed Dec 06, 2017 4:42 pm

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.
Radu
Posts: 5137

Re: GUI bug when inserting draft-comments

Wed Dec 06, 2017 5:03 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
B-E-N
Posts: 94

Re: GUI bug when inserting draft-comments

Wed Dec 06, 2017 6:21 pm

Thank you, much appreciated.

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest