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

Cursor jumps to upper left corner of image viewport if ImageGlass already open, does not move back to original cursor if moving, clicks at new position. #2043

Open
Verinoth opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@Verinoth
Copy link

System information

  • Windows OS version: Windows 10 Pro 22H2 19045.5131
  • ImageGlass version: 9.1.8.723 (64-bit)
  • ImageGlass release: Classic

To Reproduce

Steps to reproduce the behavior:

  1. Open ImageGlass / Open via associated image file in Windows Explorer.
  2. Open another image file via Windows Explorer whose extension is associated with ImageGlass.
  3. Move cursor immediately following double-click on image file.

Actual behavior

  • Initial ImageGlass opening does not move cursor at all visibly, whether directly or via opening of an associated image file.
  • All subsequent image opening flashes cursor briefly to the upper left corner of the viewport within ImageGlass before returning the cursor to its original position. Seems to be function to grab window focus.
  • If cursor is in motion after double-clicking the image file in Windows Explorer, the cursor can move outside of ImageGlass before the function completes, placing a non-user generated click outside of the application and preventing the cursor from moving back to the original location.

Expected behavior

  • Initial ImageGlass opening does not move cursor at all visibly, whether directly or via opening of an associated image file.
  • Subsequent image opening does not relocate cursor, does not click cursor on its own.
  • If cursor relocation is maintained as a function, self-click should interrupt if user movement has occurred.

Additional context

Does not appear to correlate with particular format or file.
Appears to originate in /Source/Components/ImageGlass.Base/WinApi/WindowApi.cs#L76

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

No branches or pull requests

1 participant