Skip to content
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

After enabling CJ account a cmd line window appears and doesn't close #7375

Closed
STew790 opened this issue Jan 12, 2023 · 10 comments · Fixed by #7429
Closed

After enabling CJ account a cmd line window appears and doesn't close #7375

STew790 opened this issue Jan 12, 2023 · 10 comments · Fixed by #7429
Assignees
Labels
bug Something isn't working as expected coinjoin Related to coinjoin feature

Comments

@STew790
Copy link
Contributor

STew790 commented Jan 12, 2023

Describe the bug
After enabling CJ account, a cmd line window appears with WalletWasabi.WabiSabiClientLibrary.exe in title and doesn't close. It is probably something that should be running in the background but it just stays there. This is happening only on Windows. This wasn't happening on the 22.12.1 version.

Steps to reproduce:

  1. Install Suite 23.1.1 on Windows machine
  2. Go to accounts and try to add coinjoin account
  3. After enabling Tor, a cmd line window appears.

Info:

  • Suite version: desktop 23.1.1 (5d418b5)
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) TrezorSuite/23.1.1 Chrome/104.0.5112.124 Electron/20.3.5 Safari/537.36
  • OS: Win32
  • Screen: 1536x864
  • Device: model T 2.5.3 Universal (revision 2f03ace311584988d5aeab58fd1acf24ef54711a)
  • Transport: bridge 2.0.27

Expected result:
The wasabi exe library should run in the background.

Actual result:
A command line window appears with exe library from wasabi.

Screenshots:
image (1)

@STew790 STew790 added the bug Something isn't working as expected label Jan 12, 2023
@matejkriz matejkriz added this to the 🥣 CoinJoin - MVP milestone Jan 12, 2023
@matejkriz matejkriz added the coinjoin Related to coinjoin feature label Jan 12, 2023
@prusnak
Copy link
Member

prusnak commented Jan 12, 2023

By default console apps on Windows create their own terminal window. We need to modify the build so it does not do this.

There is a way to just hide the window on start, but this is ugly and confuses users (because it shows a window for few milliseconds).

Guide from the internet:

Just go to the application's Properties and change the Output type from Console Application to Windows Application.

Since we don't use GUI such as Visual Studio, we need to figure out how to change the setting via a command line.

@matejkriz
Copy link
Member

Just tested together with @STew790 that it is happening on the unsigned version too (23.2.0)

@matejkriz
Copy link
Member

matejkriz commented Jan 16, 2023

@STew790 Please test on Windows those two cases:

@matejkriz matejkriz assigned STew790 and unassigned matejkriz Jan 16, 2023
@STew790
Copy link
Contributor Author

STew790 commented Jan 18, 2023

So the result is:

  • the old middleware with new Suite (23.2.0) shows the cmd line
  • the new middleware with old Suite (22.12.1) doesn't show the cmd line

@matejkriz
Copy link
Member

So it looks like Suite issue, not middleware issue 🤔 There were no update of Electron, so maybe the added logging. Will prepare another build to test 🏃‍♂️

@matejkriz matejkriz assigned matejkriz and unassigned STew790 Jan 18, 2023
@matejkriz matejkriz moved this from 🎯 To do to 🏃‍♀️ In progress in Suite Desktop Jan 18, 2023
@matejkriz
Copy link
Member

matejkriz commented Jan 18, 2023

@matejkriz matejkriz assigned STew790 and unassigned matejkriz Jan 18, 2023
@STew790
Copy link
Contributor Author

STew790 commented Jan 18, 2023

Cmd line not showing on this branch 🎉

@STew790 STew790 assigned matejkriz and unassigned STew790 Jan 18, 2023
@matejkriz
Copy link
Member

@trezor/qa please test the build from this pipeline on Win 🙏
https://gitlab.com/satoshilabs/trezor/trezor-suite/-/jobs/3629601587

@bosomt
Copy link
Contributor

bosomt commented Jan 20, 2023

QA OK

Info:

  • Suite version: desktop 23.2.0 (a18d568)
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) TrezorSuite/23.2.0 Chrome/104.0.5112.124 Electron/20.3.5 Safari/537.36
  • OS: Win32
  • Screen: 1920x1080
  • Device: model T 2.5.3 Universal (revision 2f03ace311584988d5aeab58fd1acf24ef54711a)
  • Transport: bridge 2.0.32

@bosomt bosomt closed this as completed Jan 20, 2023
@github-project-automation github-project-automation bot moved this from 🏃‍♀️ In progress to 🤝 Needs QA in Suite Desktop Jan 20, 2023
@matejkriz matejkriz reopened this Jan 20, 2023
@matejkriz matejkriz moved this from 🤝 Needs QA to 🏃‍♀️ In progress in Suite Desktop Jan 20, 2023
@matejkriz matejkriz moved this from 🏃‍♀️ In progress to 🔎 Needs review in Suite Desktop Jan 20, 2023
@github-project-automation github-project-automation bot moved this from 🔎 Needs review to 🤝 Needs QA in Suite Desktop Jan 25, 2023
@STew790
Copy link
Contributor Author

STew790 commented Jan 31, 2023

QA OK
No cmd line present.

Info:

  • Suite version: desktop 23.2.0 (1e0a304)
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) TrezorSuite/23.2.0 Chrome/104.0.5112.124 Electron/20.3.5 Safari/537.36
  • OS: Win32
  • Screen: 1536x864
  • Device: model T 2.5.3 Universal (revision 2f03ace311584988d5aeab58fd1acf24ef54711a)
  • Transport: bridge 2.0.32

@STew790 STew790 moved this from 🤝 Needs QA to ✅ Approved in Suite Desktop Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected coinjoin Related to coinjoin feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants