Crash Fix. Add visibility trigger to empty tooltip strings.#12069
Merged
QilongTang merged 3 commits intoDynamoDS:masterfrom Sep 29, 2021
Merged
Crash Fix. Add visibility trigger to empty tooltip strings.#12069QilongTang merged 3 commits intoDynamoDS:masterfrom
QilongTang merged 3 commits intoDynamoDS:masterfrom
Conversation
saintentropy
commented
Sep 27, 2021
| var portValue = model.Start.Owner.GetValue(model.Start.Index, workspaceViewModel.DynamoViewModel.EngineController); | ||
| if (portValue is null) | ||
| { | ||
| ConnectorDataTooltip = "N/A"; |
Contributor
Author
There was a problem hiding this comment.
This can also go back to "N/A" but seems like we should just not show a tooltip if there is nothing to show
QilongTang
reviewed
Sep 28, 2021
src/DynamoCoreWpf/UI/Converters.cs
Outdated
| { | ||
| public object Convert(object value, Type targetType, object parameter, CultureInfo culture) | ||
| { | ||
| if (value == null) return ""; |
Contributor
There was a problem hiding this comment.
Make sense, would you update to use String.Empty where applies, thanks!
QilongTang
reviewed
Sep 28, 2021
Contributor
QilongTang
left a comment
There was a problem hiding this comment.
One comment, then LGTM
QilongTang
approved these changes
Sep 29, 2021
M-JULIANI
pushed a commit
to M-JULIANI/Dynamo
that referenced
this pull request
Sep 30, 2021
…#12069) * Add visiblity trigger to empty tooltip strings * PR comment * Pr comments Co-authored-by: Craig Long <[email protected]>
QilongTang
added a commit
that referenced
this pull request
Oct 4, 2021
* Polyline + thick outline removed. * Removed 'ConnectorType` menu from view->connectors. * Updated connector styles. * New resources added/old ones removed. Minor UI updates to reflect mockups. * First commit. * Cleanup. On-the-fly ContextMenu working. * Applying ContextMenu styling. * Added (stole) ContextMenu styling. * Added resource strings to ContextMenu control. * Update AssemblySharedInfo.cs * Unused ref removal. * Cleanup. * Fixes. * First commit. * Cleanup. On-the-fly ContextMenu working. * Applying ContextMenu styling. * Added (stole) ContextMenu styling. * Added resource strings to ContextMenu control. * Update AssemblySharedInfo.cs * Cleanup. * Adding 10 to margin (#12076) * Update AnnotationModel.cs (#12086) * Crash Fix. Add visibility trigger to empty tooltip strings. (#12069) * Add visiblity trigger to empty tooltip strings * PR comment * Pr comments Co-authored-by: Craig Long <[email protected]> * DYN-3992: Upgrade LibG (#12060) * mark test as failure temporarily to fix build issues (#12090) * add pins to groups (#12070) * add pins to groups * Update ConnectorPinView.xaml.cs * Remove outdated logic (#12081) * Wire connector UI modifications (#12072) * Polyline + thick outline removed. * Removed 'ConnectorType` menu from view->connectors. * Updated connector styles. * New resources added/old ones removed. Minor UI updates to reflect mockups. * [DYN-4105] Make sure nodes gets added to parent group (#12084) * make sure nodes gets added to parent group * remove commented code Co-authored-by: Aaron (Qilong) <[email protected]> * Updates resource strings from Remove to Delete (#12088) * Improved ContextMenu behaviour. * PR fix. * Removed unnecessary refs. * Added unit tests for ConnectorContextMenu construction/disposal/commands. Co-authored-by: filipeotero <[email protected]> Co-authored-by: Sylvester Knudsen <[email protected]> Co-authored-by: Craig Long <[email protected]> Co-authored-by: Craig Long <[email protected]> Co-authored-by: Jorgen Dahl <[email protected]> Co-authored-by: aparajit-pratap <[email protected]> Co-authored-by: Aaron (Qilong) <[email protected]> Co-authored-by: Ollie Green <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR fixes a crash bug when hovering wires after opening the graph in
Manualmode. Specifically it hides the tooltips for the hover menu.Declarations
Check these if you believe they are true
*.resxfilesReviewers
@marimano @QilongTang