Re: Crash on closing window while searching

2011-01-16 Thread Michael Drake
In article 3dd02e9651.mar...@blueyonder.co.uk,
   Martin Bazley martin.baz...@blueyonder.co.uk wrote:

 Crash.

What version of NetSurf are you using for this?  I can't reproduce it with
the latest build.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/




Re: Crash on closing window while searching

2011-01-16 Thread Steve Fryatt
On 16 Jan, Michael Drake wrote in message
5196724c33t...@netsurf-browser.org:

 In article 3dd02e9651.mar...@blueyonder.co.uk,
Martin Bazley martin.baz...@blueyonder.co.uk wrote:
 
  Crash.
 
 What version of NetSurf are you using for this?  I can't reproduce it with
 the latest build.

Assuming I'm not getting my builds confused, I can reproduce it on RISC OS 5
with r11332:

- Open a browser window.
- Press F4 and type something that matches, so a selection appears in the
  browser window.
- Close the browser window.

Looking at the log, my guess is that the search module tries to tidy up and
delete the selection after the browser window has been partly deleted: when
it comes to attempt the resulting redraw, things go a bit wrong.  See

https://sourceforge.net/tracker/?func=detailaid=3159040group_id=51719atid=464312

(which Martin should have done himself).

I would need to understand the browser window content stuff better to risk
attempting a fix, I'm afraid: I'm not sure how much the search still needs
to tidy up at that point.

-- 
Steve Fryatt - Leeds, England Wakefield Acorn  RISC OS Show
  Saturday 16 April 2011
http://www.stevefryatt.org.uk/   http://www.wakefieldshow.org.uk/



Re: Crash on closing window while searching

2011-01-16 Thread Chris Young
On Sun, 16 Jan 2011 11:52:36 +, Steve Fryatt wrote:

 On 16 Jan, Michael Drake wrote in message
 5196724c33t...@netsurf-browser.org:
 
  In article 3dd02e9651.mar...@blueyonder.co.uk,
 Martin Bazley martin.baz...@blueyonder.co.uk wrote:
  
   Crash.
  
  What version of NetSurf are you using for this?  I can't reproduce it with
  the latest build.
 
 Assuming I'm not getting my builds confused, I can reproduce it on RISC OS 5
 with r11332:
 
 - Open a browser window.
 - Press F4 and type something that matches, so a selection appears in the
   browser window.
 - Close the browser window.
 
 Looking at the log, my guess is that the search module tries to tidy up and
 delete the selection after the browser window has been partly deleted: when
 it comes to attempt the resulting redraw, things go a bit wrong.  See
 
 https://sourceforge.net/tracker/?func=detailaid=3159040group_id=51719atid=464312
 
 (which Martin should have done himself).
 
 I would need to understand the browser window content stuff better to risk
 attempting a fix, I'm afraid: I'm not sure how much the search still needs
 to tidy up at that point.

When I try it, I get this:
assertion handle != NULL failed: file content/hlcache.c, line 271

So I don't think it's a RISC OS-specific problem.

Chris



Re: Crash on closing window while searching

2011-01-16 Thread Martin Bazley
The following bytes were arranged on 16 Jan 2011 by Steve Fryatt :

 Assuming I'm not getting my builds confused, I can reproduce it on RISC OS 5
 with r11332:

The latest on the test builds page is r11321!

[snip]

 (which Martin should have done himself).

I've all but given up on SourceForge, I'm afraid; it was always
unreliable and inconvenient to use, but when it outright stopped
accepting anonymous submissions (you could submit them, but they didn't
appear) I knew when I wasn't wanted.

-- 
  __^__   Follow me on Twitter! -- http://twitter.com/swirlythingy
 / _   _ \  (Or, um, don't.  It's a free country and all that.)
( ( |_| ) )
 \_   _/  === Martin Bazley ==




Re: Crash on closing window while searching

2011-01-16 Thread Richard Porter
On 16 Jan 2011 Dave Higton  wrote:

 In message f802799651.mar...@blueyonder.co.uk
   Martin Bazley martin.baz...@blueyonder.co.uk wrote:

 I've all but given up on SourceForge, I'm afraid; it was always
 unreliable and inconvenient to use, but when it outright stopped
 accepting anonymous submissions (you could submit them, but they didn't
 appear) I knew when I wasn't wanted.

 Why do you need to be anonymous?  Why not create an account?  It
 is free.  Once you've got an account, logging in is easy, on
 condition that you can remember your account's credentials.

That's just it. You have to log in every time. A while back 
Sourceforge used to log you in automatically using a cookie but that 
was discontinued and NS doesn't remember logins.

Richard

-- 
Richard Porterhttp://www.minijem.plus.com/
  mailto:r...@minijem.plus.com
I don't want a user experience - I just want stuff that works.



Re: Crash on closing window while searching

2011-01-16 Thread Dave Higton
In message 01be7d9651.r...@user.minijem.plus.com
  Richard Porter r...@minijem.plus.com wrote:

 On 16 Jan 2011 Dave Higton  wrote:
 
  In message f802799651.mar...@blueyonder.co.uk
Martin Bazley martin.baz...@blueyonder.co.uk wrote:
 
  I've all but given up on SourceForge, I'm afraid; it was always
  unreliable and inconvenient to use, but when it outright stopped
  accepting anonymous submissions (you could submit them, but they didn't
  appear) I knew when I wasn't wanted.
 
  Why do you need to be anonymous?  Why not create an account?  It
  is free.  Once you've got an account, logging in is easy, on
  condition that you can remember your account's credentials.
 
 That's just it. You have to log in every time. A while back 
 Sourceforge used to log you in automatically using a cookie but that 
 was discontinued and NS doesn't remember logins.

OK... I don't remember being logged in automatically.  Perhaps
that's why I don't mind, yet you and Martin do.  Maybe you could
forget that you ever got logged in automatically, then you
wouldn't feel aggrieved :-)

I wonder if it's possible to add one's login credentials to a SF
URL so that one double click on a hotlist entry logs one in to
the SF page for reporting NS bugs?

Dave



Re: Crash on closing window while searching

2011-01-16 Thread Richard Porter
On 16 Jan 2011 Dave Higton  wrote:

 I wonder if it's possible to add one's login credentials to a SF
 URL so that one double click on a hotlist entry logs one in to
 the SF page for reporting NS bugs?

You can do that if the site uses a Linux protected directory but not 
where there's a login form. What I usually do is copy the form, expand 
any relative links to absolute ones, change the username and password 
fields to hidden fields with the values set and then embed the form on 
my local home page so that there's just one submit button to click on.
Sometimes you need to make two attempts because the site is expecting 
to find a cookie which isn't there the first time round.

This method used to work for SourceForge but now it's giving me a 403 
error, probably because they've changed the form.

-- 
Richard Porterhttp://www.minijem.plus.com/
  mailto:r...@minijem.plus.com
I don't want a user experience - I just want stuff that works.