CDR Tickets

Issue Number 5244
Summary Attribute Inspector values missing while Apply Revision Level is displayed
Created 2023-05-24 17:01:16
Issue Type Bug
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-05-24 17:53:52
Resolution Won't Fix
Path /home/bkline/backups/jira/ocecdr/issue.347137
Description

When you invoke the Apply Revision Level macro and the window displays, clicking on an element that has attribute values does not display any information in the attribute inspector. So, the attribute inspector values are empty. 

Please see attached screenshot from DEV

The screenshot will probably not be helpful but I have the cursor on a citation link but nothing is displayed in the attribute inspector. 

 

Repro Steps:

  1. Checkout a summary document

  2. Right-click and select the Apply Revision Level  macro

  3. Attempt to click on any element that has values

  4. You may notice that no attribute information is displayed in the attribute inspector

Comment entered 2023-05-24 17:53:52 by Kline, Bob (NIH/NCI) [C]

Think about it: you've just told given the software to "apply the value I choose to all the revision markup elements which are found inside the portion of the document which is currently selected." And now you're trying to change that selection in the middle of the request? Aren't you glad that XMetaL doesn't let you do that? I can't imagine what chaos would ensue if it did. Here's the sequence of events you want to follow:

  1. examine the current values of the attributes you're considering changing

  2. set the current selection to the container element enclosing all of the elements whose attributes you want to change

  3. invoke the macro, telling it which value you want to use

  4. after the macro has finished doing what you asked it to do, navigate to the individual elements whose attributes you want to examine to confirm their settings.

Comment entered 2023-05-25 08:03:24 by Osei-Poku, William (NIH/NCI) [C]


Think about it: you've just told given the software to "apply the value I choose to all the revision markup elements which are found inside the portion of the document which is currently selected."

Yes, I can understand what's you've described in this case. However, my repro steps do not include a "selection" of a portion of the document. I may be wrong, but it seems to me that this behavior is different from XMetal 9. 

In any case, I don't think this is a big deal as long as users know that as soon as they invoke the macro, they will not be able to check the revision level, that should be OK.

Comment entered 2023-05-25 10:51:43 by Kline, Bob (NIH/NCI) [C]

As a reminder, quoting from the requirements (OCECDR-3782) for this macro.

Would it be possible to make changes that will enable us to select a section or multiple sections or a paragraph or multiple paragraphs or a combination of both paragraphs and sections then apply the same revision level markup to all markups within the selection?

Attachments
File Name Posted User
Empty attribute inspector.PNG 2023-05-24 16:56:08 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001939