Created
February 16, 2011 03:17
-
-
Save wlt/828794 to your computer and use it in GitHub Desktop.
fix: "set toolbars=menu" behavior didn't conform with Firefox decide what to do.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
・バグの再現方法 | |
1. :set toolbars=menu | |
2. メニューバーを右クリックして、「メニューバー」のチェックを外し、メニューバーを非表示にする。 | |
3. :set toolbars=で補完されるmenuの状態が、まだメニューバーが表示されているかのような状態。 | |
・バグの原因 | |
Vimperatorはメニューバー(ツールバー)の表示の状態を属性collapsedでのみ判定しているが、window.setToolbarVisibity()は属性typeが"menubar"の時だけcollapsedではなくautohideをいじるから。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment