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

<f8> doesnt toggle dark mode #1264

Open
Vardhamann opened this issue Dec 26, 2024 · 3 comments
Open

<f8> doesnt toggle dark mode #1264

Vardhamann opened this issue Dec 26, 2024 · 3 comments

Comments

@Vardhamann
Copy link

Vardhamann commented Dec 26, 2024

Hi,
I use the SEP 11th arm(correction, currently using non-arm) version of sioyek,

Whats happening:
Whenever i try to use f8 to toggle dark mode, it opens the donate page.

Expected behavior:
f8 toggles dark mode.

Using the command search / pallete toggle dark mode works there and also indicates that it is bound to f8.

All user_keys and user_prefs files are empty.
Unsure if this is a bug or theres some quirk on my setup,
Have tried deleting application support.

Please advice further diagnostic steps.
Thank you.

@ahrm
Copy link
Owner

ahrm commented Dec 26, 2024

Which operating system are you on? What is in your keys.config file (not keys_user.config). Does adding toggle_dark_mode <f8> to keys_user.config fix the issue?

@Vardhamann
Copy link
Author

Vardhamann commented Dec 27, 2024

I am on Mac OS 15.2 (24C101) on an M1 macbook pro.

I have looked at keys.config (Applications/Sioyek/Contents/MacOS/keys.config)
The following is already present
# Toggle dark mode (inverted colors)
toggle_dark_mode <f8>

The keys_user.config is blank, at both the application_support and Applications/Sioyek/Contents/MacOS locations.

I just tried to reinstall sioyek, deleting Application support files, cache etc. and noticed that only the non-ARM version works for me (after signing it myself). The arm version says its damaged and doesnt work even if i try signing the app.

I have been able to replicate the issue even after reinstalling.

This error does not happen in the 2.0.0 version installed using homebrew, just checked.

@ahrm
Copy link
Owner

ahrm commented Dec 27, 2024

The damaged thing is a new security feature on Mac. see #1156 (comment).

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

No branches or pull requests

2 participants