Folders4Gmail

By Arend Last update Mar 4, 2010 — Installed 163,635 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 132 posts, 75 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Arend Script's Author

Hi cablop,

I'm sorry that Folders4Gmail slows down your computer. Making a bigger update interval looks like a good way to solve that problem. Thanks for sharing your findings. That might help others who have the same problem.

I believe that this is a very rare problem. So I'll not change the main script yet. On my computer Vista Taskmanager shows only 1-2% more CPU usage when Folders4Gmail is active. Of course that could just mean that I'm lucky with my computer or that I don't know a thing about measuring CPU usage..

The setinterval option is set so high to have a quicker response time. You do notice a 1 or 2 second delay when you start Gmail. But as you said, 99% of the time when the refresh function is called, there is no change in the labels and it does nothing.

 
cablop Scriptwright

Folders4Gmail is wonderful except one thing... It's computer resource demanding, in fact processor demanding.

Why? cause setinterval option was set to work every 100 miliseconds. That's trying to update 10 times per second! No user can modify labels and unread emails count that fast!

Can you change it to a more user oriented code? It's just one code line as we explain here: http://web.orcaingenieria.com/softwaretips/2008...

By now, I left a script modified to update label tree each 2 seconds instead 0.1 seconds: http://userscripts.org/scripts/show/36781

 
Randy Harmelink User

Great script.

A suggestion for folders:

-- Highlight the folder names when unread messages are within them (previous version did that?)
-- Allow clicking on the folder name to do the expand/collapse of the folder as well

Although I kind of like the old processing where it opened the folder whenever there was unread mail in any of its groups, I also like being able to collapse a folder with unread mail. Would it be difficult to open a folder when NEW unread mail comes into the folder, but leave it closed if it had been manually closed and no new mail has come into it?

 
George⁶ User

i have one problem with this script.

when i open a label, any emails in one of its sub labels dont show up, yet the unread count for sub labels are added to parent labels.

otherwise its great!

 
CloudKicker Scriptwright

Yeah, I recognize that the IMAP feature is lost with the LabelLinks4Gmail set up. There is no way, or at least I couldn't figure one, to have labels subscribe to multiple labels by using an inline hierarchy format.

Which is cool, because if that's important to users, then they can use Folders4Gmail. For me, I just use the web-mail app, and store all digital information in it. LabelLinks just gives me better accessibility to my cloud. My true goal is to push GMail to implement this intrinsically, while having it not break any of it's existing standards. I really don't think they like the idea of folders, but label grouping may get there attention and satisfy those who hunger for folders.

Many props to Folders4Gmail, it rocks.

 
Robert Andrews User

Kevin - that's true - but Folders4Gmail still needs to eliminate all parents preceding the final slash from all displays on the Gmail side. It's very disruptive to the UI to see something like "Family/Mom & Dad/Dad/Sports/Soccer/" as a label in an email list (and actually hides most of the subject line), when you should clearly only see "Soccer". The left-hand nesting is cool - but, c'mon, we need this.

 
Kevish User

@Tertioptus: I will grant you that the other extension is cool (although it is very uncool to post it here) ... if all you do is web-based gmail.

On the other hand, the use of "/" by this script renders the label structure such that it can still be interpreted correctly by IMAP clients. In other words, if I put Family/Dad and Family/Mom as my labels with this script, then IMAP will read that correctly and Mom & Dad will be subfolders of Family.

In an increasingly decentralized world, this is the right script for me.

 
CloudKicker Scriptwright

Check this out http://userscripts.org/scripts/show/30757

It's a script called LabelLinks4Gmail. It's like Folders4Gmail on steroids.

 
Christopher ... User

I never took the time to bother with folders4gmail but I just checked it out and I'm glad I did. It really enhances the use of gmail labels considerably. Thanks!!

 
glocalized User

Like mod_wastrel, I'm wondering if you could modify the script so that the head label under which sublabels fall could become bold when any subfolder has an unread email? This seems especially important since the default view of labels everytime I login is in collapsed mode so I don't notice if someone has sent me an email. Otherwise, a great script.

 
kdizas User

Is it possible to remove the IMAP Prefix from the labels? ([Gmail] , [Google Mail] etc)

 
alex dante User

Awesome userscript, which I've been using through the Better Gmail2 extension.

However, I noticed today that FF3 (under Ubuntu 8.04) was sitting at 35% CPU usage with Gmail open. By disabling everything I isolated it to the Better Gmail2 extension, then enabled each included script one at a time to discover that the source of the increased CPU consumption was Folders4Gmail. I disabled the BG2 extension again and installed F4G directly within Greasemonkey, and the problem persisted.

It seems to -only- happen if there are no labels defined, which happened to be the case as I'd just been assigned a new work email account on Gmail. Is anyone else experiencing this? I know it's a pretty unique edge case but should there be some kind of check around the existence of labels?

Cheers!

 
diego.devita Scriptwright

this was a wonderful and useful idea. It's the most important mod I have for gmail. And I got so addicted that I built my entire labeling strategy around this. So to help me handle this strategy I crafted a script to enlarge the labels panel, if someone thinks it could help as well this is the link http://userscripts.org/scripts/show/26069
hope you enjoy.

 
mod_wastrel User

This is possibly my most useful mod for Gmail (and Gmail IMAP with Thunderbird), certainly with regard to saving screen space, so: Thanks!

Feature request: is it possible to display an unread count in the title of the Labels box when it's collapsed entirely?

 
Gin User

I love this script! Can you add a feature to organize Contacts into folders, too? Please??

 
leonchen User

Excellent scripts, exactly do what I want. Just one suggestion, could you add to one link below the the link "Edit lables", so that can collapse all or uncollapse all folders.

 
danrourke User

I can't get this to work in Gmail 2... I have tried changing language from UK to US. I have made sure I have most up to date version. Nothing seems to get it to work. If I want folders I have to revert back to old Gmail.
Any ideas?

 
Sean Bannister Scriptwright

This should so be a feature in gmail.

 
Kevin Shea User

Excellent. Thanks for this!

 
Stu User

@Arand: I forgot I had modified the script to use "." as separators and when I upgraded of course my modification was gone. Sorry for the hassle. Working great now :)

 
Stu User

@Arand, any idea why it is not working for me? Is there a way to debug this? I have many labels and without this plugin using gmail for my work is not nearly as convenient as before.

I know I'm using the right version because I see the the comment in the code about April 17th. I'm just asking if there is a way to debug this because I can't figure it out myself.

Thanks

 
keir User

I found going back to version 1.35 of this script got it working again in opera. Strange stuff.

 
keir User

Hi all, I'm still having trouble getting it to work using Opera 9.27
Is it just me or is it broken for Opera?
cheers

 
Arend Script's Author

@Sergut
The code in Folders4Gmail is now frames[3] instead of frames[2]. It seems Gmail added an iframe.

Unfortunately, this small change was enough to break the script. :-(

Also, there's a small change because labels are now real links.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel