Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:set tabnumbers broken (includes workaround) #785

Open
sandwm opened this issue Sep 5, 2017 · 0 comments
Open

:set tabnumbers broken (includes workaround) #785

sandwm opened this issue Sep 5, 2017 · 0 comments

Comments

@sandwm
Copy link
Contributor

sandwm commented Sep 5, 2017

Issue type:
  • Bug report
Version:
Vimperator:	3.16.0 (created: 2017/02/01 00:55:15)
Firefox:	Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Description:

:set tabnumbers does not work. Instead it only creates some black or grey boxes next to the tabs. This happens with the default and the compact theme included in Firefox. Seeing as vimperator won't work in Firefox 57+, I don't really expect a bug fix, but I wanted to share my workaround anyway, in case somebody has the same issue.

Workaround:

In .vimperatorrc:

" show numbers on tabs
" broken
"set tabnumbers

" workaround
" default theme:
style -name fix-tabnumbers-default chrome://browser/content/browser.xul .tabbrowser-tab { counter-increment: tabnumber; } .tab-background-end::after { content: counter(tabnumber); }
styledisable -name=fix-tabnumbers-default
" compact theme:
style -name fix-tabnumbers-compact chrome://browser/content/browser.xul .tabbrowser-tab { counter-increment: tabnumber; } .tab-stack::after { content: counter(tabnumber); position: absolute; top: 0px; color: black; text-shadow: 1px 0 white, 0 1px white; }

Use styledisable to disable the one you don't need. The one for the compact theme is a bit ugly, but the best I could get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant