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

Window becomes unfocused when clicking debug button #95

Open
micwoj92 opened this issue Feb 5, 2021 · 4 comments
Open

Window becomes unfocused when clicking debug button #95

micwoj92 opened this issue Feb 5, 2021 · 4 comments
Assignees
Labels
2.0AutoFix No Applicable to or Will be Fixed in 2.0 gui Issue relates to GUI elements and functionality

Comments

@micwoj92
Copy link
Contributor

micwoj92 commented Feb 5, 2021

When clicking the "d" and browsing any processes there you can see the window becomes unfocused. I think this is only visual bug because switching programs with alt-tab works as expected.

The issue is visible in the gif in readme
https://github.com/rcmaehl/NotCPUCores

The issue did not exist in versions 1.7.1.0 and prior
(observation based on the gif in readme)

https://github.com/rcmaehl/NotCPUCores/tree/24e60dff2a59cd2b08a9dd5b9c9ee0ed96add1fa

It is more visible in Windows 8.1 due to borders.

@rcmaehl
Copy link
Owner

rcmaehl commented Feb 5, 2021

I believe I know the cause but I'm not sure I want to fix it.

@rcmaehl rcmaehl self-assigned this Feb 5, 2021
@rcmaehl rcmaehl added the gui Issue relates to GUI elements and functionality label Feb 5, 2021
@rcmaehl
Copy link
Owner

rcmaehl commented Feb 6, 2021

image

@micwoj92
Copy link
Contributor Author

micwoj92 commented Feb 6, 2021

aw, no way to make this in one window? Why it wasn't issue in previous versions?

@rcmaehl
Copy link
Owner

rcmaehl commented Feb 6, 2021

aw, no way to make this in one window? Why it wasn't issue in previous versions?

Per https://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateTab.htm

"A GUI can only hold a single tab control, but it is possible to create child GUIs each holding a tab control."

I'm attempting to do some workarounds and we'll see what happens with each...

@rcmaehl rcmaehl changed the title Window becomes unfocused when clicking debug tab Window becomes unfocused when clicking debug button Feb 11, 2021
@rcmaehl rcmaehl added the 2.0AutoFix No Applicable to or Will be Fixed in 2.0 label Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0AutoFix No Applicable to or Will be Fixed in 2.0 gui Issue relates to GUI elements and functionality
Projects
None yet
Development

No branches or pull requests

2 participants