Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 11, 2016, 06:02:20 AM
  • Proudly celebrating 10 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 123929 times)

joiwind

  • Participant
  • Joined in 2009
  • *
  • Posts: 484
  • carpe momentum
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #250 on: December 11, 2013, 05:57:39 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.
.: I use K-Meleon - the browser you can control - but I love Pale Moon too :.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #251 on: December 11, 2013, 12:28:13 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: 484
  • carpe momentum
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #252 on: December 12, 2013, 05:43:24 AM »
^ OK - thanks skwire for the very clear, interesting and instructive reply  :Thmbsup:
.: I use K-Meleon - the browser you can control - but I love Pale Moon too :.

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:22 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #254 on: December 12, 2013, 12:11:15 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #255 on: December 13, 2013, 11:21:15 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #256 on: December 14, 2013, 07:52:09 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,845
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #257 on: December 14, 2013, 08:35:06 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #258 on: December 14, 2013, 10:43:55 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,845
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #259 on: December 15, 2013, 04:06:25 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:05 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #261 on: December 17, 2013, 09:31:45 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:54 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #263 on: January 04, 2014, 12:43:58 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:47 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #265 on: January 04, 2014, 01:33:06 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:39 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #267 on: January 05, 2014, 08:50:11 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,550
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #268 on: January 05, 2014, 09:40:39 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:31 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #270 on: January 07, 2014, 01:28:22 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #271 on: January 07, 2014, 01:51:39 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: 204
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #272 on: January 08, 2014, 04:50:55 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: 4,669
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #273 on: January 08, 2014, 07:47:15 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: 204
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #274 on: January 08, 2014, 10:02:37 AM »
works fine after a reboot, thanks!