Qv2ray: [dev] app does not show without old configuration

Created on 10 Dec 2019  ·  25Comments  ·  Source: Qv2ray/Qv2ray

Write the location of the config file for each operating system. I can not find for macOS.

Bugs help wanted

All 25 comments

I probably found

Notes: Directories that Qv2ray will search for v2ray-kernel
- Windows: C:\Users\USERNAME\.qv2ray\vcore
- macOS: /Users/USERNAME/.qv2ray/vcore
- Linux: ~/.qv2ray/vcore

If "Host list" is empty - app doesn't works.
Similarly, if you install the app for the first time.

Is there anybody here?

Yes, but busy these days, I'll check some time after next week.
Sorry about the delay.

Maybe you can fix it this weekend?

If "Host list" is empty - app doesn't works.
Similarly, if you install the app for the first time.

What do you mean by app "doesn't work"? What's the exact phenomenon?

The application starts, but the main window does not appear, it seems to be minimized and cannot be expanded.

The application starts, but the main window does not appear, it seems to be minimized and cannot be expanded.

I got it. Are you absolutely sure it's running already? If you are sure, try executing Qv2ray in terminal, and paste the output log here.

If "Host list" is empty - app doesn't works.
Similarly, if you install the app for the first time.

And here's another question: Will Qv2ray be working if you already have a valid existing configuration?

Yes, just add the server through the application version 1.3.8 then you can start version 1.99.3

Yes, just add the server through the application version 1.3.8 then you can start version 1.99.3

Understood. This is weird. It will be a lot more easier if we have the log output.

@thebadgateway You mean the upgrade from v1 config file (which with no connection added) will result in a non-usable Qv2ray v2?

Can someone help to test this in a non-macOS platform?
I think it's a platform-independent issue.

This video showed what is happening.
https://yadi.sk/d/0z-3fRTEqoIJ4Q

This video showed what is happening.
https://yadi.sk/d/0z-3fRTEqoIJ4Q

Could you please kind provide with us those Qv2ray.conf files for inspection?
That shall help us determine where the bug is. Thank you!

On Linux I repeated the problem. Investigation in progress.

https://github.com/lhy0403/Qv2ray/blob/e864bffbbd5936336ee1ab107cf35e9c893d4698/src/ui/w_MainWindow.cpp#L219-L224

This is the root cause. If there isn't at least one node, the program will simply not show its main window. Crucial bug! I'll try fix it.

Applying patch locally and testing in progress.

Proven fixed. I'll open up a pull request to fix this bug.
Please be ready!

@thebadgateway check it out.

@DuckSoft If you add a subscription, the application will no longer be able to start.

https://yadi.sk/i/_2nmgBNXQu-N0g

@DuckSoft If you add a subscription, the application will no longer be able to start.

https://yadi.sk/i/_2nmgBNXQu-N0g

Check out your system tray for Qv2ray icon, and try clicking it to invoke the main window out.
The detailed reason is still in investigation.

to: @thebadgateway

@lhy0403 have just pushed a patch for this problem. Check out the patched version and have a try!

Confirmed fixed on Arch Linux, recent build.
What about macOS? @thebadgateway

Closing for now. If the problem persists, reopen this.

Was this page helpful?
0 / 5 - 0 ratings