PowerShell / ConsoleGuiTools

Modules that mix PowerShell and GUIs/CUIs!
https://www.powershellgallery.com/packages/Microsoft.PowerShell.ConsoleGuiTools
MIT License
776 stars 59 forks source link

Out-GridView does not work on linux #156

Closed durdin85 closed 2 years ago

durdin85 commented 2 years ago

Hi, I've recently discovered this project so I'd like to give it a try (Out-GridView from PowerShell.GraphicalTools) but on my machine it does not work (to be precise the terminal-based Outgridview works, but not the graphical based one).

When I try to do anything | out-gridview, no window appears and there's no sign of any new process either it just continues.

Manually running "./.local/share/powershell/Modules/Microsoft.PowerShell.GraphicalTools/0.2.0/OutGridView.Gui/linux-x64/OutGridView.Gui" does also "nothing" --> The command just hangs waiting for input and I haven't figured out how to bring it alive or debug.

$PSVersiontable

Name                           Value
----                           -----
PSVersion                      7.2.4
PSEdition                      Core
GitCommitId                    7.2.4
OS                             Linux 5.18.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Deb…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

 get-module Microsoft.PowerShell.GraphicalTools

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     0.2.0                 Microsoft.PowerShell.GraphicalTools {Out-GridView, ogv}

Could it be broken because I am running on wayland (not X11?) Or it's broken in general?

tig commented 2 years ago

@andschwa This should be closed as won't fix since it's for the Avalona version.

RokeJulianLockhart commented 5 months ago

https://github.com/PowerShell/GraphicalTools/issues/156#issue-1276952302

Show-ObjectTree doesn't either, per https://github.com/orgs/PowerShell/discussions/21343#discussioncomment-8791255.