Giter Site home page Giter Site logo

Comments (8)

irvinm avatar irvinm commented on August 24, 2024 1

https://addons.mozilla.org/en-US/firefox/addon/move-unloaded-tabs-for-tst/

from treestyletab.

Tragen avatar Tragen commented on August 24, 2024

This addon doesn't work properly.
I've moved a tree from one window to the other. Perfect.
But moving it back loaded all tabs like without the addon.

from treestyletab.

piroor avatar piroor commented on August 24, 2024

After detailed investigation I've realized that browser.tabs.move() unexpectedly restores moved discarded tabs on certain cases. I've introduced a change to avoid such unexpected restoration: 720666d

from treestyletab.

Tragen avatar Tragen commented on August 24, 2024

Wow, thank you! 👍😁😊

from treestyletab.

Tragen avatar Tragen commented on August 24, 2024

One question, does this fix mean I don't need https://addons.mozilla.org/en-US/firefox/addon/move-unloaded-tabs-for-tst/ anymore or is this addon still needed?

from treestyletab.

piroor avatar piroor commented on August 24, 2024

You still need the addon https://addons.mozilla.org/en-US/firefox/addon/move-unloaded-tabs-for-tst/ if you don't want an unloaded tab become loaded when you start dragging on it. My fix just affects only for tabs moved across windows.

  • When you press down your mouse button on an unloaded tab, TST activates it and the tab become loaded, before you release the button.
    • This causes unexpected loading of a pending tab even if you just move the tab by drag and drop.
      • https://addons.mozilla.org/en-US/firefox/addon/move-unloaded-tabs-for-tst/ blocks loading of this situation.
      • The reason why I don't apply this behavior by default is: this "fix" affects to cases you just want to activate a clicked tab also. In other words, if I introduce this fix as a built-in, you'll see delayed response for tab activation actions: "the clicked tab is activated before you release the mouse button" will become "the clicked tab is activated after you release the mouse button".
  • When you select multiple tabs (by Ctrl-click or Shift-click) and drag-and-drop them to outside of the source window, TST opens a new window and move all dragged tabs to the new window, and it also loaded those tabs unexpectedly in old versions.
    • My fix affects to this case. TST 4.0.16 and later won't load dragged tabs except the active tab, on this case.

from treestyletab.

Tragen avatar Tragen commented on August 24, 2024

So I don't need this addon if I don't care about the tree "root" I want to drag and drop to become active.
As long as the rest of the tree is still unloaded, that's okay for me. I have trees with 30 to 80 tabs and one less addon is okay for me if only one tab gets loaded.
Thanks for TST and your fixes.

from treestyletab.

github-actions avatar github-actions commented on August 24, 2024

This issue has been closed due to no response within 14 days after labeled as "fixed", 7 days after last reopened, and 7 days after last commented.

from treestyletab.

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.