RiverWare Slot Viewer / Review1 / Aug 2017
Phil Weinstein, David Neumann, CADSWES, 8-23-2017
Reference:
From David's "Slot Viewer testing" e-mail of 8-22-2017.
Phil's responses, edit: 8-22-2017 and development updates, 8-23-2017.
1.1 | With Edit -> Cut Rows causes a assertion failure (testing in Debug)
|
|||||
I'm still trying to reproduce this. I haven't seen this assertion failure yet. | ||||||
1.2 | Opening a slot that is already shown in the viewer re-orders the columns to put that one on the right. It should just open the viewer and select that column without re-ordering. | |||||
Will do. (That is, actually, what we do in this different operation: Dragging a "redundantly opened" slot into the viewer, i.e. when that slot is already present in the viewer). | ||||||
Done. Also, in the course of selecting the added slots, for no good reason, the top-left visible cell was always becoming the new Current Cell. This has been changed to always set the current cell to one in the newly selected display columns. |
||||||
1.3 | I feel like we need some way to make this slot viewer look different than the Open Slot dialog. The difference is too subtle. I don't have any good ideas yet, but maybe some coloring. | |||||
For discussion, here is a comparison of the two dialogs: ViewerSlotDlgComparison.png | ||||||
1.4 | 8-23 | Does it always grow when you add slots? Can we put an upper limit on the width? Once you've resized it and then add a new slot, it grows to fit the new slot. | ||||
The auto width resizing seems good to me. Implicitly, that's currently limited to the screen width. We could implement a more complicated algorithm. Here are a few options.
|
||||||
The first (simplest) algorithm was implemented. When an automatic width is applied to the Slot Viewer dialog, that automatic width will not exceed the value defined by the following symbol in Q3GUI/SlotQtDlg.cpp: static const int SLOT_VIEWER_MAX_AUTO_WIDTH (700); // 7.2: 700 |
||||||
1.5 | 8-23 | We need to decide where we want the following slots to open:
|
||||
The currently implemented behavior for these, respectively, is:
|
||||||
I addressed the FIX noted in item #1, above. Series Slots with Periodic Input (for which only the series data is shown in the Slot Viewer) need to be READ ONLY when the slot is in Periodic Input mode. To address this problem, a new 'dynamicReadOnly()' predicate was added to the Q3GUI/SlotQDlgSlotData class. Formerly, the _readOnly data member was directly accessed by "friend" clients, including the SlotDataTableModel class. Now that class uses this new predicate, which, in the case of Series Slots with Periodic Input, in the Slot Viewer context, checks the SeriesSlot's "alt input mode" state. |
||||||
1.6 | 8-23 | Changing the timestep size of a custom slot shown on the viewer works, but then removes it from the viewer and nothing is shown. Removing from the viewer is OK, but should show the slot in an open slot dialog. | ||||
Can do. (I didn't bother with this because changing the timestep size of a series slot seemed like an unsual thing to be doing, relative to the ephemeral use of the Slot Viewer). | ||||||
I ATTEMPTED to implement this behavior -- i.e. SHOWING the automatically removed slot in its own dialog, as a result of changing the slot's series timestep size. See method: SlotQtDlg::slotViewer_removeUnsupportedSlots(). A comment added to this method describes the problem which prevents the added code from having the desired effect:
|
2.1 | When a slot is shown in the viewer, but the time range isn't extended, the flag is shown with a dot. This is new. | |
Well, the circumstance is kinda new. A series slot shown in its own slot dialog never shows timesteps before or after its time range. But it would be fine to show nothing, in place of the dot. | ||
2.2 | Can we grey out the Close X on non-selected slots. It is distracting. | |
We can. It might be a bit of a LIGHT-SHOW as one drags across data cells, changing the set of selected slots (display columns). Note that this isn't exactly analogous to the Red-X's in TABS in the new Object Viewer and RPL Viewer, because those selectors (tabs) are fundamentally single-selection. Making this change would also mean that you couldn't remove a slot without first having the slot selected. (That's not strictly necessary, but if the Red-X is shown as Grey, it would be weird for it to be operable). I don't mind making this change. But don't those Red-X's (always being shown) help distinguish the Slot Viewer from the Open Slot dialogs? (Item #1.3). |
||
2.3 | The File->SCT options should be relabeled to indicate that they apply to all slots, not just the selected slot. | |
The current menu items are:
Would this text change be sufficient. (We generally don't want to get too wordy) ...
Or would you prefer this? ...
|
||
2.4 | Menus need to be made consistent with other viewers. The menu should not have parenthesis. Also, what does it mean to "recorder".... Typo? |
|
Currently the File menu operations are that way -- except that they have an ellipsis. (Do we want ellipsis here? These operations do result in showing or raising a different dialog).
On the Red-X, I do prefer "Remove Slot" over "Close slot". It really feels more like removing the slot (display column) from the viewer, rather than "closing" something. In any case, all of that is doable. I will. |
3.1 | Slot Dialog Display Preference don't apply to this dialog? Even the first slot opened? | |
Here's a screenshot of what this is about: SlotDialogDisplayPrefs.png Would this algorighm be good?
|
||
3.2 | View -> Show Priority adds a Cnt column. It also re-sizes all columns. | |
That's weird. I see this. (The showing of the "Cnt" column, at least, feels like a high priority fix). (But the resizing might be warranted ... if it's a "grow to fit data" operation). Note: a workaround is to momentarily turn ON, and then OFF, series data display compression. (That's what that "Cnt" column is used for). |
||
3.3 | Selecting multiple slots shows a blank box near Selected Slots. Can we just show a blank area with no box border. It looks like it is broken. | |
That blank box is the slot icon (empty). I wanted to avoid the slot name line editor to be growing and shrinking into that space. (But maybe that wouldn't be so bad). Still though, I think the blank box is preferable. Maybe I can retain that horizontal space some other way (to avoid the slot name line editor from growing into that space). | ||
3.4 | Ideally, in places where we open slots, it would be nice to provide options to "Open Slot in Viewer" and "Open Slot" | |
We hadn't decided that we would be doing that. But I don't disagree. | ||
3.5 | Can we move the ![]() |
|
That's hard to do, and not necessarily good. We can't just deploy widgets in column headers. (Those Red-X boxes took quite a bit of work ... they are actually floating above the column headers, not in them). And do we really want to make the width of that button unusable within the series data display table? I kinda like it in the upper right corner -- it's pretty elegant the way it drops down from that spot ... SlotSelectorMenuButton.png | ||
3.6 | On the Open Object dialog, if you select 10 slots and say open, it gives a message. Show 10 Open Slot Dialogs? Click yes and it shows the 10 slots in the Slot Viewer, not 10 dialogs, We need to change that confirmation. | |
Yes. Can do. | ||
3.7 | Accounting slots opened from the Open Account dialog are shown in individual dialogs. Is this intended? It is probably OK for now. |
|
It wouldn't be hard to change this. |
---