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 08, 2016, 08:16:31 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

Author Topic: [bug] FARR error and freeze if html view mode page tries to close win  (Read 4628 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
When viewing an internet page in FARR's html view mode and that page tries to close it's own window then FARR displays a "do you want to close window?" popup. So far so good. But clicking "yes" gives the error message below multiple times and then FARR freezes and a FARR restart is required.
error.png

To test it, save this as test.html, display in FARR and click close:
Code: HTML [Select]
  1. <a href="JavaScript:window.close()">Close</a>

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,412
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
thanks, i'll look into it and see if i can fix.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #2 on: January 24, 2009, 08:08:57 AM »
I'm reviving this. I often use FARR's html view mode to access a specific webpage and that page tries to close itself when a link is clicked. So I encounter this problem almost daily. My current workaround: when the "do you want to close window?" FARR popup shows then I kill and restart the FARR process (through an AHK hotkey).

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #3 on: March 02, 2009, 05:21:57 PM »
The v2.48.01 changelog said EmbeddedWebBrowser was updated which sounded relevant to this and so made me test this again, but the problem remains.

I should add that the error messages are not exactly like above. When I use FARR to access a flash based webpage that after a while tries to autoclose then FARR closes after this chain of error messages (in order from top to bottom):
aa.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,412
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #4 on: March 02, 2009, 09:36:55 PM »
I will look into it.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #5 on: March 03, 2009, 03:46:59 AM »
great, let me know if I can help troubleshoot it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,412
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #6 on: March 05, 2009, 02:20:53 PM »
fixed -- not yet uploaded -- will be in next update.



A separate but related issue:

what's still not fixed that i'm not sure how to handle is the other side of this coin -- posting to a web page javascript that the page is closing if the user clears the search or closes farr.. 99.99% of the time this does not matter, but for some javascript things (like maybe tiddywiki), a script on a page wants to do something (or prompt user) when the user is leaving the page.

Update: Maybe i spoke too soon -- on testing it seems that the js unload event is indeed called when switching away from browser window, so that's good.
« Last Edit: March 05, 2009, 02:26:45 PM by mouser »

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #7 on: March 05, 2009, 03:05:40 PM »
Cool!  8)  :Thmbsup:

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: [bug] FARR error and freeze if html view mode page tries to close win
« Reply #8 on: March 22, 2009, 06:09:28 AM »
Problem fixed in FARR v2.49.01 - great! :Thmbsup: