Thanks Drew and Niall!!

John

--- Begin Message ---
Hi John,

I had a look at it and it looks fine to me. Definitely prefer the second webrev without the gtimer stuff.

I'm feeling a good bit better thanks, I had a rough week but almost back to normal now :)

Cheers,
Niall

On 06/27/11 11:36 AM, John Fischer wrote:
Niall,

If you could get a chance to review this today that would be great.
Mary wants me to push it as soon as possible prior to Monday.

Thanks,

John

P.S.  Are you feeling better?

Begin forwarded message:

*From: *John Fischer <[email protected] <mailto:[email protected]>>
*Date: *June 25, 2011 11:09:57 AM PDT
*To: *Keith Mitchell <[email protected] <mailto:[email protected]>>
*Cc: *caiman-discuss <[email protected] <mailto:[email protected]>> *Subject: **Re: [caiman-discuss] Webrev review for CR 7059258 URL hang....*

Keith and Drew,

I have updated the code to use Popen([FIREFOX, self.show_url]).  The
updated webrevs at:

http://cr.opensolaris.org/~johnfisc/url_hang-2
http://cr.opensolaris.org/~johnfisc/url_hang-2-diff

I have tested this within the gui-installer and firefox comes up without
the UI hanging.

Thanks,

John

On 06/25/11 09:44 AM, Keith Mitchell wrote:
Could also use Popen() instead of Popen.check_call() - Popen() will open the subprocess in a non-blocking manner.

- Keith

On Sat, Jun 25, 2011 at 6:56 AM, Drew Fisher <[email protected] <mailto:[email protected]>> wrote:

    John,

    usr/src/cmd/gui-install/src/progress_screen.py
    -----------------------------------------
    434-435:  Can we make a FIREFOX global at the top of the file
    that points to '/usr/bin/firefox' and then we can just do:

    Popen.check_call([FIREFOX, self.show_url], check_result=Popen.ANY)

    on line 436

    Otherwise, this looks good.

    -Drew



    On 6/24/11 9:15 PM, John Fischer wrote:

        All,

        Mary asked that I clean up several pep8 issues as well.  The
        updated webrev located at:

        http://cr.opensolaris.org/~johnfisc/url_hang
        <http://cr.opensolaris.org/%7Ejohnfisc/url_hang>

        also has the pep8 issues resolved.

        Thanks,

        John

        On 06/24/11 07:35 PM, John Fischer wrote:

            All,

            Please review the following webrev:

            http://cr.opensolaris.org/~johnfisc/url_hang
            <http://cr.opensolaris.org/%7Ejohnfisc/url_hang>

            It solves the issue documented by CR 7059258:

            http://monaco.us.oracle.com/detail.jsf?cr=7059258

               7059258 gui-install hangs while a URL is opened from
            an clicking on an image

            On the progress_screen if the image has a URL associated
            with it
            and a user clicks the image then the screen updates will
            stop until
            firefox is fully started and responds to the click.  The
            install continues
            but the GUI is not updated.  This is obviously highly
            undesirable.

            Thanks,

            John
            _______________________________________________
            caiman-discuss mailing list
            [email protected]
            <mailto:[email protected]>
            http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


        _______________________________________________
        caiman-discuss mailing list
        [email protected]
        <mailto:[email protected]>
        http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

    _______________________________________________
    caiman-discuss mailing list
    [email protected]
    <mailto:[email protected]>
    http://mail.opensolaris.org/mailman/listinfo/caiman-discuss




--
Join me in the fight to end AIDS!
http://www.tofighthiv.org/goto/kemitche

_______________________________________________
caiman-discuss mailing list
[email protected] <mailto:[email protected]>
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss



--- End Message ---

On Jun 25, 2011, at 3:15 PM, Drew Fisher wrote:

Looks good, John!

-Drew

On 6/25/11 12:09 PM, John Fischer wrote:
Keith and Drew,

I have updated the code to use Popen([FIREFOX, self.show_url]).  The
updated webrevs at:

    http://cr.opensolaris.org/~johnfisc/url_hang-2
    http://cr.opensolaris.org/~johnfisc/url_hang-2-diff

I have tested this within the gui-installer and firefox comes up without
the UI hanging.

Thanks,

John

On 06/25/11 09:44 AM, Keith Mitchell wrote:
Could also use Popen() instead of Popen.check_call() - Popen() will open the subprocess in a non-blocking manner.

- Keith

On Sat, Jun 25, 2011 at 6:56 AM, Drew Fisher <[email protected]> wrote:
John,

usr/src/cmd/gui-install/src/progress_screen.py
-----------------------------------------
434-435:  Can we make a FIREFOX global at the top of the file that points to '/usr/bin/firefox' and then we can just do:

Popen.check_call([FIREFOX, self.show_url], check_result=Popen.ANY)

on line 436

Otherwise, this looks good.

-Drew



On 6/24/11 9:15 PM, John Fischer wrote:
All,

Mary asked that I clean up several pep8 issues as well.  The
updated webrev located at:

   http://cr.opensolaris.org/~johnfisc/url_hang

also has the pep8 issues resolved.

Thanks,

John

On 06/24/11 07:35 PM, John Fischer wrote:
All,

Please review the following webrev:

   http://cr.opensolaris.org/~johnfisc/url_hang

It solves the issue documented by CR 7059258:

   http://monaco.us.oracle.com/detail.jsf?cr=7059258

   7059258 gui-install hangs while a URL is opened from an clicking on an image

On the progress_screen if the image has a URL associated with it
and a user clicks the image then the screen updates will stop until
firefox is fully started and responds to the click.  The install continues
but the GUI is not updated.  This is obviously highly undesirable.

Thanks,

John
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss



--
Join me in the fight to end AIDS!
http://www.tofighthiv.org/goto/kemitche


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to