Misc. deficiencies in v1.3.0_alpha_2
This issue describes deficiencies identified when reviewing alpha_2. There might be some overlap or tuning relevant to parts of issues 64 through 68.
These changes are proposed for acceptance in alpha_3:
- Reword "Annotation background opacity" to “Line label background opacity”.
- Replace default settings with provided light-mode .stg file settings. Dark mode is calculated from light mode settings.
- Replace the Black-and-white theme with "Grayscale" (not "Grayscale publication").
- The color gradient setting is (already was) a member of the preset color themes.
- Replace slider bounds with new recommended minimum and maximum values. Update: the minimum trace horizontal spacing is reduced from 76 to 15.
- Allow numeric input on settings sliders.
- Use % for settings slider values rather than internal numeric values where % is meaningful. In particular use % for opacity and color gradients.
- Remove Dark mode preset color themes. We now use the following algorithm for switching between dark and light mode themes:
- If all the color properties match those of one of the color themes then switch the mode between dark and light.
- Automatically switch theme colors between dark and light if the colors are not specific to events, e.g. edge color or code editor color for numeric text. But do not switch if the use has changed the coloring scheme to be different from any theme.
- When submitting new themes, only submit the "light" theme; the algorithm will manage switching between dark and light modes.
- Spell checker: Add “Settings | Code editor | Whitelist…” for whitelist management. Management includes: viewing, modifying, and copying to clipboard. Whitelist “Gantt”. When testing, please feel free to offer whitelist words for future releases.
- Bar charts: round annotation to a selectable number of decimal places. Do not paint annotation if it does not fit in the bar. Do not add a “mouse-over to see” feature for showing annotation that does not fit.
- Select all matching MP code text when selecting text unless text is whitespace. Change the color scheme for selected text and for text identified using “find” for both dark and light modes. To test: Validate that select selects multiple occurrences of text in the document. Validate that the select and find color schemes are appropriate for both dark and light modes. The original recommendation (for light mode) was: pale blue #E9F3FB or pale green #EAFFE6.
- Pressing Ctrl+F in the MP Code window now opens the find-and-replace dialog. It does not open an abbreviated "find-only" dialog.
- The status bar no longer says "Done" when a trace-generator run is initiated. Also we no longer say “Schema not defined” on the right side of the status bar when the trace generator has not run yet.
- Recognize Ctrl+Y, not just Ctrl+Shift+Z for code pane redo. The keyboard shortcuts help page reflects this. The keyboard shortcuts Help page now is displayed in a native table format. Please also verify that the appearance of this page is acceptable.
- The title margin on exported graphs now aligns just above and to the edge of graph content instead of being above and outside of content when components are not boxed. When boxed, the title margin lies above the box edge.
- Broken Shift+drag behavior and broken item placement when all items are selected (#64 item 4) are fixed:
- Shift + drag and Ctrl + Shift + drag behavior for nodes parenting IN relations are fixed and reflect standard behavior. Specifically: Shift includes parented nodes while Ctrl enables toggling the selection on and off.
- Item placement does not break when selecting and moving all items at once. Previously, some of the selected items would incorrectly move to incorrect locations. Note: Jitter might be observed when zoomed in and scrollbars are visible and moving all items. When the mouse button is released, any jitter is corrected.
- Rubber band selection now correctly activates when selecting items. Previously, rubber band selection failed because bordering around items made selection inaccessible.
- As part of this fix, all selectable items now paint red borders when they are selected. Previously, charts and related components did not change appearance when selected.
- Long words in boxes are now split if they are too long to fit. Previously, long words were cut off and did not wrap. MP code for testing this is available in issue #66 item 8.
- Menu items "Edit | Screen 1" and "Edit | Screen 2" are no longer simultaneously active. Now only one can be active, and then only if their associated MP code view window is selected. An alternative to this approach might be to hide information about which screen is applicable and disable all menu items when no screen is applicable. But then it might be confusing as to why all items are disabled when no screen is selected, and there would be no indication to which screen edit items apply when one screen or the other is selected.
- Wording for "Settings | Themes | Export theme" and "Export all theme settings" is clarified. Wording in the titles of their associated pop-up windows is also clarified.
- Menu “Settings | Themes | Use current theme settings when starting Gryphon” is moved to be next to "Settings | Themes | Reset theme settings to Gryphon defaults".
- The Dark mode button in the toolbar now looks more like a button because it includes dark and light mode icons along with its "Dark mode" text.
- The default settings for trace generation are changed to no longer draw borders around any components. Specifically, traces, graphs, and activity diagrams are no longer boxed by default.
- The text on the tabs in the custom settings window now prints full text instead of tab text being cut off. Navigation buttons are added to navigate to hidden tabs. This deficiency manifested on Mac systems. The unused Table and Report tabs have not been removed even though the do not contain any settings because they indicate that these graph components are available. If this indication is not important, they may be removed.
- The “Show Type 1 probabilities” menu is moved up from "Settings | Themes" to "Settings". Please note that this setting is still a theme setting and is managed with theme settings even though it is no longer under "Settings | Themes". Being managed as a theme allows it to be preserved in the .gry file and correctly restored when importing .gry files or restoring .gry snapshots.
- Users can now manage their spellchecker whitelist via the “Spellchecker whitelist” menu item. This menu option is available in both "Settings | Code editor" and in the graph pane menu. Users may also use the Edit menu when an unknown word is selected to select an alternate word or to whitelist the unknown word. Users may click the "Deduplicate" button in the Spellchecker Whitelist dialog to clean up, alphabetize, and deduplicate the whitelist.