Git Product home page Git Product logo

Comments (6)

kewisch avatar kewisch commented on July 18, 2024 1

Indeed, good catch, thank you for debugging! The code is still a bit fragile, but I'm taking the easy path today. Took care in a8bafcd

from quickmove-extension.

kewisch avatar kewisch commented on July 18, 2024

Huh, I was experiencing this while testing and thought I fixed it. Will take another look.

from quickmove-extension.

kewisch avatar kewisch commented on July 18, 2024

Can you double check you have 2.7.0? For that version the order or the tabs is move,copy,goto,tag: https://github.com/kewisch/quickmove-extension/blob/v2.7.0/src/popup/popup.html#L25

from quickmove-extension.

doegox avatar doegox commented on July 18, 2024

image
🤷‍♂️

from quickmove-extension.

doegox avatar doegox commented on July 18, 2024

Hmm wait, there is a different behavior depending on how the popup is raised:

  • if I click on the Quick Move button then use arrows, it behaves as expected
  • If I use ctrl-shift-N, then use arrows, then it's buggy

from quickmove-extension.

doegox avatar doegox commented on July 18, 2024

The bug disappears when I do

diff --git a/src/background.js b/src/background.js
index 6d35860..e20efd4 100644
--- a/src/background.js
+++ b/src/background.js
@@ -129,7 +129,7 @@ browser.runtime.onInstalled.addListener(({ reason, previousVersion }) => {
 
 browser.commands.onCommand.addListener(async (name) => {
   let popupOrder = [browser.messageDisplayAction, browser.browserAction];
-  let popupUrl =`/popup/popup.html?action=${name}&allowed=move,copy,tag,goto`;
+  let popupUrl =`/popup/popup.html?action=${name}&allowed=move,copy,goto,tag`;
   if (name == "goto") {
     popupOrder = popupOrder.reverse();
   }

Note that there is also a "move,copy,tag,goto" in src/popup/popup.js L51 but I didn't have to change it.

from quickmove-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.