Archives

Archive for July, 2010

Jul 27th

Firefox 4 and minimum / maximum tab width

2010
13 comments | 11952 views

Want smaller tabs?

While playing around with Firefox 4 testing builds, I found myself being unable to set a minimum tab width in the way it was working with FF 2 or 3 where you could set the config variables:

  • browser.tabs.tabMinWidth for the minimum width of tabs before adding the scrolling ability
  • browser.tabs.tabMaxWidth for the maximum allowed width for a single tab.

In current "Minefield" builds of Firefox 4, these configuration variables simply do not work any longer and that's something I found disturbing, because the default (and now apparently hardcoded) limit for the minimum width of 140 pixels is way to high when working with lots of tabs.

Solution:

The values can be overridden in userChrome.css with the following code:

.tabbrowser-tab:not([pinned]) {
  max-width: 250px !important;
  min-width: 40px !important;
}

See this issue for reasons why the config variables do no longer work. They were recently removed from the code and possible solutions require userChrome.css editing.

Update:

While the information above is still valid for Firefox 4, there is an issue that affects tab animation. For some reason, animated tabs will produce glitches when you change the default tab width via userChrome.css (like I have outlined it in the article above).

So far, the only way to fix this was to disable tab animations in Firefox 4 by setting the browser.tabs.animate configuration variable to false. However, many people like the animations and would probably love to keep them while still being able to reduce the minimum tab width.

As described in this bugzilla report and submitted in the comments section of this article, there is a solution for the animation issue:

.tabbrowser-tab:not([fadein]) {
   max-width: 1px !important; min-width: 1px !important;
   max-width: 1px; min-width: 1px;
 }

Add the code above to your userChrome.css and you should be able to use tab animations together with the modification for the default minimum and maximum tab width.

Credits:

Tip for fixing the tab animation issues submitted by anonymous comment author.

1 Like Like

Jul 26th

Firefox 4 and Direct2D on Windows 7

2010
No comments | 4406 views

Firefox 4 and Direct2D on Windows 7

This is now outdated information. Firefox 4 has gone final and hardware acceleration is enabled by default if the hardware can support it. There is also a user-visible option in the preferences screen - tweaking via about:config variables is no longer necessary and not recommended.

Right now, I'm testing the 3rd beta of Firefox 4 and so far, I like what I'm seeing. I turned away from Firefox when it started to become more and more bloated - a development that culminated in version 3.5 and that made me switch to Google Chrome because of its more modern and sleeker design.

Now, after a while, I wanted to see what the next major Firefox version will bring and I'm pretty impressed. First of all, the UI is much improved, although it doesn't seem that FF will bring new innovations, it merely copies a few things from other browsers, especially Chrome and that was to be expected, because Chrome did introduce some new and fresh things to the browser world.

However, there is one feature that sets Firefox apart and will probably make it rival the next generation Internet Explorer when it comes to rendering performance. As we all know, IE9 will use Direct2D to dramatically improve rendering speed on image heavy pages and whoever has tried the tech preview would probably agree on that it can, in fact, make a major difference. This is the next major performance boost for browsers, after the ongoing fight for the fastest JavaScript implementation.

Read more...

1 Like Like

Jul 10th

TabSRMM 3.0.0.40 alpha released

2010
No comments | 2854 views

I've put up new builds for the most recent code changes. It fixes a few outstanding issues with task bar thumbnails and aero peek previews - they are now ALMOST complete (for group chats, a few things are still missing, so don't report them, I know it's not yet as it should be).

Noteworthy changes in this build

  • The custom warning dialogs.
  • Improvements for the Aero Peek features.
  • Some bug fixes
  • Icon pack version number updated. You will receive a warning when using an old and possibly incompatible icon pack. New icon packs are included in the downloads.

Also, support for ANSI build was dropped. There won't be any ANSI builds for TabSRMM 3 - all ANSI specific code was removed and the build targets deleted from all project files.

Download from my googlecode site.

Like