uc.css.js icon indicating copy to clipboard operation
uc.css.js copied to clipboard

[BUG] Private tabs button disappears inside the tab bar when the tab bar is full.

Open kaos-55 opened this issue 1 year ago • 1 comments

Link to the file containing the bug https://github.com/aminomancer/uc.css.js/blob/master/JS/privateTabs.uc.js

Describe the bug When the private tab button is placed in front of the new tab button in the tab bar, it disappears as soon as the tab bar is full. To access the private tabs button, scroll to the last tab.

To Reproduce Steps to reproduce the behavior:

  1. Install de private tab script.
  2. Move the private tab script in front of the new tab button in the tab bar.
  3. Open many tabs until the tab overflow arrows appear.
  4. The private tabs button disappears and is located at the end of the last tab.

Expected behavior The private tabs button should remain in place when the tab overflow arrows appear

Screenshots

https://github.com/aminomancer/uc.css.js/assets/86812371/b9086bea-3231-416a-9d47-bb876dedadc9

Desktop (please complete the following information):

  • OS: Windows 10 22H1
  • Firefox update channel: Nightly
  • Version: 128.0a1

Additional context This problem does not occur if you place any other button in the same place, for example the new private window button.

kaos-55 avatar May 22 '24 13:05 kaos-55

Again bothering you @aminomancer but I would like to add something I discovered. After testing the script for a while I noticed that one of the script's features does not work properly, the script has a function to keep the history but there are times when it does not work. I moved the private tab button to the toolbar and apparently that function remains intact, however when firefox is restarted the private tab button returns to its original place (in front of the new tab button), apparently the script forces to keep it in that position. I want to believe that if the main problem is solved the script will work as usual, it happened before when the script did not work because of a problem with the private tab indicator.

kaos-55 avatar Jun 21 '24 16:06 kaos-55