Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Flow.Launcher/ResultListBox.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
Expand Down Expand Up @@ -137,6 +137,8 @@ private void ResultList_MouseMove(object sender, MouseEventArgs e)

isDragging = false;

App.API.HideMainWindow();

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main window will show later when finishing dragging since we're calling ChangeQuery() in line 156.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main window will only show later when it's a Move action now. Should we amend this? @onesounds @jjw24

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry what do you mean? Does change query call make the search window visible again? When I was testing this with moving a file the search window wasn't showing after the drop was done and had to retrigger window to appear.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I was testing this PR something did bring back the search window, and I thought it was ChangeQuery. But now I am confused about the logic. Will test later this week.

var data = new DataObject(DataFormats.FileDrop, new[]
{
path
Expand Down