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

Clicking on a sticker pulls up the Accessibility System Settings (macOS) #56

Open
Crystallized21 opened this issue Jul 13, 2023 · 8 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Crystallized21
Copy link

Crystallized21 commented Jul 13, 2023

Clicking a sticker pulls up system settings to change Accessibility settings. Even though the option is already toggled on.
Maybe change the function to copy the image instead of injecting it into Discord?

Sequence.01_1.mp4
@MarvNC
Copy link
Owner

MarvNC commented Jul 13, 2023

It does copy the image and pastes onto the previous window. Does this happen every time? In your recording there doesn't seem to be any window open before StampNyaa so it doesn't seem to be a bug exactly.

@MarvNC
Copy link
Owner

MarvNC commented Jul 13, 2023

I added a notice in the readme for Mac users.
chrome_MarvNCStampNyaa_A_simple_desktop_app_for_downloadi_2023-07-13_12-52-35

@Crystallized21
Copy link
Author

Crystallized21 commented Jul 13, 2023

It does copy the image and pastes onto the previous window. Does this happen every time? In your recording there doesn't seem to be any window open before StampNyaa so it doesn't seem to be a bug exactly.

Discord is opened at that time, however even though the accessibility settings is turned on, it still redirects me to the system settings page.

Does this happen every time?

Forgot to clarify, but yes it happens every time. I can’t paste the sticker, since it takes me back the settings page.

Tried to turn it off and back on, still had no effect.

@MarvNC
Copy link
Owner

MarvNC commented Jul 13, 2023

Unless Discord is cropped out in the recording, it doesn't seem to be active before StampNyaa.

What StampNyaa does is:

  • Copy the sticker to the clipboard
  • Hide the application as this should focus on the previously focused window
  • Paste ctrl + v

There isn't an easy way to actually focus on a separate window, so StampNyaa just does this method which makes the most sense imo. I don't know why the accessibility settings show up like that.

The intended use case is:

  • Use chat app
  • Use hotkey to show StampNyaa on top of the previously active app
  • Send sticker, close StampNyaa to focus on the previous chat app, paste the sticker image.

If you use it this way, does it work?

@Crystallized21
Copy link
Author

  • Copy the sticker to the clipboard
  • Hide the application as this should focus on the previously focused window
  • Paste ctrl + v

Test it out again, but it indeed copys the sticker. But still brings up the System Settings Application, even if restarted.
I've upgraded to macOS Sonoma Developer Beta 3 so I think thats why?

Screen.Recording.2023-07-14.at.11.43.22.AM.mov

@MarvNC
Copy link
Owner

MarvNC commented Jul 13, 2023

Ohh that's really strange, thanks for demonstrating. What if you use a hotkey instead of clicking the dock icon?

I haven't done anything to specify accessibility settings or anything, I think it's just automatically done because the app tries to press command v. From this video my best possible guess is that using the dock icon unfocuses discord somehow in a different way than using the hotkey would. If it still doesn't work after the next update I might have to add a setting to disable the command v step.

@Crystallized21
Copy link
Author

What if you use a hotkey instead of clicking the dock icon?

Neither the Hotkey works. My best guess is that macOS Sonoma Dev Beta 3 fiddled with something, causing it not work as expected. Before then, it worked.

@MarvNC
Copy link
Owner

MarvNC commented Jul 14, 2023

Oh okay, thanks for the clarification. Will keep an eye out but I don't know anything I can do unfortunately. For what it's worth, I have a friend using an older version and it seems to work fine (excluding the other issues you reported which are fixed now).

@MarvNC MarvNC self-assigned this Jul 14, 2023
@MarvNC MarvNC added bug Something isn't working wontfix This will not be worked on labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants