• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Archived

This topic is now archived and is closed to further replies.

  • 0

[Ext] Glasser 1.0 (Alpha)

Question

6XGate    0

Windows Aero Glass for Firefox

Latest Version: 3.5.2

Firefox Versions Supported by Latest: 3.5.5 to 3.6.*

GlassFirefox.png

Get the latest news on Glasser from Sleeping Cats

The Glasser extension provides a major visual upgrade to Mozilla Firefox when running on Microsoft Windows Vista and Windows 7 by instructing Windows to make the toolbars in Firefox rendered over Windows Aero Glass. Read this entire article before install this extension.

System Requirements

Microsoft Windows Vista or Windows 7

A DirectX 9 compatible graphics processor with a WDDM driver that support Pixel Shader 2.0 and has at least 128MiB of Video RAM (as required for Windows Aero)

Your active visual style must be Window Aero.

Mozilla Firefox 3.5.5 or later. Known to work for the current 3.6 beta.

Known Issues

Because of several bugs in the Cairo graphics library, which is used in Mozilla Firefox; some font colors may now mix well over certain backgrounds when used over or near Aero rendered portions of the UI. This problem only manifests it self when using third-party themes or user-applied styles. There is also a known bug with the calculating of rendered text sizes that can cause Cairo to cut off the a small portion of the last character in some text. These are known issues with Mozilla Firefox and Cairo and both parties are working to resolve them. Usually these bugs do not cause any text to become unreadable but may produce undesired results.

Install

Get the latest version from AddOns.Mozilla.Org. With some releases, the latest version may be in a sandbox, but can be installed without problem.

Options

BarsScreenshot.jpg

Glasser can look really great with a few extra tools and finger work. If you would like your Mozilla Firefox install to look like any one of those pictured above, simply install the Stylish Add-on and check out the Glasser Extras forum on SleepingCats.org. Also, if you wish to hide the menu bar, download the Personal Menu Add-on or the Hide Menubar Add-on. Both support using the Alt key to temperately show the menu-bar and Personal Menu lets you keep a button on the toolbar to gain access to the menus.

Source Code

Glasser's native components and the extension itself is released under a 2-clause FreeBSD style license. The source code be checked out or view via anonymous SVN over HTTP. Check out the DwmXPCOM Repository for the Glasser XPCOM source and the GeckoSDK needed to compile it. Check out the Glasser Repository for the extension as it is packaged for Mozilla Firefox. You may use Firefox or your favorite SVN client to check out the source code.

Final Note, and Special Thanks

I hope you folks enjoy this extension. If anyone has any suggestions or finds any bugs, feel free to post them here or at the Glasser Forum at SleepingCats.org.

I used a similar method go get the native window handle as used in MinimizeToTray, but coded in C++.

Special thanks goes to Carl Booth for the Aqua personal bar.

Special thanks goes to Relativity_17 for the heads up on the native theme element for Windows Mail/Calendar look.

Special thanks goes to ptmb for for the heads up on the native theme element for Windows Media Player look.

License

Copyright 2008-2009 Matthew Holder. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
   2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Share this post


Link to post
Share on other sites

Recommended Posts

lordtinuviel    0

How can I replace the bookmark menu icon

post-45419-1209093100.png

with this one:

post-45419-1209093148.png

Share this post


Link to post
Share on other sites
Lee G.    234
Nice! I was realy hoping for somebody to do this lol.

One problem though... The "File Edit" and so on... Toolbar is a gray line lol... Perfect other than that.

P.S. How do I remove that toolbar lol, it's not there in the screenshot...

http://addons.mozilla.org/en-US/firefox/addon/4762

Share this post


Link to post
Share on other sites
darkredbbb    0

This is great, good job! :D

post-250287-1208866971_thumb.png

One question though, on Vista Basic, the background of the Navigation Toolbar is black, can that be changed somehow, maybe put an image as a background too, and could there be a certain background for the active Firefox window and another one for the inactive Firefox window?

Thanks :)

Share this post


Link to post
Share on other sites
zerologic    0
new issue... see below:

post-87206-1209137708.jpg

this happens with the latest nightly on an encrypted and digitally signed website.

I got that happening too. So I can replicate.

But this addon is so amazingly great. (Y)

Share this post


Link to post
Share on other sites
NienorGT    18

Let me check that, I'm not the best though.

Edit: lol, I still too n00b in making Stylish styles...

I made the button to change to the correct picture, but now, it disappear on mouse hover... :pinch:

Share this post


Link to post
Share on other sites
zhangm    1,287

Great that this finally got made. I get this though:

@sixxgate.com/DwmCalls/CDwmCalls;1

Some sort of error. Running on Vista x64 and Firefoxx64.

Share this post


Link to post
Share on other sites
Konstanov    58

Now just do it for Opera.

Share this post


Link to post
Share on other sites
zhangm    1,287
Whatever

Edit: I'm not really that bothered. I have better things to do than argue on the Internet.

Just a thank-you would have been nice, you know?

Firefox can draw those toolbars without any extra images:

-moz-appearance: communications-toolbox !important;

Share this post


Link to post
Share on other sites
Carl Booth    0
6XGate, you are my hero! This is simply amazing! I have been waiting for this for so long, I am so glad you did it... Have been running for one day with no problems whatsoever, using this with Carl Booth's black theme, along the Safari-like loading bar ("Fission" extension but with a Vista theme) . I am NOT touching Internet Explorer EVER AGAIN!

Looks very nice.

Share this post


Link to post
Share on other sites
9UnknownMen    13

Signed up so that I could Thank You!! This is what I've been waiting for through all those Beta's and its no surprise the community answers the call before Mozilla.

Thanks again!

Share this post


Link to post
Share on other sites
Julius Caro    55

could the problem be that the .lib files in the gecko-sdk are 32-bit instead of 64-bit?

it's either that or I'm totally clueless

Share this post


Link to post
Share on other sites
DarthBlingBling    0

You mentioned in the OP that this works with a handful of themes. Any chance you could state what themes you have got this working with?

Share this post


Link to post
Share on other sites
Harrison H.    70
Great that this finally got made. I get this though:

@sixxgate.com/DwmCalls/CDwmCalls;1

Some sort of error. Running on Vista x64 and Firefoxx64.

Make sure you install visual c++ redistributable 2008 like the original post said to.

Share this post


Link to post
Share on other sites
Ronin Achilles    0
Is there a reason why the Menu Bar is differently styled? i.e. why can't the menu bar also be glassed; coz if that is done, we will no need to use any other extension to hide it.

Got this by playing around a bit. Here's my code:

#toolbar-menubar

{

background: none !important;

}

#toolbar-menubar .menubar-text

{

color: white !important;

}

Share this post


Link to post
Share on other sites
6XGate    0

New release version 1.0.10

This version for enables and disables the Glasser styleSheet when the compositor is enabled or disabled on the OS. This will fix the black navigation and menu bar.

Any plans on making this compatible with the x64 version? Here's a link to more x64 builds:

http://www.vector64.com/WindowsBuilds.html

As for 64-bit support:

I am now using a technique in the C++ code that currently only works on 32-bit Windows programs. I plan to add 64-bit version of that code, but I am afraid that Visual Studio Express Edition won't compile 64-bit code. If anyone out there is has Visual Studio 2008, then they may be able to help with compiling and testing a 64-bit build.

Share this post


Link to post
Share on other sites
ViperAFK    796
I've noticed a bug in either Firefox 3.0b5 or the Glasser extension:

When you drag a tab to another position on the tab bar, the text and favicon in the title of that tab will disappear... :(

Can somebody please tell me if this is a bug in the Glasser extension? Or a bug in Beta 5 of Firefox 3?

Thank you :)

I am running ff beta 5 and the latest glasser and that definitely does not happen.

Share this post


Link to post
Share on other sites
6XGate    0
well ive tried it with beta 5. didnt work at first but after a restart of the browser i managed to get the line on the bookmarks toolbar to dissapear. still having problems with the personal menu icon. could someone maybe post a modified version? i cant see where im going wrong and why it wont display properly. thanks.

I'm not sure why anyone is having any problems with Personal Menus. The version that I am using, 3.0.9, doesn't exhibit any of the problems you or the other guy was having. What other extensions are you running and what version of Personal Menu are you using?

Share this post


Link to post
Share on other sites
neastea18    0

Thanks for this great Add-on

Finally Firefox has the Aero Style !

However, I don't know if it's me but since I am using this add-ons, some texts are cut like in this screenshot

Can someone confirm?

remarqueov6.th.jpg

Share this post


Link to post
Share on other sites
adsadsads    0
As for 64-bit support:

I am now using a technique in the C++ code that currently only works on 32-bit Windows programs. I plan to add 64-bit version of that code, but I am afraid that Visual Studio Express Edition won't compile 64-bit code. If anyone out there is has Visual Studio 2008, then they may be able to help with compiling and testing a 64-bit build.

I think I may be able to help :) I'm a narcissistic C++ programmer who is especially careful when it comes to x64 support (I also have experience with DWM APIs). If you're not going to be committing any changes to the source code I can begin porting it to x64.

Share this post


Link to post
Share on other sites
vajlent    2

Anyone ???

Cant make it work... :(

Share this post


Link to post
Share on other sites
andy_rose    10
Great that this finally got made. I get this though:

@sixxgate.com/DwmCalls/CDwmCalls;1

Some sort of error. Running on Vista x64 and Firefoxx64.

I get the same thing here eventhough I have installed the c++ files. Since I am on Vista 64 bit I tried both the x86 and the x64 package. Still no go:(

Share this post


Link to post
Share on other sites
Kudo    14

Thanks for the update :-)

But I notice lately that the "e" in File and the "p" everywhere is cut off (the search box, address bar and bookmark toolbar) Is there a way to fix this?

Share this post


Link to post
Share on other sites
NienorGT    18

I never seen that bug... ?

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.