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

[text] keyboardShortcut.js doesn't work #1117

Open
909oce opened this issue Oct 7, 2024 · 2 comments
Open

[text] keyboardShortcut.js doesn't work #1117

909oce opened this issue Oct 7, 2024 · 2 comments

Comments

@909oce
Copy link

909oce commented Oct 7, 2024

Describe the bug
Vim bindings extension is very buggy with the text theme. For some reason I cannot activate the f menu until I have pressed on the search bar atleast once, and even then sometimes it stops working again.

To Reproduce
Steps to reproduce the behavior:

  1. Use text theme
  2. Open spotify
  3. Try pressing any support vim key

Expected behavior
Vim bindings to work with text theme.

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

Logs

index.html:1 document.domain mutation is ignored because the surrounding agent cluster is origin-keyed.
(anonymous) @ index.html:1
CircularSp-Book.woff2:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
CircularSp-Bold.woff2:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
CircularSpTitle-Bold.woff2:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
CircularSpTitle-Black.woff2:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
4151.css:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
spicetifyWrapper.js:453 [spicetifyWrapper] Waiting for required webpack modules to load
favicon.ico:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
TerminessNerdFontMono-Regular.ttf:1 
        
        
       Failed to load resource: net::ERR_NAME_NOT_RESOLVED
spicetifyWrapper.js:474 [spicetifyWrapper] All required webpack modules loaded
gae2-spclient.spotify.com/remote-config-resolver/v3/configuration:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()
vendor~xpui.js:1 provider:transport resolve error e Object
g @ vendor~xpui.js:1
index.html:1 Uncaught (in promise) e
8The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSpTitle-Bold.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSpTitle-Black.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSp-Bold.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSp-Book.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSpTitle-Bold.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSpTitle-Black.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSp-Bold.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource https://xpui.app.spotify.com/fonts/CircularSp-Book.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Specifics (please complete the following information):

  • OS: Arch Linux (btw) 6.11.2-arch1-1
  • Spotify version: Latest (spotify-launcher AUR)
  • Spicetify version: 2.38.4
  • Theme name: text
@909oce
Copy link
Author

909oce commented Oct 7, 2024

It seems the app requires you to interact with atleast one element via mouse before it will allow keyboard input.

My current workaround to get to the search bar initially is to hit ctrl + f and type "What do..", then from there I can ESC out of the search menu and use f menu. However, would be awesome if a fix could be found so that I don't need to do that everytime.

@darkthemer
Copy link
Contributor

I can't seem to replicate the issue, using Windows & latest Spotify+Spicetify. I let Spotify launch without clicking anything and the F shortcut works as intended.

Also, the theme does not have custom JS so I don't see how it would be able to affect the extension's functionality, especially relating to keystrokes.

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