Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: Hotkey persists even after removing it #1240

Open Oneechan69 opened 1 week ago

Oneechan69 commented 1 week ago

Pre-Submission Checklist

Reproduction Steps

  1. Go to Settings > Keyboard Shortcuts
  2. Change "Show synced tabs sidebar" to CMD + OPT + Left arrow key
  3. Unfocus the box for the shortcut, then press CMD OPT Left
  4. Go back to the setting and press delete (on Mac keyboard, next to + key)
  5. Press CMD OPT Left again and see the synced tabs sidebar appear again

This happens even after I clear the hotkey and restart floorp. A workaround I found is to install Daylight, run the Floorp profile on it (after closing regular Floorp), remove the hotkey on it, close it, and relaunch regular Floorp with said profile.

Expected Behavior

Removing the hotkey is supposed to make it not trigger again

Browser Version

11.14.1 - Regular Floorp

Operating System

macOS 14

surapunoyousei commented 1 week ago

This issue will fix at Floorp 12

YousufSSyed commented 1 week ago

@surapunoyousei I think you really should release a fix once you come up with one, since this really breaks users workflows.

surapunoyousei commented 1 week ago

That is difficult because there is no other way to revert to the old way.

I am committed to Floorp 12 and send PRs to it on a daily basis.

If anyone can fix it, I would like to merge it and release it.

surapunoyousei commented 1 week ago

CSK will be reverted in the next release

nyanrus commented 1 week ago

@Oneechan69 @YousufSSyed author of new CSK here! could you give me the two configs that after you register and after you unregistered? https://github.com/Floorp-Projects/Floorp-core/blob/main/nora%2Fsrc%2Fpreferences%2Fcsk%2Fsetkey.ts#L56-L56 the config key is here, and the config value can found on about:config Thanks!