Giter Site home page Giter Site logo

tst-wheel_and_double's Introduction

Please download this webextension from Mozilla

I created this webextension with no prior knowledge of the webextensions API or javascript out of sheer necessity. The features were going away with Firefox 57 and I wanted them back, so I did what I had to. The code inside is bound to be bad and lame and also bad. If you want to fork this and make your own webextension, please do. If you want to submit changes back to me, please do.

tst-wheel_and_double's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tst-wheel_and_double's Issues

Enable Double Click to pin tab

Hi!
It's been a while since last update, but I want to ask for one more feature (if possible): Double Click to pin tab.
Pinning tabs is frequently used, but not easily accessed. This will make browsing the web more comfortable.

Don't scroll above/below current depth

Thanks for this addon! A quick feature suggestion: It would be useful to have a feature optionally restricting the wheel selection to tabs at the current depth only. This would be handy for those who arrange tabs into categories and want to be able to quickly move between pages within a given category, but not outside it.

FF 59.0.1 64B - Wheel - Don't work on firefox opening

Hello
I have a litte problem with this adds : since few version of firefox (now 59.0.1 64b), it don't works when firefox is open.
I need to desactivated and re-activated the add to use it after.
I use only the mouse wheel option (no test with double click).

Thansk for the help.
And thanks for this great adds !!

Mouse wheel scrolling stops working after spamming mouse wheel click to close tabs

Sometimes, when I need to close a lot of tabs, I simply put the cursor over them and click with the mouse wheel over and over (i.e. press the mouse wheel instead of scrolling with it) until all of them are closed.

I have found that when I do this quickly to close a lot of tabs, then the mouse wheel scroll feature of this extension stops working (i.e. I can no longer scroll with the mouse wheel over the tab list). This doesn't happen if I do this slowly, e.g. by leaving a second between each mouse wheel click.

My guess is that this happens because by clicking fast I may be kind of "double closing" a tab which may cause this problem. Once this happens, this can be fixed by disabling and reenabling the extension. I can reproduce the problem almost 100% of the time with just a few tabs and a few quick mouse wheel clicks. My system is just an average laptop so that may also help.

I could replicate this problem both on an updated Arch Linux install with the latest release Firefox version and also on a clean Alpine Linux install with the latest Firefox ESR. All extensions to the latest release version as of today.

I hope reproducing should be easy enough but here's a video if it helps:
video.ogv.zip

Skip first scroll event to prevent accidental scrolling

Thanks for the addon, I'm using it for many years!

Maybe I'm clumsy or my mouse is getting old, but I noticed that sometimes, when I want to close a tab by middle clicking it, I accidentally rotate the wheel first. Then the tabs get scrolled and I miss the tab I intended to close.

Proposal: Skip the mouse wheel's first scrolling event and trigger the tab bar scrolling starting with the second event. This way, the single scroll event which bugs me (and possibly other users?) will be discarded. Usually, when intending to scroll the tab bar, you rotate the mouse wheel as much as possible anyway, so the missed first event won't be an issue, but one could make this an optional feature, of course.

Not working in private window?

I have enabled both main Tree Style Tab extension and also enabled this one to allow it in private mode, the main one seems to work fine but scrolling is not working in private mode, what could be the issue?

Stops functioning after every other firefox restart

I installed this today and it works perfectly after installation. Scrolling is smooth and haven't had any issues or problems pop up while i'm using it.

After closing and reopening Firefox Nightly though it stops working and I have to disable and then re-enable the addon through the addons page in order for it to start working again. Do you have any advice for this solution, or is there some way I can help you with fixing this?

Thanks for creating this btw, I really missed being able to scroll my vertical tabs in Nightly.

Allow to scroll the window tab

Hi, awesome to find this feature back, thanks for this addon².

I would like something that has not been in pre57 tree style tab: if I scroll, I want to move to previous/next tab, like your addon works today. But if scroll, pressing Shift or Ctrl (or something else, configurable), I want to move around in the tab window, in the case I have more tabs than it can fit in the window.

"Disable scrolling to change tabs" option ignored after firefox restart

In my Firefox 59.0.1 (64-bit) I'm having issues with the "Disable scrolling to change tabs" option.
When i tick the checkbox, it works as intended. When i restart Firefox however, it remains ticked, but loses it's functionality (I start scrolling from tab to tab).
Unchecking and checking it again solves this for me, until the next restart.

Doesn't load on startup sometimes

Sorry for the vague issue, but I'm not really sure how to debug firefox extensions.

The extension works fine on another computer, so my guess is that it's because I keep 2 windows around (work and non-work) on this laptop. Toggling the extension off and back on fixes it.

Option to skip discarded tabs?

Thanks you very much for the extension as it stands! I use Auto Tab Discard to automatically hibernate tabs I haven't used for a while. My request would be for an option to skip these discarded tabs on scrolling between tabs so that their pages don't start loading up and slowing my computer down. More on tabs.discard here.

addon settings getting ignored

I like the possibility to use the wheel again but i would like to use the skip cyclingoption. But if i enable it id doesnt change. Also after firefox restart. Do i need to set something in tst as well? Also every other option seems to have no effect if i check t. Only tested with Ubuntu Live usb 18.10 though.

scroll tabs stops working

as the title says scroll tabs stops working,
I do not know why and have not found what may be causing it.
At first I thought it may be a conflict with CCleaner which cleans the browser between every session but a simple close and restart doesn't make it stop working.
I have found a work around by openings Add-ons then TST Mouse wheel and double click" 1.1.0 > options setting appear as I had set them however if I check the "Disable scrolling to change tabs" box then click save then uncheck it and click save again Scrolling tabs becomes functional again.
This happens intermittently but daily could be just restarting the system which I will try after this post and report back but non the less annoying.
Anything you can do to help?

Scroll Enabled resets to default disabled every restart

Everytime I open the browser I have to reenable scroll tab function by checking the disable box then save then unchecking and save again to get scroll to work. It's been this way for months and I should have reported it sooner but I'd really like to see this resolved. Can you help? If there is anything I can do t help let me know.

Bug with newly pinned tabs

Not sure if this is the cause or TST, but it doesn't happen with Ctrl+Tab or Ctrl+Shift+Tab, only with scroll.
This gif explains it better than I can, basically it goes to the pinned tab as if it was unpinned and still at the old position.
video_2017-12-14_230452

Need function to skip TST's dummy(group) tabs.

dummy tab(group-tab.html) which named by TST's author is no meaning tab just for grouping some tabs.
The format of the resource is like this issue piroor/treestyletab#1494

moz-extension:// xxxxxxxxxxxxxx/resources/group-tab.html

You can open a bookmarks folder with middle-click to create this tab,
or type about:treestyletab-group?New%20Group in address bar

more info to describe dummy tab from tst's issues piroor/treestyletab#1353 (comment)

in old version, dummy tab's body can list child tab info, screenshot sees piroor/treestyletab#1282.

But now dummy tab 's body has nothing.

So when I use mousewheel change tabs,I don't want through dummy tab.

Can you implement this funcation?Thanks.

Add option to disable mouse wheel scrolling

I'm really glad I found this addon, since I migrated to Firefox 57 and the new TST.

However I mainly just need the double click to reload feature, as I already have mouse keys to switch tabs. Also scrolling to switch tabs overrides the ability to actually scroll the tab side bar when there is enough tabs to show a scroll bar.

Would it be possible to add a simple check box in the options to toggle mouse wheel scrolling?

TST Wheel 'skipping' with fast scrolling

@joshuacant, thank you for creating this add-on, this is one feature I can't live without anymore when using TST, however I did find one unusual issue with it.

I've found that scrolling seems to be 'rate limited' in a certain way, as scrolling too quickly or using something like the free scrolling mode on my Logitech mouse will cause it to not switch between tabs at the same rate as the actual scroll events coming from the mouse. I do not believe the issue is related to Firefox or TST itself as I can use the following AHK script to reproduce similar functionality and it will scroll through the tabs at the proper rate:

