Closing dialog

Reporting and discussion about bugs.

Moderator: lpaatero

Post Reply
Matti
Posts: 737
Joined: Mon Sep 18, 2006 11:21 am
Location: Vantaa

Closing dialog

Post by Matti »

When I have changed something in the .sgd-file, then program asks If I want to save, not save or cancel. Pressing esc in most programs cancel the actuion, but not in Gowrite. Why is this?

Matti Siivola
lpaatero
Go liiton hallitus
Posts: 528
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Closing dialog

Post by lpaatero »

You did not specify what happens when you press ESC, there are few different problems you can be seeing:
  • - Nothing happens. This is bug in Java JRE. Upgrading Java JRE is likely to solve this.
    - Save as Dialog appears. It seems to happen happen at some platforms, I will look at this.
    - Dialog disappears, and file is not closed. This is intended thing.
regards
Lauri
Matti
Posts: 737
Joined: Mon Sep 18, 2006 11:21 am
Location: Vantaa

Re: Closing dialog

Post by Matti »

The program was closed.

Matti
lpaatero
Go liiton hallitus
Posts: 528
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Closing dialog

Post by lpaatero »

Interesting, I have not been able to reproduce this with Windows nor Linux using java 1.5.0.

Few questions to be able to reproduce problem:
  • Which java JRE version is used? ("java -version" output).
    What OS (windows version?) is used?
    Can you give exact steps to re-create problem?
regards
Lauri
Matti
Posts: 737
Joined: Mon Sep 18, 2006 11:21 am
Location: Vantaa

Re: Closing dialog

Post by Matti »

lpaatero wrote:Interesting, I have not been able to reproduce this with Windows nor Linux using java 1.5.0.

Few questions to be able to reproduce problem:
  • Which java JRE version is used? ("java -version" output).
1.6.0.20
What OS (windows version?) is used?
Windows XP
Can you give exact steps to re-create problem?
[/list]
[/quote]
Open an sgf file. If you want the same file I can email it. Make changes. Attempt to close the program. Press Esc in teh closing dialog.

Matti
lpaatero
Go liiton hallitus
Posts: 528
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Closing dialog

Post by lpaatero »

It seems that ESC-key behavior depends on how file has been opened/created. For new file, it offers save-dialog; for existing file it immediately closes.

I will fix this in next bug-fix release, most likely within few weeks.

regards
Lauri
Post Reply