onemen / TabMixPlus

New Tab mix plus for modern Firefox
Other
292 stars 16 forks source link

BUG: TabBar Autoscrolling to unknown positions with MultiRow after Opening/Closing a tab #301

Open Apocalypse612 opened 6 months ago

Apocalypse612 commented 6 months ago

On the latest Firefox revision. First, thanks for these extensions. AMAZING.

I have an odd issue that I can't seem to fix through the config, as follows:

When opening or closing a tab, the tabbar appears to jump up or down to a seemingly random position. I have the close tab to focus left, so I'm not sure what's going on. I have about 100 tabs open divided into 4 rows. I DO NOT want the tabbar to jump around like when completing either of these actions.

What am I doing wrong here? Is this a bug or a user issue?

THANKS!

Apocalypse612 commented 6 months ago

It appears as though this issue only triggers when interacting with the last tab. It even auto scrolls the tabbar when reopening a closed tab for some unknown reason.

onemen commented 6 months ago

Try new version

Tab mix Plus version 1.20.0 is out.

Verify that all your firefox-scripts are up-to-date https://github.com/onemen/TabMixPlus/files/14075743/fx-folder.zip https://github.com/onemen/TabMixPlus/files/14075742/utils_extensions_and_scripts.zip

Apocalypse612 commented 6 months ago

I am using that and just installed this version today.

Further, I found a workaround/solution, but the original bug still exists. Options --> Mouse --> Mouse Gestures --> Switch to last selected tab when clicking current one.

Having this setting on (off be default) is a workaround to the the above bug.

onemen commented 6 months ago

When you close tab in multi-row, the tab bar scrolls to show the new selected tab

janciorules commented 3 months ago

Hello,

Unfortunately, I have the same problem as author. Today I've installed ver. 1.21.1 with current utils/scripts on Firefox 128.0.3 (official Mozilla linux binaries) on Debian 12. After enabling multi row tab bar (my preferred) I'm unable to make it focus on/scroll to just opened/newest tab (blank or link from other tab). My tabs are opening at the end of the list (properly) but the tabs on bar are scrolled randomly. When I show the tab list, the newly opened tab is highlighted as bold (active), but the tab bar is not scrolled to this opened tab properly. The workaround with mouse gesture didn't help unfortunately. I have about 2000 tabs in my window so it is very painful to scroll the tab list to the last tab. Unfortunately clicking and selecting the tab on the list doesn't scroll to the tab properly either on the bar . I had to turn off the multi row view for now.

I'll be glad for any suggestions. Thanks!

Tab Mix Plus Options_002 Tab Mix Plus Options_001

onemen commented 3 months ago

@janciorules,

can you attach a file with your complete Tab Mix Plus preferences?

janciorules commented 3 months ago

I did export the configuration from the extension menu. Is it enough?

TMPpref.gz

onemen commented 3 months ago

@janciorules,

Read here how to export your preferences (https://onemen.github.io/tabmixplus-docs/help/preferences-button/)

In order to help me solve this issue, please provide the steps needed to reproduce it

janciorules commented 3 months ago

@janciorules,

Read here how to export your preferences (https://onemen.github.io/tabmixplus-docs/help/preferences-button/) In order to help me solve this issue, please provide the steps needed to reproduce it

yes, this is exactly what I did in the previous post, Can you see the attached file?. I exported preferences to the text file called "TMPpref" and then gzipped it. You can decompress it using 7-zip (Windows) or gzip (Linux/Unix). And then open it in any text editor.

onemen commented 3 months ago

I open the file you attached. I was not sure it was the right file, since multirow was off.

In order to help me solve this issue, please provide the steps needed to reproduce it

janciorules commented 3 months ago

I open the file you attached. I was not sure it was the right file, since multirow was off.

Sorry, my fault, I exported after disabling Multi Row. Here's the proper file. With this configuration, when I

tab bar doesn't scroll to the chosen/new tab as expected

TMPpref.txt.gz

onemen commented 3 months ago

@janciorules,

I was not able to reproduce this issue on windows 11 and windows 10, i will try to test it on Linux next week

janciorules commented 3 months ago

Today I tested several scenarios:

so for now it seems that there's a problem with scrolling so many tabs in multi row configuration.

pyrates999 commented 3 months ago

which Linux distro did you test with if I may ask?

janciorules commented 3 months ago

which Linux distro did you test with if I may ask?

Debian 12 Bookworm. But I'm using firefox downloaded from https://www.mozilla.org/en-US/firefox/new/ not the Debian packages

pyrates999 commented 3 months ago

Ok, thanks. I figure it be useful in trying to verify the bug.

onemen commented 3 months ago

Do you see any message in your browser console when scroll failed?