WeatherAlert


Recommended Posts

I think it's trying to show a balloon tip on an as-yet unconstructed Main Window; I've fixed the two errors, you can redownload at the above link.

584982303[/snapback]

Yey, all working now ;). Thanks man (Y)

Link to comment
Share on other sites

I love when the problems are that straightforward, as opposed to gems like this:

Please try to describe what happened:WeathAlert 2.2.9.5OS: Microsoft Windows NT 5.1.2600.0Error Report:Unhandled exception caught in main()Source: System.Windows.FormsMessage/Stack Trace :System.Runtime.InteropServices.SEHException: External component has thrown an exception.  at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG

or
Please try to describe what happened:

Program did not start.

WeathAlert 2.2.9.5

OS: Microsoft Windows NT 5.1.2600.0

Error Report:

Unhandled exception caught in main()

Source: System.Drawing

Message/Stack Trace :System.TypeInitializationException: The type initializer for

Link to comment
Share on other sites

I think it's trying to show a balloon tip on an as-yet unconstructed Main Window; I've fixed the two errors, you can redownload at the above link.

584982303[/snapback]

Thanks darkman327 (Y) thanks for the quick fix :D

poped up another problem tho, I couldnt switch from standard to metric without it crashing and the program.. (it has switched on restart but the choice crashes the program) and even after selecting this the F symbol remains on the extreme temperatures selection.

Link to comment
Share on other sites

I don't know why it didn't switch the F to C; it was set to, but I've played around with it and now that works; as for the metric/standard problem I suspect it's related to the first one. (The number boxes for the extreme temperatures weren't setup to be negative values, so if it was metric the value was out of range; I think there's a similar problem when you are switching). I've now made it check before attempting to assign any value to those number sliders, so hopefully that will fix the problem. I have another issue to work out though (unrelated to any of this) so once that's fixed I'll release another build.

Edited by darkmark327
Link to comment
Share on other sites

Hey,

Bugs:

1.) Well I just noticed that I have start hidden in tray yet it then pop ups on the screen as a normal window anyways though the option is disabled.

Also please make it remember window position.

2.) Also the very first time you double click the icon in the system tray it changes view to Extended instead of the previous setting. And it opens it at the very top left of the screen. Only happens the first time. BTW right clicking on icon in system tray and click settings does the same thing. It should open on the center of the screen instead. Also it always does so no matter what. Very annoying.

BTW just so you know right clicking and choosing restore is not effected.

3.) Pollen Reports on the main window opens a blank white page.

4.) Well it seems random, some times it takes awhile for the window to load and or to show the icon in the system tray. Should not being happening. Some times it takes upward of 20secs. And when it happens it some times uses 100% of the processor, but normally around 25%. Like I said it appears to be totally random.

Requests:

1.) Can you please add an option to the system tray such as "Display Forecast" which opens the default browser to the local weather page.

2.) The weather channel icon could be more pleasant to the eyes. ;)

As it's pretty blurry and distracting. Same with the all the view icons. Having to squint. :(

3.) Make the large radar window remember its window position.

Take Care,

Will

Edited by war
Link to comment
Share on other sites

Hey,

The weather channel icon could be more pleasant to the eyes. ;)

As it's pretty blurry and distracting.

Well I just noticed that I have to start hidden in tray yet it then pop ups on the screen as a normal window.

Also the very first time you double click the icon in the system tray it changes view to Extended instead of the previous setting. And it opens it at the very top left of the screen. Only happens the first time. BTW right clicking on icon in system tray and click settings does the same thing. It should open on the center of the screen instead. Also it always does so no matter what. Very annorying.

BTW just so you know right clicking and chosing restore is not effected.

Take Care,

  Will

584990099[/snapback]

It's their icon so you blame them for its quality, and it's certainly not my choice to include it.

I have fixed the problem where it doesn't start in the tray even if its set do do so.

I have been unable to reproduce the problem where it changes to extended in spite of your setting; as for changing the position, that happens because sometimes Windows does not restore the window properly which leaves it off screen and still minimized (you get only a piece of the titlebar), so rather than it being off the screen it is moved to the top left corner and then resized (that's why you sometimes get the resize animation).

The positioning happens with show settings because it can't center the settings window in the parent window, because the parent window is minimized. I have included a check for this condition and have altered its placement accordingly.

Link to comment
Share on other sites

I updated my post.

So making sure u see it all. ;)

Will wait to respond. ;)

584990209[/snapback]

Bug 1:

fixed...you want me to remember window positions between launches?

Bug 2:

Partially fixed, see my previous post about windows' restoring

Bug 3:

weather.com's fault; they provide me the links, I have no bearing on their functionality

Bug 4:

sometimes it takes a while to get the data from weather.com; i've been working on making the download asynchronous but it's causing issues with the NWS alerts

Request 1:

OK

Request 2:

They make me use their logo (that one), nothing I can do

