MozillaZine

Sunbird/Calendar - Minimize to tray

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
spark

User avatar
 
Posts: 327
Joined: November 6th, 2002, 9:28 am
Location: UK

Post Posted July 17th, 2004, 8:15 am

OneMan wrote:spark - Yes it would, and a similar story goes for thunderbird, for which u can get an app called thundertray. Whilst I'm not "in the know" I believe this is because of the cross platform nature of the mozilla apps. Minimizing to tray is a very ms windows specific task, and as such is not a focus.
I might be totally wrong.

But then I believe that on the to-do list for sunbird is having the alarms work when sunbird itself isn't running. So maybe it will be built in eventually, and my app will become obsolete. :(


I think it's more relevent for the calender then email client (because of alarms as you say). It's doesn't matter that it's Windows specific - remember Quick Launch (part of Mozilla the suite). Perhaps you could consider rewriting your app as part of Sunbird (if the devs agree that is)?

OneMan
 
Posts: 64
Joined: June 29th, 2004, 11:50 pm
Location: Adelaide, South Australia

Post Posted July 17th, 2004, 9:00 am

A couple of minutes?? Thats poor. a couple seconds on my system. I don't really know why that would be. If that is on starting windows it could be because you have other applications starting up, antivirus and such, things generally start slower as windows is starting up. If it does that all the time, well, shit.

Anyway, i'm off to bed.

Spark - i agree that it is more relevant, mind you I was about to ditch thunderbird before i found thundertray. And now using suntray I now have a solution that fits my needs perfectly. My concentration on this project will seriously lapse in a couple weeks once I get back in to uni, so yeah the future time I spend on this will become limited. If you wanted to send a message to the devs pointing out that I have made a solution to the problem, feel free, and I would be interested to know what they think of it, or if they are interested in somehow combining my solution with future windows version releases.

mmm bed.

Lazlo Woodbine

User avatar
 
Posts: 319
Joined: August 25th, 2003, 6:25 pm

Post Posted July 17th, 2004, 1:10 pm

OneMan wrote:A couple of minutes?? Thats poor. a couple seconds on my system. I don't really know why that would be. If that is on starting windows it could be because you have other applications starting up, antivirus and such, things generally start slower as windows is starting up. If it does that all the time, well, shit.


This happens all the time, not just at startup. My CPU is an Athlon XP 2400+, so it's not the problem.

Arterion
 
Posts: 4
Joined: July 15th, 2004, 3:05 am
Location: Nashville, TN, U.S.A

Post Posted July 17th, 2004, 4:05 pm

Any possibility of a keystroke command to activiate show/hide feature? Maybe windows+c (for calendar)?

:-)
-Arterion

Lazlo Woodbine

User avatar
 
Posts: 319
Joined: August 25th, 2003, 6:25 pm

Post Posted July 17th, 2004, 5:32 pm

Arterion wrote:Any possibility of a keystroke command to activiate show/hide feature? Maybe windows+c (for calendar)?


From the webpage:

" Handy Feature - Opening SunTray when its is already open will instead call a Show/Hide operation. This means:
- Any shortcut to SunTray can be used to Show/Hide Sunbird.
- HOT KEY!! - In the shortcut properties set a HotKey for the shortcut. Fully Customizeable."

OneMan
 
Posts: 64
Joined: June 29th, 2004, 11:50 pm
Location: Adelaide, South Australia

Post Posted July 17th, 2004, 9:36 pm

Lazlo, I've had a bit of a look in to it, but I still don't know why it would take so long. However I can suggest one other option that is available to you, this will work if you are wanting to start sunbird on startup.

add shortcut to suntray in startup menu as normal, but leave out the start option
add another shortcut in startup menu, this time to sunbird, but in properties set it to start minimized. This will then cause it to be hidden straight away.

This may work faster for you? Although this is only useful for starting on startup.
If you have suntray running and not sunbird, does using the show/hide command also start sunbird really slowly?
**Added a sunbird only version, may be slightly faster, but doubtful if it will really speed you up all that much.

Arterion = *slap*, though it is restricted to ctrl+alt+YourChoice. I've actually had limited success with this, although I think its something to do with my windows installation rather than suntray. Sometimes it works nicely, sometimes not.

Lazlo Woodbine

User avatar
 
Posts: 319
Joined: August 25th, 2003, 6:25 pm

Post Posted July 18th, 2004, 3:51 am

OneMan,

Suntray actually crashed Explorer on startup this morning. :(
Something here is NOT happy with suntray starting up.

Will try the separate startup option, as you suggested.

If you have suntray running and not sunbird, does using the show/hide command also start sunbird really slowly?


No, it's nearly instantaneous.

Lazlo Woodbine

User avatar
 
Posts: 319
Joined: August 25th, 2003, 6:25 pm

Post Posted July 18th, 2004, 8:50 am

Lazlo Woodbine wrote:Will try the separate startup option, as you suggested.


This isn't a solution either, at least not currently, because Sunbird will NOT start minimised from any shortcut.
It always starts full screen. This would be a solution if the Sunbird developers fixed this problem.

OneMan
 
Posts: 64
Joined: June 29th, 2004, 11:50 pm
Location: Adelaide, South Australia

Post Posted July 18th, 2004, 9:53 am

yeah, i've had to mess around with that a bit to, I'd forgotten about this. If you close the program when it is maximised, it always tries to start maximized. Solution = close sunbird in a restore(set the size to whatever you want it) state, and it should start minimized if you tell it to.
I'd forgotten about this because i don't run it maximised, if you do run it maximised when u use the Start option you will also see sunbird flash on the screen before it becomes hidden, its my dodgy workaround of it refusing to start minimized.

oddman
 
Posts: 75
Joined: April 24th, 2003, 12:37 pm

Post Posted July 20th, 2004, 10:21 pm

hey oneman,
check this out.
http://forums.mozillazine.org/viewtopic ... &start=390

I'm going to start using the 16x16 that MarkCarson whips together here.
http://forums.mozillazine.org/viewtopic ... &start=570
look for the post dated Tue 20th Jul 2004 1:32pm. I like the image on the right (the calendar has a broader boarder.)

oddman
 
Posts: 75
Joined: April 24th, 2003, 12:37 pm

Post Posted July 20th, 2004, 10:35 pm

Oh...

If anyone needs to convert the PNGs from the previous links to ICOs this little program works well.
http://towofu.s5.xrea.com/soft/e-index.html#download

OneMan
 
Posts: 64
Joined: June 29th, 2004, 11:50 pm
Location: Adelaide, South Australia

Post Posted July 20th, 2004, 11:06 pm

Yep very nice icons to use for custom icons. I switch from red(Visible) to green(Hidden) versions, and it looks very nice.

So all is running smoothly for everyone? Good.

oddman
 
Posts: 75
Joined: April 24th, 2003, 12:37 pm

Post Posted July 21st, 2004, 7:28 am

Looks like you've got a winner!

Nicely done Oneman.

OneMan
 
Posts: 64
Joined: June 29th, 2004, 11:50 pm
Location: Adelaide, South Australia

Post Posted July 22nd, 2004, 8:58 pm

One Small feature I just added to 0.5, so its now a little different to what you all have, "Single", show/hide with a single click, and now that i've done it, I like it.
Does anyone use any calendar version other than sunbird?

http://www.dart.net.au/users/srgeorg/

As usual let me know if anything weird happens, otherwise I'll just assume all is good.

OneMan
 
Posts: 64
Joined: June 29th, 2004, 11:50 pm
Location: Adelaide, South Australia

Post Posted July 22nd, 2004, 10:34 pm

Oh and another one that i'd forgotten, I don't know if you'd actually want to use it, but "noMin", means it won't hide when minimized, so you can still have Sunbird sitting in your taskbar if you want to, and will only minimize to tray if you tell it to.

This ones there because I was thinking about another feature which a very nice person requested, was to intercept the call to close sunbird, and instead minimize to tray. But it gets a bit involved, and I don't think I'll get it done.

Return to Calendar


Who is online

Users browsing this forum: No registered users and 3 guests