topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 6:36 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Release: sWeather (tray-based weather app)  (Read 475499 times)

joiwind

  • Participant
  • Joined in 2009
  • *
  • Posts: 486
  • carpe momentum
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #250 on: December 11, 2013, 05:57 AM »
Hi skwire - just a small bug (that may have been reported already) :

if you enable the date/time etc in the titlebar, the time doesn't keep up with the system time until a refresh (either manual or weather data refresh).

No big deal.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #251 on: December 11, 2013, 12:28 PM »
Hi skwire - just a small bug (that may have been reported already) :
if you enable the date/time etc in the titlebar, the time doesn't keep up with the system time until a refresh (either manual or weather data refresh).

This is actually by design so let me explain.  Rather than code up my own time zone functionality (which would be a HUGE pain in the ass given all the different time zones in the world, daylight saving, etc.), sWeather uses Time Zone API found here: http://www.worldweat...m/time-zone-api.aspx.  I simply pass it the latitude and longitude coordinates I get from the weather location and it sends me back the time.  It's easy and works very well (keeping up with all the different time zone idiosyncrasies of the world).  I use the free API which has a limited number of API calls per hour so I only query it when the weather is refreshed.  I also didn't want sWeather running a per-second loop to update that in real-time, either.  In other words, sWeather isn't a full-fledged world clock.  However, now that you mention it, I could put a help button next to that option explaining this limitation.  I hope that helps to explain things a bit.   :)

joiwind

  • Participant
  • Joined in 2009
  • *
  • Posts: 486
  • carpe momentum
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #252 on: December 12, 2013, 05:43 AM »
^ OK - thanks skwire for the very clear, interesting and instructive reply  :Thmbsup:

GHammer

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 34
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #253 on: December 12, 2013, 12:03 PM »
Not sure if this has been reported.
I am on Windows 8.1 x64
I have Steam installed and use it to play Civilization V
When sWeather is running Civ crashes when loading saved games.

If I exit sWeather, the saved games load fine.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #254 on: December 12, 2013, 12:11 PM »
Not sure if this has been reported.
I am on Windows 8.1 x64
I have Steam installed and use it to play Civilization V
When sWeather is running Civ crashes when loading saved games.

If I exit sWeather, the saved games load fine.

Very strange.  Does it only happen with Civ V?  I do have Steam and it seems to work fine with sWeather running.  Unfortunately, I do not own Civ V nor do I have Windows 8+.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #255 on: December 13, 2013, 11:21 PM »
Website | Download
v1.5.0 - 2013-12-13
    + Added new option to show the date number in the extended forecast.
    * In the Options' WOIED list, the highlighted selection will stay
      visible when using the up/down buttons.  You can also now use
      drag-and-drop to move locations in the list.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #256 on: December 14, 2013, 07:52 AM »
Website | Download
v1.5.1 - 2013-12-13
    ! New date feature introduced in v1.5.0 was off by one.  "It was my
      understanding that there would be no math."  =]

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #257 on: December 14, 2013, 08:35 PM »
Any chance of being able to retain and display past N days worth of predictions (perhaps prepended to what is fetched)?

Motivation for this is: I typically try to consider what to wear based on what the weather was like recently.  So if today's prediction is significantly higher or lower than yesterday's I feel that is useful to know.  (I guess it might be even nicer if actual past data was used instead of past predictions, but that soiunds like a whole different project.)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #258 on: December 14, 2013, 10:43 PM »
Any chance of being able to retain and display past N days worth of predictions (perhaps prepended to what is fetched)?

Hmmm...I think this is probably out of scope for sWeather.  Also, I'm not even sure where to put such information on sWeather's already cluttered interface.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #259 on: December 15, 2013, 04:06 AM »
Thanks for considering :)

GHammer

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 34
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #260 on: December 17, 2013, 09:27 AM »
Not sure if this has been reported.
I am on Windows 8.1 x64
I have Steam installed and use it to play Civilization V
When sWeather is running Civ crashes when loading saved games.

If I exit sWeather, the saved games load fine.

Very strange.  Does it only happen with Civ V?  I do have Steam and it seems to work fine with sWeather running.  Unfortunately, I do not own Civ V nor do I have Windows 8+.

Sorry for the late (and unhelpful) reply.

I only use Steam for Civ V. I do know when playing on a Mac, I have to enable a virtual keyboard to launch Civ V. Maybe they are hooking keystrokes in some way Windows too.

Anyway, I just exit when playing Civ V, the crash is a reminder to do so. Ha!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #261 on: December 17, 2013, 09:31 AM »
Anyway, I just exit when playing Civ V, the crash is a reminder to do so. Ha!

 ;D  Sorry I couldn't help more, GHammer.  If I ever buy Civ V on Steam, I'll test it out here.

zanecek

  • Participant
  • Joined in 2014
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #262 on: January 04, 2014, 12:07 PM »
Hi.
I have a problem with sWeather.

After return from sleep or hibernation my laptop stops periodically refresh the weather data.
I must re-save options (without changes) to start periodically refresh again.

Could you help me, please?
Thanks.

And sorry for my English.

(Lenovo E330, Win7 64bit)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #263 on: January 04, 2014, 12:43 PM »
Hi, zanecek, and welcome to the DonationCoder website.

After return from sleep or hibernation my laptop stops periodically refresh the weather data.
I must re-save options (without changes) to start periodically refresh again.

I did add code to fix this some time ago but I think it was for XP.  I'll test further with W7 and see what's going on.

zanecek

  • Participant
  • Joined in 2014
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #264 on: January 04, 2014, 01:11 PM »
After return from sleep or hibernation my laptop stops periodically refresh the weather data.
I must re-save options (without changes) to start periodically refresh again.

I did add code to fix this some time ago but I think it was for XP.  I'll test further with W7 and see what's going on.
Thank you very much.

For further information:
- I use sWeather v1.5.1 build 1.
- I use Win7 64 Professional SP1 as common user (not as administrator).
- When returning from hibernation sWeather refresh data only just once.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #265 on: January 04, 2014, 01:33 PM »
@zanecek: Will you please try this interim build and let me know if it solves the issue?

http://skwire.dcmembers.com/apps/sweather/sWeather_v1.5.1.2.zip

mikemike777

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #266 on: January 05, 2014, 05:20 AM »
Can you maybe add free weather sources from say wunderground.com which
can send out XML like this:  http://api.wundergro...ML.asp?ID=KMNAPPLE10

for much more RealTime updated weather temp for those of us who live is rapidly
changing weather climates.

Thanks!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #267 on: January 05, 2014, 08:50 AM »
Hi, mikemike777, and welcome to the DonationCoder website.   :)

Can you maybe add free weather sources from say wunderground.com which
can send out XML like this:  http://api.wundergro...ML.asp?ID=KMNAPPLE10

This would require some pretty thorough changes to sWeather and is not something I have plans for in the near future.  I haven't ruled it out, though.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #268 on: January 05, 2014, 09:40 AM »
I just got around to putting this in. : )

It's cute, and I'm terrible on the weather! I never feel like pulling out my phone or trying to go to weather.com etc. The 5 day is good enough for me. (I don't need ten, and the last five change anyway!)


zanecek

  • Participant
  • Joined in 2014
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #269 on: January 06, 2014, 05:20 AM »
@zanecek: Will you please try this interim build and let me know if it solves the issue?

http://skwire.dcmembers.com/apps/sweather/sWeather_v1.5.1.2.zip
Thank you for the quick response.

I tested it, and v1.5.1.2 after sleep/hibernation automatically continues in the periodic weather data refresh (well done!), but this version does not load new data once immediately after waking up (but this is less significant problem).

And, in addition, new version fix another bug - automatic extension the column widths in extended view each time you open this window. Nice! This bug probably related to the fact that I use 125% system zoom the screen in Windows.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #270 on: January 07, 2014, 01:28 PM »
I tested it, and v1.5.1.2 after sleep/hibernation automatically continues in the periodic weather data refresh (well done!), but this version does not load new data once immediately after waking up (but this is less significant problem).

Right now, the code will do a refresh fifteen seconds after receiving the wakeup message and then the regular timer starts (whatever you have configured).  So, if you have a working network connection at the fifteen second mark, it should update.

And, in addition, new version fix another bug - automatic extension the column widths in extended view each time you open this window. Nice! This bug probably related to the fact that I use 125% system zoom the screen in Windows.

Correct, it was due to the 125% DPI setting.  This bug was reported and fixed in another one of my apps so, as I update my apps with listviews, they should get this bugfix as well.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #271 on: January 07, 2014, 01:51 PM »
Website | Download
v1.5.2 - 2014-01-07
    ! Refresh timer wasn't set properly after waking up from hibernation.
      (Thanks, zanecek)
    ! DPI-related fix to saved listview column widths.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #272 on: January 08, 2014, 04:50 AM »
Problem on my pc :
The main window ('Show' from the tray bar) not showing up on my xp, it only appears a vertical portion of the title bar, it's like the window can't be drawn on top of the screen

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #273 on: January 08, 2014, 07:47 AM »
The main window ('Show' from the tray bar) not showing up on my xp, it only appears a vertical portion of the title bar, it's like the window can't be drawn on top of the screen

Odd, it seems to work here okay.  Would you mind PM'ing me a copy of your config.ini file?

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #274 on: January 08, 2014, 10:02 AM »
works fine after a reboot, thanks!