As for the view icons, if you have any suggestions besides printscreening the various window states and resizing them to icon size I'm all ears.

Request 3:

It opens in the center of the main window, and I've no plans to change that

I've updated with another test build, with a few scattered changes; alert me to any new issues.

http://www.ic.sunysb.edu/stu/msowul/WeathAlertTest.zip

Edited by darkmark327
Link to comment
Share on other sites

Bug 1:

Yes please. :)

Bug 2:

k thanks

Bug 3:

Alright Just was making sure

Bug 4:

Um still seems odd to me but OK.

Request 1:

Thanks a ton. :)

Request 2:

Make new ones. :p The view icons that is.

Request 3:

All Right then

Whooo another new build. hehe Sweet!

Wow that was fast and yep bugs u said fixed are fixed ATM. ;)

Um i see the delay INTERNET option thing. Nice idea. If it where only active. ;)

New Request 1:

An option to disable the fading out when closing. Kinda annoying. lol

New Request 2:

An option to set which side to display the tool bar, left side or right side.

New Request 3:

Also how about to make the main window transport when in summary only view and when Always on top is checked. Option of course. So you can set Opacity levels.

New Request 4:

Hot keys for everything lol

New Request 5:

Add mute to system tray icon to mute sounds. HeHe think that would be enough right click options. ;)

New Bug 1:

Front Size system tray icon text takes no effect. Stays at 7pt font no matter what.

whoops lol no font options are currently working...betting its not a bug then ;)

Edited by war
Link to comment
Share on other sites

New Request 1:

I used to have an option to not do the animated resize/fadeout but I seem to have forgotten to copy it over at some point; I'll do that

2:

We'll see; it was hell enough trying to work out the autoplacement of stuff with the current position, if I can't reuse most of that I probably won't do it, but we'll see; even as I'm typing this I'm getting all sorts of ideas.

3:

I assume you mean transparent and not transport; I think what would be really interesting is if it's transparent unless you mouse over it, at which point it fades in...that would be slick.

4:

I think you'll have to get used to Alt + shortcut key

5:

That's a good idea

"Bug" 1:

Yeah that's not functional yet; right now the font size changes depending on how big the string is (2 digits, 3 digits, "N/A") so I'm trying to figure how to work that into the selectable font; I also am going to add buttons to alter the alignment of the text (move left, right, up down etc) but all that stuff can't interfere with the default.

As for "delay on startup" I'm having a hell of a time trying to make the downloading asynchronous; it works alright unless there's a severe weather alert in which case the whole forecast pane (where the alert, radar, and forecast are shown) shows the alert for a sec but then the whole panel goes blank. Very strange. Oh, and if there's no internet connection, the program crashes because of some error with the weather.com links. I'm going to have to review all my threading stuff. Sigh.

Link to comment
Share on other sites

Yeah I found out that I've been occasionally breaking the cardinal rule of not touching the UI from other threads. So now I have to fix all that.

Thanks for the offer sumeet but I've got all the room I need.

Link to comment
Share on other sites

Thank you, thank you.

Another new test version has been released:

http://www.ic.sunysb.edu/stu/msowul/WeathAlertTest.zip

Finally got asynchronous downloading to work, which means:

a) delay on startup works

b) data downloading runs separately from the UI, so it won't freeze things up when it's downloading

Note that this results in the normal warnings about data availability (invalid location, no internet connection, etc) being inaccurate, I have to rework that.

I also added mute to the tray as requested.

Edited by darkmark327
Link to comment
Share on other sites

Nice! :)

BTW can you make it so that in about when you click check for updates it does so right then not just opening the tab. Less clicking the better. So newbies don't get lost. lol :p

Also how about an option to hide the degree symbol. You know so its just "47" in the system tray for example.

Thanks a ton,

Will

Link to comment
Share on other sites

I love this app but I have a problem when I send to tray then try to bring it back it wont show sometimes I have to kill it and restart it ot show. Same way when I minimize it and try to restore , it shows then vanishes. Anyone else have this problem. By the way I have had this problem with the last 3 builds.

Edited by ghostwalker
Link to comment
Share on other sites

I made those two changes, as for the problems with minimizing/restoring, I think I know where the problem lies (it's similar to what I discussed above, with the location being different sometimes when resuming because I'm trying to correct Windows' not moving it correctly); I changed how I did that correction and haven't encountered any problems myself but if it used to work and now it doesn't, I'm guessing those changes may be why.

Link to comment
Share on other sites

Good news for non-XP folks, I've made it so that the condition icon shown in the tray isn't ugly as hell (I used a different set of icons that are more suited to the low color depth available to the tray in non-XP, but there's only 6 of them so it's not as precise...not that the ones were discernible anyway)

Link to comment
Share on other sites

That comes after I've completed the work on settings (95% done) and the asynchronous updates (90% done). I'll release 2.3 (the updates I just mentioned), then the extra forecast stuff will be 2.4...finals are soon so don't expect stuff too soon after 2.3

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.