RobertZenz / ThinTabs

A Firefox addon that provides extremely thin tabs, optimized for the squared tabs of Classic Theme Restorer.
Mozilla Public License 2.0
0 stars 0 forks source link

When hiding the tabbar via the option, the tab system stops working. #5

Closed RobertZenz closed 8 years ago

RobertZenz commented 8 years ago

If the option "Hide tabbar" is checked, the tabbar is completely hidden via CSS (display: none;). If that is done, the commands regarding tabs stop working and the complete tab system chickens out and is broken.

  1. Check "Hide tabbar"
  2. Press Ctrl+T to create a new tab
  3. Tab system is broken

In this state you can't switch tabs, you can't focus a tab anymore and the keyboard shortcuts are broken and do something.

This might actually be a bug in Firefox, as it happens in a clean new profile, too.

RobertZenz commented 8 years ago

I can reproduce this in a clean profile with the following chrome/userChrome.css file:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#TabsToolbar {
    display: none !important;
}
RobertZenz commented 8 years ago

As I can't explain this with a problem in the addon, I've logged this issue as #1220366 at Mozilla.

RobertZenz commented 8 years ago

The bug at Mozilla was closed as WONTFIX because of technical reasons, the workaround as sugessted

#TabsToolbar {
  visibility: collapse !important;
}

seems to work fine, needs to be replaced in the code.