-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Out-GridView's text search doesn't work, and pressing enter in the text box closes it. -PassThru
makes the shell hang
#24749
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
Comments
Is the |
@237dmitry thank you for your reply. Yes, |
I would wait for the release, because the release candidate does not take into account all aspects. In my opinion, it is time to throw out all these atavisms of the pasts, like -ShowWindow and Out-GridView. This is beyond cross-platform |
@237dmitry I'd like to switch to |
In my opinion, this is being developed by the Windows PowerShell team, not PowerShell 7. The main problem with productive development of PowerShell 7, in my opinion only, is the difficulty of backward compatibility with Windows PowerShell. I don't know the plans for the future and I don't understand why two entities are needed that gradually, with each new release, lose connection with each other even at the syntax level. This brings confusion in general. |
@237dmitry Issues are for reporting bugs, if you want to give your conceptual opinion on WPF, open a discussion. |
Possible fix #14054 (comment) |
@iSazonov That's great! Thank you. |
Ooh no, they took my GridView away. It's insecure they say! ;) |
In the release of 7.5.0 it is even worse. |
I expirienced the same behaviour in PowerShell 7.5.0 on Windows 11 :/ |
I'm encountering the same issue on PowerShell 7.5.0 on Windows 10. Adding criteria or pressing enter after entering text in the Out-GridView text box results in the GridView window closing.
|
Can confirm this is happening. Need this fixed - the window and its entire UI is performing incredibly erratically under pwsh but is fine under Windows PowerShell. |
Just ran into this issue on my work laptop running Windows 11 Enterprise 23H2.
|
The error also occurs on your side. The search is no longer functional. OsName : Microsoft Windows 11 Enterprise Key : PSVersion |
Same problem here
|
@SteveL-MSFT Will this be solved or is there a workaround till it's fixed? |
I have the same problem on PowerShell 7.5.0 on Windows 11 yet the out-gridview of poweshell 5 on the same machine works fine though in the meantime |
Almost opened a duplicate , it's hitting me on 7.5.0 |
Same problem here, except the command line does not return and I have to kill the whole powershell proces |
This didn't get fixed in 7.6.0-preview.4 😭 |
Seems like this has been broken for years if the issue is with BinaryFormatter!? And I was just about ready to switch from Windows PowerShell to PS Core. This should be a release blocker, but perhaps the team doesn't care about PowerShell Core working on Windows at all? |
No, .Net team removed BinaryFormatter only in last version. I pointed how to fix the issue if somebody want contribute. |
Common guys, please fix this ! Really annoying that filtering in the Out-GridView form does not work anymore. If its based on obsolete code, just make something new and modern. |
Ogv is used a lot for troubleshooting , quick examination of data and a quick gui chooser - I use it many times a day and am now stuck on 7.4.7 |
Everyone agrees that it must be recovered. There is no one who would do this job. |
Marking 7.5 as stable before fixing this seems like an odd decision. |
📣 Hey @@matteocoder, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
Prerequisites
Steps to reproduce
Scenario 1:
pwsh.exe -noprofile
ls | ogv
Scenario 2:
pwsh.exe -noprofile
ls | ogv -passthru
Expected behavior
The search query should filter the results in the Out-GridView window, and pressing enter while focussed on the text box should not close the window.
Actual behavior
Filtering via text search doesn't work, and pressing enter while focussed on the search box closes the window.
Error details
No response
Environment data
Visuals
The text was updated successfully, but these errors were encountered: