-
-
Notifications
You must be signed in to change notification settings - Fork 423
Use ResultContextMenu instead of ContextMenu #3600
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
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. Forbidden patterns 🙅 (1)In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves. These forbidden patterns matched content: s.b. workaround(s)
If the flagged items are 🤯 false positivesIf items relate to a ...
|
🥷 Code experts: onesounds onesounds, Jack251970 have most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame: To learn more about /:\ gitStream - Visit our Docs |
Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Replaces the old ContextMenu
element with ResultContextMenu
to avoid naming conflicts with WPF’s built-in ContextMenu
and updates associated visibility triggers and code-behind logic.
- Renamed XAML elements and bindings from
ContextMenu
toResultContextMenu
- Updated visibility triggers and data triggers to reference
ResultContextMenu
- Adjusted code-behind subscribers and null checks to use
ResultContextMenu
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
Flow.Launcher/Themes/Base.xaml | Swapped out the commented ContextMenu trigger for ResultContextMenu |
Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml | Renamed <Border x:Name="ContextMenu"> to ResultContextMenu |
Flow.Launcher/MainWindow.xaml.cs | Updated DependencyPropertyDescriptor subscriptions and null checks to use ResultContextMenu |
Flow.Launcher/MainWindow.xaml | Updated bindings, triggers, and x:Name from ContextMenu to ResultContextMenu |
|
||
// Detect History.Visibility changes | ||
DependencyPropertyDescriptor | ||
.FromProperty(VisibilityProperty, typeof(StackPanel)) | ||
.FromProperty(VisibilityProperty, typeof(ResultListBox)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The owner type for the History subscription should match the actual control type (e.g., StackPanel or Border) rather than ResultListBox, otherwise the Descriptor may not fire when History.Visibility changes.
.FromProperty(VisibilityProperty, typeof(ResultListBox)) | |
.FromProperty(VisibilityProperty, typeof(StackPanel)) // Replace ResultListBox with the actual type of History |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jack251970 is this relevant?
<!-- | ||
<Condition Binding="{Binding ElementName=ResultListBox, Path=Visibility}" Value="Collapsed" /> | ||
<Condition Binding="{Binding ElementName=ContextMenu, Path=Visibility}" Value="Collapsed" />--> | ||
<Condition Binding="{Binding ElementName=ResultContextMenu, Path=Visibility}" Value="Collapsed" />--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The comment block opens on line 480 but closes here, which can be hard to follow; consider using a single-line comment (<!-- ... -->
) or moving both markers onto each individual line to improve readability.
Copilot uses AI. Check for mistakes.
📝 WalkthroughWalkthroughThe changes systematically rename a XAML UI element and its references from "ContextMenu" to "ResultContextMenu" across multiple files. This update affects element names, bindings, event subscriptions, and trigger conditions related to result list context menus in both the main window and theme resources, without altering underlying logic or structure. Changes
Suggested labels
Suggested reviewers
Poem
✨ 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 (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (2)
Flow.Launcher/Themes/Base.xaml (1)
482-482
: Remove outdated commented-out condition
The commented-out<Condition>
referencingResultContextMenu
is vestigial. Consider removing it to declutter the resource dictionary and prevent confusion.Flow.Launcher/MainWindow.xaml (1)
376-378
: Clean up commented style triggers
The commented<DataTrigger>
block forResultContextMenu
has been updated but remains commented out. Remove or restore it based on whether this logic is required to avoid stale code.🧰 Tools
🪛 GitHub Actions: Check Spelling
[warning] 460-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64:
XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63:
YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19:
iconsb
is not a recognized word. (unrecognized-spelling)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
Flow.Launcher/MainWindow.xaml
(3 hunks)Flow.Launcher/MainWindow.xaml.cs
(3 hunks)Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml
(1 hunks)Flow.Launcher/Themes/Base.xaml
(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: Check Spelling
Flow.Launcher/MainWindow.xaml
[warning] 83-25: Ioc
is not a recognized word. (unrecognized-spelling)
[warning] 84-29: Ioc
is not a recognized word. (unrecognized-spelling)
[warning] 111-36: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 336-43: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 460-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64: XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63: YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19: iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19: iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19: iconsb
is not a recognized word. (unrecognized-spelling)
Flow.Launcher/MainWindow.xaml.cs
[warning] 83-25: Ioc
is not a recognized word. (unrecognized-spelling)
[warning] 84-29: Ioc
is not a recognized word. (unrecognized-spelling)
[warning] 111-36: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 336-43: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 460-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64: XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63: YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19: iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19: iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19: iconsb
is not a recognized word. (unrecognized-spelling)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: gitStream workflow automation
- GitHub Check: gitStream.cm
- GitHub Check: gitStream.cm
- GitHub Check: build
🔇 Additional comments (8)
Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml (1)
377-377
: AddResultContextMenu
placeholder in theme preview
This<Border>
namedResultContextMenu
mirrors the renamed control inMainWindow
and ensures the theme preview aligns with the updated naming.Flow.Launcher/MainWindow.xaml (1)
362-362
: Update separator trigger to useResultContextMenu
TheMultiDataTrigger
now correctly checksResultContextMenu.Visibility
instead of the oldContextMenu
, keeping the middle separator logic in sync.🧰 Tools
🪛 GitHub Actions: Check Spelling
[warning] 460-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64:
XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63:
YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19:
iconsb
is not a recognized word. (unrecognized-spelling)Flow.Launcher/MainWindow.xaml.cs (6)
298-301
: LGTM! Event subscription correctly updated for ResultContextMenu.The dependency property descriptor setup for monitoring ResultContextMenu visibility changes is correctly updated with consistent naming and appropriate type parameters.
🧰 Tools
🪛 GitHub Actions: Check Spelling
[warning] 336-43:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 460-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64:
XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63:
YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19:
iconsb
is not a recognized word. (unrecognized-spelling)
305-305
: LGTM! Type parameter consistency maintained.The type parameter for the History control's dependency property descriptor is correctly set to ResultListBox, maintaining consistency with the ResultContextMenu setup.
🧰 Tools
🪛 GitHub Actions: Check Spelling
[warning] 336-43:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 460-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31:
VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27:
Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34:
WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21:
gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26:
positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64:
XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63:
YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19:
iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20:
clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19:
iconsb
is not a recognized word. (unrecognized-spelling)
1019-1019
: LGTM! Null check correctly updated.The null check properly references ResultContextMenu instead of ContextMenu, maintaining the safety check while using the correct control name.
1034-1037
: LGTM! Clock panel visibility logic correctly updated.The condition for showing the clock panel properly references ResultContextMenu while maintaining the original logic - show clock when there's no query text and both ResultContextMenu and History are not visible.
1039-1045
: LGTM! Immediate hide logic correctly updated.The logic to immediately hide the clock panel when ResultContextMenu becomes visible is properly updated with the new control name while preserving the intended behavior.
1047-1047
: LGTM! Comment correctly updated.The comment properly reflects the updated control name, maintaining accurate documentation of the logic.
@@ -419,7 +419,7 @@ | |||
</ContentControl> | |||
<ContentControl> | |||
<flowlauncher:ResultListBox | |||
x:Name="ContextMenu" | |||
x:Name="ResultContextMenu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Rename result list instance to ResultContextMenu
This ResultListBox
instance has been renamed, aligning with the new naming convention. Please ensure corresponding bindings and any code-behind references in MainWindow.xaml.cs
are also updated.
Run this script to verify no residual <ContextMenu>
references remain:
🏁 Script executed:
#!/bin/bash
# Search for leftover ContextMenu references
rg -n '<ContextMenu ' .
Length of output: 223
Review leftover <ContextMenu>
definitions
The search for <ContextMenu
shows remaining definitions in:
- Flow.Launcher/MainWindow.xaml:262
- Flow.Launcher/Resources/CustomControlTemplate.xaml:25
Please verify and update as needed:
- If the
<ContextMenu>
at MainWindow.xaml:262 is the one for your renamedResultContextMenu
, adjust itsx:Name
, bindings and any code‐behind references to match. - If the
TextBoxContextMenu
in CustomControlTemplate.xaml is unrelated, you can leave it intact. Otherwise, rename or refactor it to fit the new naming convention.
🧰 Tools
🪛 GitHub Actions: Check Spelling
[warning] 460-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 475-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 487-31: VSTHRD
is not a recognized word. (unrecognized-spelling)
[warning] 491-27: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 493-27: Wnd
is not a recognized word. (unrecognized-spelling)
[warning] 564-30: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 566-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 567-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 568-34: WMP
is not a recognized word. (unrecognized-spelling)
[warning] 648-25: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 649-25: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 652-32: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 655-30: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 658-37: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 674-21: gamemode
is not a recognized word. (unrecognized-spelling)
[warning] 675-26: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 680-26: positionreset
is not a recognized word. (unrecognized-spelling)
[warning] 790-64: XRatio
is not a recognized word. (unrecognized-spelling)
[warning] 791-63: YRatio
is not a recognized word. (unrecognized-spelling)
[warning] 1005-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1006-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1007-19: iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1008-19: iconsb
is not a recognized word. (unrecognized-spelling)
[warning] 1013-20: clocksb
is not a recognized word. (unrecognized-spelling)
[warning] 1014-19: iconsb
is not a recognized word. (unrecognized-spelling)
🤖 Prompt for AI Agents
In Flow.Launcher/MainWindow.xaml around lines 262 and 422, the ResultListBox
instance has been renamed to ResultContextMenu, but the corresponding
<ContextMenu> definition at line 262 still uses the old naming. Update the
x:Name and any bindings in the <ContextMenu> at line 262 to match
ResultContextMenu, and ensure all code-behind references in MainWindow.xaml.cs
are updated accordingly. Leave unrelated ContextMenu definitions like
TextBoxContextMenu in Resources/CustomControlTemplate.xaml unchanged.
We should use ResultContextMenu instead of ContextMenu because for Window, it already has one element called
ContextMenu
.