Weather plugin crashing displaying tooltips
Started by BlueHeaven


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


2 posts in this topic
BlueHeaven
Junior Member
**


0
40 posts 12 threads Joined: Jun 2003
07-02-2003, 07:13 AM -
#1
Running: 2.2.0.5 beta on WinXP SP1

I have playing with the wunderground.ini file adding some custom parameters. I find that sometimes explorer.exe crashes when displaying the weather plugin tooltip. I have found a few instances where this was caused by me screwing up the delim values and trying to capture half the web page Smile but lately it has happened when all the values are being captured correctly. I check this by right clicking on the plugin (before the tooltip can pop up) and accessing the "Show weather details" window. All the values seem to be correct.

Anyway, I dumped a few custom parameters and things seem better. It seems that there may be a hard limit to the number of characters that can be displayed in the tooltip (imposed either by the plugin or windows). Is there such a limit? If so, it may be a good idea to cut off the tooltip text at the limit so this crash doesn't occur.

I will include the custom parameters part of my wunderground.ini file below. I commented out the moonrise and moonset as adding these can (but not always) cause the crash.

TIA.

Code:
[CustomParam0]
name = Updated
find0 = "<b>Conditions</b>"
find1 = "Updated:"
find2 = "<b>"
delim = "</"

[CustomParam1]
name = Observed at
find0 = "<b>Conditions</b>"
find1 = "Observed at"
find2 = "<b>"
delim = "<"

[CustomParam2]
unit = F
ValueType = INT
name = Dew Point
find0 = "<td>Dew Point</td>"
find1 = "<b>"
delim = "<"

[CustomParam3]
unit = F
ValueType = INT
name = Windchill
find0 = "<td>Windchill</td>"
find1 = "<b>"
delim = "<"

[CustomParam4]
name = Visibility
find0 = "<td>Visibility</td>"
find1 = "<td>"
delim = "</td>"

[CustomParam5]
name = Current Winds
find0 = "<td>Wind</td>"
find1 = "<td>"
delim = "</td>"

[CustomParam6]
name = Wind Gust
find0 = "<td>Wind Gust</td>"
find1 = "<td>"
delim = "</td>"

[CustomParam7]
name = Today's Sunrise
find0 = "<td>Actual Time</td>"
find1 = "<b>"
delim = "<"

[CustomParam8]
name = Today's Sunset
find0 = "<td>Actual Time</td>"
find1 = "<b>"
find2 = "<b>"
delim = "<"

[CustomParam9]
name = Length of Day
find0 = "Length of Day: "
find1 = "<b>"
delim = "<"

[CustomParam10]
unit = F
ValueType = INT
name = Normal High
find0 = "<td>Max Temperature</td>"
find1 = "Normal:"
delim = "&deg"

[CustomParam11]
unit = F
ValueType = INT
name = Normal Low
find0 = "<td>Min Temperature</td>"
find1 = "Normal:"
delim = "&deg"

[CustomParam12]
name = Record High
find0 = "<td>Max Temperature</td>"
find1 = "Record:"
delim = "</td>"

[CustomParam13]
name = Record Low
find0 = "<td>Min Temperature</td>"
find1 = "Record:"
delim = "</td>"

[CustomParam14]
unit = F
ValueType = INT
name = Yesterday High
find0 = "<td>Yesterday's Maximum</td>"
find1 = "<b>"
delim = "<"

[CustomParam15]
unit = F
ValueType = INT
name = Yesterday Low
find0 = "<td>Yesterday's Minimum</td>"
find1 = "<b>"
delim = "<"

;[CustomParam16]
;name = Moonrise
;find0 = "<td>Moon"
;find1 = "<b>"
;delim = "</b>"

;[CustomParam17]
;name = Moonset
;find0 = "<td>Moon"
;find1 = "<b>"
;find2 = "<b>"
;delim = "</b>"
shapeshifter
Senior Member
****


0
658 posts 24 threads Joined: Sep 2002
07-02-2003, 03:55 PM -
#2
This "bug" was already discovered in another forum. It has been determined to be a limitation of Windows. Bill Gates decided that 1k was enough for any tool tip. Exceeding that limit crashes explorer. Yuri is working on a stand-alone version of tlb that will eliminate this drawback.


Forum Jump:


Users browsing this thread: 1 Guest(s)