GUI bug when inserting draft-comments

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Anonymous1

GUI bug when inserting draft-comments

Post by Anonymous1 »

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: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: GUI bug when inserting draft-comments

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Anonymous1

Re: GUI bug when inserting draft-comments

Post by Anonymous1 »

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: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: GUI bug when inserting draft-comments

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Anonymous1

Re: GUI bug when inserting draft-comments

Post by Anonymous1 »

Thank you, much appreciated.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: GUI bug when inserting draft-comments

Post by Radu »

Hi,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Anonymous1

Re: GUI bug when inserting draft-comments

Post by Anonymous1 »

Thanks for reminding me of this. I had a quick check with Oxygen 20 (latest maintenance version 2018042410) and it still does not seem to work correctly. Maybe I am missing something here.

Maybe anybody else can check this.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: GUI bug when inserting draft-comments

Post by Radu »

Hi,

You seem to be right, there were actually two problems reported:
In this case, without the author name and without the bold "Comment:" text.
I fixed the without the bold "Comment:" text part but somehow I forgot to look into the without the author name part.
I'll add an internal issue and we'll look into this as well.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: GUI bug when inserting draft-comments

Post by Radu »

Hi,

We just released Oxygen 20.1 a couple of days ago and it should have fixes for both aspects of the problem.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Anonymous1

Re: GUI bug when inserting draft-comments

Post by Anonymous1 »

I just checked with 20.1 and can confirm that this has been fixed. Thanks :)
Post Reply