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

Multi instance launch problem #142

Closed
richardFK opened this issue Mar 7, 2021 · 5 comments
Closed

Multi instance launch problem #142

richardFK opened this issue Mar 7, 2021 · 5 comments

Comments

@richardFK
Copy link

This may be only related to Windows 10 x64 high DPI displays (eg my computer QB64 v1.5)...

Windows 10 x64 Build 2H20 (with all updates)
QB64 v1.5 x64
High DPI Display (3200 x 1800)

If already have an instance of QB64 v1.5 Windows 10 x64 running - when attempting to launch a second instance of QB64 v1.5, the opening IDE screen does not appear on the display (it appears as a tiny "pop-up" when "hovering" mouse cursor over TaskBar ICON) - if now AGAIN attempt to launch QB64 v1.5, the IDE opening screen is now visible on main display as NORMAL. So now need to remove the "second" instance and so proceed with the third instance (which now becomes the intended second instance of QB64).

@FellippeHeitor
Copy link
Contributor

For some reason improper coordinates got stored for the second instance. Go to internal/config.ini and delete the section for the second ide window. Please let me know if that fixes it.

@richardFK
Copy link
Author

Thanks for reply

I deleted the following

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=464
IDE_LeftPosition=-3

and with both second and 3rd instances closed (i.e. only ONE (i.e the first) instance active) - still the SAME PROBLEM.

Also I noticed that with NO INSTANCES of QB64 v1.5 at all - the problem occurs with the FIRST instance launched of v1.5 (however instances #2, #3, #4, and #5 all are OK - ie only first launch is faulty)

Below is NOW the end part of config.ini

[IDE WINDOW 1]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=1750
IDE_LeftPosition=628

[IDE WINDOW 3]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=130
IDE_LeftPosition=130

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 4]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 5]
IDE_Width=80
IDE_Height=25

Should I go back to using v1.4 and check up on v1.5 updates in a few months time?

@FellippeHeitor
Copy link
Contributor

FellippeHeitor commented Mar 7, 2021

Using 5 instances of the IDE, although not something I normally do - done solely to help figure your problem -, doesn’t give me issues, so that’s something likely related to some configuration specific to your machine. Try deleting config.ini so it’ll get reset.

Delete config.ini with all instances of QB64 closed. Then start it again.

If none of the fixes/features in v1.5 will be missed, you can go back to 1.4, of course.

@richardFK
Copy link
Author

Deleted config.ini and started again.

ALL launched instances were OK and the end of config.ini (after 5 instances launched) is the following - interesting that there is no IDE_Top Position and IDE_Left Position

[IDE WINDOW 1]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 3]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 4]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 5]
IDE_Width=80
IDE_Height=25

All of the above with my computer still running continuously for a few days now..

Tomorrow when I shut down my computer - the next power up I configured to automatically re-install QB64 v1.5 by auto unzipping the github QB64 zip file,

I will advise then, either way, on result of performing your mentioned actions.

Thanks

@richardFK
Copy link
Author

I modified the github QB64 zip file so that NO IDE window setting locations exist. When I auto freshly reinstall QB64 by unzipping - all 5 NEW instances of IDE are OK and below is what is at the end of config.ini,

[IDE WINDOW 1]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 3]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 4]
IDE_Width=80
IDE_Height=25

[IDE WINDOW 5]
IDE_Width=80
IDE_Height=25

So removing IDE window location info at end of config.ini appears to work OK for multi instances of QB64 v1.5

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants