Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

After closing Show Graphics cannot get Show Graphics appear again.

log in

Advanced search

Questions and Answers : Windows : After closing Show Graphics cannot get Show Graphics appear again.

Author Message
Profile stomp
Volunteer tester
Send message
Joined: 15 Sep 04
United States
Credit: 2,878.3
RAC: 0.00
Joined: Sep 15, 2004
Verified: NEVER
Dubloons: 3
Message 343 - Posted: 19 Nov 2004 | 6:22:23 UTC

Profile JKeck {pirate}
Volunteer tester
Avatar
Send message
Joined: 19 Jul 04
United States
Team Starfire World BOINC
Credit: 3,399.5
RAC: 0.00
Joined: Jul 19, 2004
Verified: Jan 17, 2009
Dubloons: 3
Pieces of Eight: 4
Punishment: Mess Duty
Message 344 - Posted: 19 Nov 2004 | 8:36:11 UTC

Seti had a similar problem at one time. At that time it could also cause the workunit or BOINC to crash.
____________
BOINC WIKI

Dirty John Rackham

Profile stomp
Volunteer tester
Send message
Joined: 15 Sep 04
United States
Credit: 2,878.3
RAC: 0.00
Joined: Sep 15, 2004
Verified: NEVER
Dubloons: 3
Message 373 - Posted: 22 Nov 2004 | 22:29:23 UTC
Last modified: 22 Nov 2004 | 22:53:03 UTC

I tried it again and still get the same results with the sextant 4.23 and a compass w/u.

O and this is now on a third machine.

Let have fun looting the computers with w/u
____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 376 - Posted: 22 Nov 2004 | 22:54:22 UTC - in response to Message 373.

> I tried it again and still get the same results with the sextant 4.23 and a
> compass w/u.

What version of the BOINC core?
I tried it on Win2K with BOINC 4.13 and did not have this problem.



____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile stomp
Volunteer tester
Send message
Joined: 15 Sep 04
United States
Credit: 2,878.3
RAC: 0.00
Joined: Sep 15, 2004
Verified: NEVER
Dubloons: 3
Message 377 - Posted: 22 Nov 2004 | 22:58:14 UTC - in response to Message 376.

> What version of the BOINC core?
> I tried it on Win2K with BOINC 4.13 and did not have this problem.
>
All three of my computers is BOINC 4.13
The first time was with Win2K.
This particular time was with a XPsp1
____________

Profile Liberto [Valencia]
Avatar
Send message
Joined: 23 Jul 04
Spain
Astroseti
Credit: 245.3
RAC: 0.00
Joined: Jul 23, 2004
Verified: NEVER
Dubloons: 1
Punishment: Walk Plank
Message 411 - Posted: 26 Nov 2004 | 17:54:58 UTC

I have BOINC 4.13 cc and have not had any problem, graphic stays all the time, even if on an "on-off" situation. Have had no problems on any of the last 10 units.
____________

Profile Nikolay A. Saharov
Send message
Joined: 14 Oct 04
Russia
Russia
Credit: 527.2
RAC: 0.00
Joined: Oct 14, 2004
Verified: Jan 17, 2010
Pieces of Eight: 4
Punishment: Mess Duty
Message 426 - Posted: 28 Nov 2004 | 8:12:24 UTC
Last modified: 28 Nov 2004 | 8:14:27 UTC

"I also have this question" (Click) ;)

So, I have BOINC 4.13, PIR@H sextant 4.27
WinXP Prof SP1
P4-2,6 GHz, 512Mb RAM
RADEON 9600 Series VideoCard

1. Click "Show Graphics" on compass_*** WU
2. Minimize it
3. Close Graphics window
4. Click "Show Graphics" again - no windows were shown, but it presents in taskbar
5. Select "Restore" from context menu of Sextant window Title - windows was not restored
6. select "Move" from context menu and with cursor keys I moved window to desktop window center.
7. Stretch sextant window up to normal size (it was only title)
8. *bug* Globus was a vertical line (not a sphere)
9. close window and after "Show Graphics" all was ok (and globus also was ok)


____________

Profile stomp
Volunteer tester
Send message
Joined: 15 Sep 04
United States
Credit: 2,878.3
RAC: 0.00
Joined: Sep 15, 2004
Verified: NEVER
Dubloons: 3
Message 443 - Posted: 29 Nov 2004 | 18:23:59 UTC - in response to Message 426.

> 6. select "Move" from context menu and with cursor keys I moved window to
> desktop window center.
> 7. Stretch sextant window up to normal size (it was only title)
> 8. *bug* Globus was a vertical line (not a sphere)
> 9. close window and after "Show Graphics" all was ok (and globus also was ok)
>
The first 5 steps are the same for me as stated before, as well as 8, but I did not try the other three steps (6,7,9). The next time I get a w/u I will try that. but aleast I am not the only one :)

Thanks.
____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 446 - Posted: 30 Nov 2004 | 14:46:55 UTC

Can you try it again now?

sextant 4.31 removed the search marker test, which had the potential
of causing some problems with graphics, because the marker test was in
the computation thread while the ordinary graphics thread was also running.

This may not solve your problem, but we should at least test wheter or not it does.


____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Nikolay A. Saharov
Send message
Joined: 14 Oct 04
Russia
Russia
Credit: 527.2
RAC: 0.00
Joined: Oct 14, 2004
Verified: Jan 17, 2010
Pieces of Eight: 4
Punishment: Mess Duty
Message 449 - Posted: 30 Nov 2004 | 22:18:42 UTC - in response to Message 443.

> > 6. select "Move" from context menu and with cursor keys I moved window
> to
> > desktop window center.
> > 7. Stretch sextant window up to normal size (it was only title)
> > 8. *bug* Globus was a vertical line (not a sphere)
> > 9. close window and after "Show Graphics" all was ok (and globus also was
> ok)
> >
> The first 5 steps are the same for me as stated before, as well as 8, but I
> did not try the other three steps (6,7,9). The next time I get a w/u I will
> try that. but aleast I am not the only one :)

This also happens with graphics of other projects not only with Sextant. I tested it with CPDN and S@H (P@H and LHC has no WUs at this moment as you know). I think this happens with all BOINC projects.

In my project I develop I save not only a program windows sizes but also windows state.
I.e. when a program window is maximized or minimized I save this state, when a window is normal I save this state and windows coordinates and size.
When I start my program I load saved window state and sizes. When state is minimized or maximized I set windows size to default values, and when window state is normal I load window sizes.

____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 450 - Posted: 30 Nov 2004 | 22:26:53 UTC - in response to Message 449.

> In my project I develop I save not only a program windows sizes but also
> windows state.
> I.e. when a program window is maximized or minimized I save this state, when
> a window is normal I save this state and windows coordinates and size.
> When I start my program I load saved window state and sizes. When state is
> minimized or maximized I set windows size to default values, and when window
> state is normal I load window sizes.
>

How do you get the window state? app_graphics_resize() only gives
you the window size on a resize event. Is it invoked when the window is
minimized, does it set sizes to zero, or do you have another way of knowing
the window state?


____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile stomp
Volunteer tester
Send message
Joined: 15 Sep 04
United States
Credit: 2,878.3
RAC: 0.00
Joined: Sep 15, 2004
Verified: NEVER
Dubloons: 3
Message 452 - Posted: 30 Nov 2004 | 23:39:59 UTC - in response to Message 450.

Profile Nikolay A. Saharov
Send message
Joined: 14 Oct 04
Russia
Russia
Credit: 527.2
RAC: 0.00
Joined: Oct 14, 2004
Verified: Jan 17, 2010
Pieces of Eight: 4
Punishment: Mess Duty
Message 461 - Posted: 1 Dec 2004 | 18:18:34 UTC - in response to Message 450.

> > In my project I develop I save not only a program windows sizes but also
> > windows state.
> > I.e. when a program window is maximized or minimized I save this state,
> when
> > a window is normal I save this state and windows coordinates and size.
> > When I start my program I load saved window state and sizes. When state
> is
> > minimized or maximized I set windows size to default values, and when
> window
> > state is normal I load window sizes.
> >
>
> How do you get the window state? app_graphics_resize() only gives
> you the window size on a resize event. Is it invoked when the window is
> minimized, does it set sizes to zero, or do you have another way of knowing
> the window state?

A project I develop is not a BOINC project. I use Borland Delphi. A class for window objects (TForm) in Delphi has property that is named "WindowState". It has 3 values: wsMaximized, wsMinimized and wsNormal.

I don't know if it is present in C++, sorry. But I think the property must be there.

But, I found in MFC class CWnd 2 functions:
IsIconic Determines whether CWnd is minimized (iconic).
IsZoomed Determines whether CWnd is maximized.

May be this can help you?

____________

Profile Nikolay A. Saharov
Send message
Joined: 14 Oct 04
Russia
Russia
Credit: 527.2
RAC: 0.00
Joined: Oct 14, 2004
Verified: Jan 17, 2010
Pieces of Eight: 4
Punishment: Mess Duty
Message 462 - Posted: 1 Dec 2004 | 18:39:55 UTC - in response to Message 443.

> > 6. select "Move" from context menu and with cursor keys I moved window
> to
> > desktop window center.
> > 7. Stretch sextant window up to normal size (it was only title)
> > 8. *bug* Globus was a vertical line (not a sphere)
> > 9. close window and after "Show Graphics" all was ok (and globus also was
> ok)
> >
> The first 5 steps are the same for me as stated before, as well as 8, but I
> did not try the other three steps (6,7,9). The next time I get a w/u I will
> try that. but aleast I am not the only one :)
>
> Thanks.
>

2Stomp

Just small specification.

When I select "Move" command I use cursor keys to 'capture' the window because it placed out of the screen in top left corner. The cursor is shown as arrows.
Then with the mouse I droped the window in desktop center.

8. The Bug is fixed (sextant 4.31) ;) The Globus now is volumetric, instead of flat. :)

____________

Profile Nikolay A. Saharov
Send message
Joined: 14 Oct 04
Russia
Russia
Credit: 527.2
RAC: 0.00
Joined: Oct 14, 2004
Verified: Jan 17, 2010
Pieces of Eight: 4
Punishment: Mess Duty
Message 681 - Posted: 26 Dec 2004 | 14:08:51 UTC - in response to Message 461.

@Wormholio

I wrote an email to boinc_dev mailing list about this problem with possible solution (a few lines of code). Changes were made in api / windows_opengl.C.

Dr. David Anderson included these changes in cvs base.

____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 687 - Posted: 26 Dec 2004 | 17:43:44 UTC - in response to Message 681.

> @Wormholio
>
> I wrote an email to boinc_dev mailing list about this problem with possible
> solution (a few lines of code). Changes were made in api / windows_opengl.C.
>
> Dr. David Anderson included these changes in cvs base.

I saw your post. I don't know if your changes are in the latest release of code, but in any case they should migrate into the code in time. Thanks for looking at the problem and sending a potential solution.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Post to thread

Questions and Answers : Windows : After closing Show Graphics cannot get Show Graphics appear again.

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2017 Capt. Jack Sparrow