-
-
Notifications
You must be signed in to change notification settings - Fork 457
Fix dialog jump issue when result will not be execueted under empty query option #3862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🥷 Code experts: taooceros Jack251970, taooceros have most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame: ✨ Comment |
📝 WalkthroughWalkthroughThe update changes the logic for handling the "Dialog Jump" left click in the Changes
Estimated code review effort1 (~2 minutes) Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧠 Learnings (2)📓 Common learningsFlow.Launcher/ViewModel/MainViewModel.cs (8)Learnt from: Yusyuriv Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Yusyuriv 🧰 Additional context used🧠 Learnings (2)📓 Common learningsFlow.Launcher/ViewModel/MainViewModel.cs (8)Learnt from: Yusyuriv Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Jack251970 Learnt from: Yusyuriv 🔇 Additional comments (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX. |
CHANGES
Originally, if users select empty query option, Flow will call
Hide()before checking resultSelectedResults.SelectedItem != nullwhich can cause thatSelectedResults.SelectedItemis cleared to null, leading to result check failure.So I have applied these two changes to make it work and work better:
SelectedResults.SelectedItem != nullcheck since we have already gotten the selected itemresultDialogWindowHandle != nint.Zerocheck since we have already checked_isDialogJumpflagFollow on with #1018. Resolve #3861.
TEST
Work as expected. Tested by soul4kills