#MaxHotkeysPerInterval 200
DoWeNeedToFireMouseWheel()
{
MouseGetPos, x1, y1, hw1
if (y1 >= 60 && x1 < 280 && WinActive("ahk_class MozillaWindowClass"))
return 1
}
#If, DoWeNeedToFireMouseWheel()
WheelUp::
Send ^+{Tab}
return
WheelDown::
Send ^{Tab}
return
#If

It's more of an annoyance than anything as it means that you need to force yourself to scroll slower than usual if you need to move through a large number of tabs.

The AHK script does have some downsides (hardcoded scrolling area, does not work if FF window is inactive), so hopefully this is an easy fix, otherwise I can just live with it. :)

Either way, thank you for this add-on and your hard work!

[Feature Request] Scroll through tabs even when mouse is hovering active-site section of browser

Hi,

Your addon is incredible and has become an important productivity tool in my arsenal, although, from a personal perspective, it could improve 20 fold with the ability to scroll tabs whilst on the active-site section of your browser.

Now, this may some ridiculous to some but I rarely actually scroll with my mouse wheel for sites, it's either automated through ScrollAnywhere and I use the mouse drag option or I may just PgDown/Up or Arrow Down/Up.

If this would at all be a possibility Joshua, it would be greatly appreciated, as users would not have to hover TST or their Tab bar & would be able to forcefully override scrolling whilst using your addon, is this at all possible?

Thanks for your consideration mate.

Occasionally stops working after Firefox launch or update.

For a few days now, scrolling just stops working suddenly. I am on 58.0b10 64bit right now.
Sometimes it stops after having browser open few hours/days. Sometimes scroll isnt working right after opening new firefox. In most cases its working.
I wasnt able to reproduce the problem reliably.
I tried updating the firefox version and tried to change to addon version from firefox website. Didnt help.

Working with FF version PRIOR to Firefox 57 ?

Hello, this is not really an error it's more of an enquiry.
I have Treestyle Tab installed on FFv56 andd I've just discovered your add-ons to TreestyleTab.
Now, my understanding was that Tree Style Tab, being uncompatible with FF from v57 on would not then work, so I've frozen at v56.
Now, when I found your 3 add-ons to TreeStyleTab on the FF Add-ons search page they are marked in RED and aren't downloadable with a click (don't worry I've figured out how to get them). It also says you need to install v57 for them to work !!!!!
My question is - why is TreestyleTab, and your extensions, working on v57 and after ?
and - do you really need to install FF 57 or after for your extensions to work or is it just a ruse by FF to get people to update (and then suddenly the add-ons won't work) ?
Thanks

Shift-scroll for scrolling the tab sidebar doesn't stop on shift release

First: Many thanks for the effort to restore old functionality I couldn't imagine living without after FF 57!

I've found the following issue which I've been able to reproduce reliably. First off, my options:

image

Reproduce like this:

  1. Expand enough tabs so that the tab sidebar shows a scrollbar. Given the options, scrolling should (and does) switch tabs instead of scrolling the sidebar.
  2. Shift-scroll should (and does) scroll the sidebar.
  3. After scrolling the sidebar like this, the sidebar-scrolling behavior stays enabled even after releasing the shift key.

The only fix seems to be to "Save options" in the addon settings, perhaps trigerring some re-registration. I have a burning suspicion this could be related to the problems in issue #6 where an auto-update can be ruled out as the cause (since for users who don't require shift to sidebar-scroll, the behaviour would change as soon as the tree gets large enough and apparently doesn't switch back to tab switching on its own)

Change default scolling behaviour

More a suggestion than a trouble.
Is tere possibility to switch Tab-Scrolling vis Shift-Tascolling so that the default is scrolling to change tabe, and together with Shift it will be Tab-Windows scrolling?

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.