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

"Overlay" windows not floating properly #146

Closed
NickSeagull opened this issue Oct 16, 2017 · 5 comments
Closed

"Overlay" windows not floating properly #146

NickSeagull opened this issue Oct 16, 2017 · 5 comments

Comments

@NickSeagull
Copy link

Two examples that I've found in my system:

When opening snipping tool in rectangular mode I cannot click anywhere on the white overlay that it generates to crop a region on the screen:

image

The Snipping Tool stays tiled on top and the overlay is unclickable.

Another example is when using a program called Hunt and Peck, which generates an overlay over all clickable items on the screen showing some keystrokes to click on them:

hap

If I spawn it myself, the overlay gets tiled and doesnt render correctly:

image

My exclude rule for Hunt and Peck is the following (I've tracked the class using WinGetClass and it always includes the word hap):

Config_rule_#19   := "*hap*;.*hap*;*hap*;0;0;1;1;1;1;"

In case that I'm doing something wrong, the actual class name is HwndWrapper[hap.exe;;<random hexadecimal number each time>]

Thanks for bug.n, it is really awesome.
Also thanks for taking the time to read this 😄

@joten
Copy link
Collaborator

joten commented Dec 26, 2017

I could not reproduce the issue running Windows 10 and the current bug.n code (no Config.ini) with AutoHotkey 1.1.27.00 (32-bit); although the content of the Snipping Tool window was a bit distorted.

You may use the following rule to make the according windows floating:
Config_rule=Microsoft-Windows-Snipper.*;Snipping Tool;;1;0;0;1;1;0;

@NickSeagull
Copy link
Author

Tested this in a new system, works correctly, thanks!!

Closing

@lluke777
Copy link

Hi NickSeagull
How the final rule for HAP looks like?
Thanks

@NickSeagull
Copy link
Author

Hey @lluke777 it's been a long time since I don't use bug.n anymore, the config got lost somewhere. Sorry

@tantoinet
Copy link

One more rule fixing Captura:
;;captura
Config_rule=;Region Picker;;0;1;;0;0;0;

Raw output from #i:
ID: 0x100b70
class: HwndWrapper[captura.exe;;b8efdf34-657b-40ab-8320-46ba0a226e76]
title: Region Picker
process: captura.exe [5200]
style: 0x16080000
metrics: x: 0, y: 0, width: 1920, height: 1080
tags: --

Config_rule=HwndWrapper[captura.exe;;b8efdf34-657b-40ab-8320-46ba0a226e76];Region Picker;;0;;;;;0;

joten added a commit that referenced this issue Nov 13, 2019
aiya000 pushed a commit to aiya000/bug.n that referenced this issue Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants