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

Corner will ranomly won't trigger action (screen saver) #55

Open
Shasoosh opened this issue Aug 1, 2024 · 4 comments
Open

Corner will ranomly won't trigger action (screen saver) #55

Shasoosh opened this issue Aug 1, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Shasoosh
Copy link

Shasoosh commented Aug 1, 2024

Sometimes moving to the top right corner will not trigger the screen saver. Going to the taskbar and left clicking on WinXCorners icon once, the winxcorners ui will popup, then the top right corner will trigger agaion.

To Reproduce
This happens randomly

Expected behavior
Moving to the corner should trigger the action every time.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows 11 version: Window 11 x64 23H2 build 22631
  • WinXcorners Version 1.3
@vhanla
Copy link
Owner

vhanla commented Aug 1, 2024

Sometimes that would happen only if the foreground window is elevated and this application runs in normal permissions, (unless you start it as admin), since sharing data between different programs (in elevation wise), is not allowed in Windows.
I suspect that would be the reason, since I haven't seen that happens with normal programs running (windows), at least in my everyday usage. 🤔💭 If that random issue is happening only using normal windows (programs), please, let me now.

_____ [ almost off topic]
However, I'm adding an alternative method using global wise system mouse hooks, which would be better, some suggest, since it won't be "triggering constantly" the mouse state via WINAPI, but I saw that it completely stops sending mouse coordinates whenever I use an admin elevated program like the Task Manager, which is not the case with polling with a timer, as it is currently working. With polling cursor position, sometimes, it can even override that limitation imposed by Windows, and I preferred over WH_MOUSE_LL hook.
I don't like the idea to run this tool as admin to fix that limitation, but it is necessary if you are constantly using admin elevated programs. Maybe a windows service (which will require admin privileges to install) would be an option, since setting a run at startup for an application that asks the user to give permission with UAC screen each time it starts Windows logon, would not be nice, unless I opt to implement a batch to set it to start as a programmed task which allows to bypass the UAC for elevated privileged programs.

@Shasoosh
Copy link
Author

Shasoosh commented Aug 1, 2024

Thank you for the reply. I usually use standard permission programs, but there might be a particular program that I frequently use that is causing an issue. Any idea how I can track this? Does WinXCorenrs have a log file?

The alternative method sounds interesting!

@Shasoosh
Copy link
Author

Shasoosh commented Aug 3, 2024

After another day of use with normal programs while winXcorners is set to "Run this program as an Administrator" this is still happening. Hot corner will randomly stop triggering actions.

@vhanla vhanla added the bug Something isn't working label Aug 3, 2024
@vhanla
Copy link
Owner

vhanla commented Aug 3, 2024

Thank you for your feedback. I will look more deep into the code. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants