Page 1 of 1

Clipboard Commands

Posted: Mon Apr 03, 2006 5:53 pm
by gwport
Currently I use version 2.1.19 with English menu, Windows 98SE German, Java j2re1.4.1_06.


Bug descriptions:

The menu command Edit | Copy Current Diagram is disabled
when I am in the variation. However, I would like to use
that command. Currently I need to create a new file that
consists of the variation's moves as the major move-sequence.
Why I need this? Not for this trivial example file, of course,
but whenever I have an alternation and several playouts (after
the alternation for removals of "dead stones") following it
and I want to copy a diagram for one of the playouts that does
include the passes as GoWrite exceptions shown below the print
view's board.

test000b.sgf
Print View
At variant move 2, choosing the menu command Edit | Copy Current
Diagram crashes the program or Java or both. Same for using
CTRL+SHIFT+G.

test0004e.sgf
Print View
Choosing the menu command Edit | Copy Current Diagram
crashes the program or Java or both. (But using CTRL+SHIFT+G
works.)

Bug without referred file:
When a new diagram is started and exceptions are shown, then
the passes BEFORE the new diagram also shown in Copy Current
Diagram. This is a bug!

test0004ea.sgf
Move 12
Print View
Tool Select
Mark the whole board
Then the command STRG F crashes the program and / or Java.
Same for menu command Edit | Copy Displayed Board. Same for
menu command Edit | Copy Current Diagram. Same for STRG +
SHIFT + G.


gowrite.cfg
gowritedebug.cfg
testi0008g.sgf
My attempted actions are commented in the SGF and the CFGs.

testi0008k.sgf
Edit | Copy Current Diagram and Edit | Copy Displayed Board
and STRG + SHIFT + G and STRG F do not work. The program /
Java crashes.
I have tried to avoid passes and moves by simulating the
plays as labels. It does not help.
Then I have tried the copy commands in a normal game file,
as far as they are available. STRG F works if a part of the
board is selected that is NOT the whole board. STRG does NOT
work (and crashes program / Java) if the whole board or nothing
is selected. This is not a consistent indication of the bug but
maybe it plays a role here.
I am pretty desparate, I want to write a commentary with examples
on small boards but too often GoWrite stops me from working.







Inline attachments:

test0000a.sgf


(;GM[1]FF[4]SZ[5]AP[GOWrite:2.1.19]FG[259:]AW[dc][cd][bd][ed][ec][dd][ad]GN[ ]PM[2]PW[ ]PB[ ]AB[eb][db][bc][bb][cb][ac][ab][cc]
(
)
(
;
;B[tt]
;W[tt]
)

)


test000b.sgf


(;GM[1]FF[4]SZ[5]AP[GOWrite:2.1.19]FG[259:]AW[dc][cd][bd][ed][ec][dd][ad]GN[ ]PM[2]PW[ ]PB[ ]AB[eb][db][bc][bb][cb][ac][ab][cc]
(
)
(
;FG[771:]PM[2]VW[]
;B[tt]
;W[tt]
)

)


test0004e.sgf


(;GM[1]FF[4]SZ[5]AP[GOWrite:2.1.19]FG[771:]AW[ca][cd][bd][bb][ed][ba][dd][cb][ad]GN[ ]PM[2]PW[ ]PB[ ]VW[]AB[eb][dc][ea][db][bc][ec][ac][cc][ab]
;B[tt]
;W[aa]
;B[da]
)


test0004ea.sgf


(;GM[1]FF[4]SZ[5]AP[GOWrite:2.1.19]AW[ca][cd][bd][bb][ed][ba][dd][cb][ad]FG[775:]PW[ ]PM[2]GN[ ]PB[ ]AB[eb][dc][ea][db][bc][ec][ac][cc][ab]VW[]
;B[tt]
;W[aa]
;B[da]
;MN[4]FG[771:]PM[2]
;W[ba]
;B[tt]
;W[aa]
;B[tt]
;W[ca]
;B[tt]
;W[bb]
;B[tt]
;W[cb]
)


gowrite.cfg


#GOWrite 2 configuration
#Sun Apr 02 15:00:24 CEST 2006
gowrite.graphic.board.exception.diagram.nonvisible=false
gowrite.graphic.style.Screen.format.count=0
gowrite.export.formats.Screen.options.2.id=Screen Board
gowrite.graphic.style.Export.format.count=0
gowrite.export.formats.ASCII.options.1.id=rec.games.go
gowrite.export.formats.WMF.options.2.id=WMF print
gowrite.graphic.board.exception.display.ontopofwarning=false
gowrite.graphic.style.ClipVect.format.count=1
gowrite.gui.version=2.1.19
gowrite.gui.editPanel.comment=268
gowrite.export.formats.ASCII.options.count=4
gowrite.locale.variant=
gowrite.export.formats.Screen.options.3.id=Printing
gowrite.gui.history.size=4
gowrite.graphic.style.Print.vector.grid=28.346457
gowrite.gui.framestate=6
gowrite.export.formats.ASCII.options.2.id=Senseis library
gowrite.export.formats.Bitmap.options.count=1
gowrite.graphic.style.Print.format.count=0
gowrite.export.formats.ASCII.options.fixed=4
gowrite.graphic.board.exception.display.unknown=false
gowrite.printer.service=Epson Stylus COLOR
gowrite.graphic.board.exception.display.null=false
gowrite.gui.history.3=D\:\\Vtxt\\j2003\\rulesets\\ikeda\\exa\\0007f.sgf
gowrite.gui.history.2=D\:\\Vtxt\\j2003\\rulesets\\ikeda\\exa\\0007g.sgf
gowrite.graphic.style.ClipVect.formats.0=WMF
gowrite.export.formats.Bitmap.options.fixed=1
gowrite.gui.history.1=D\:\\Vtxt\\j2003\\rulesets\\ikeda\\exa\\0007h.sgf
gowrite.gui.history.0=D\:\\Vtxt\\j2003\\rulesets\\ikeda\\exa\\0007i.sgf
gowrite.graphic.elements.Print.exceptions=false
gowrite.graphic.board.exception.diagram.ontopofwarning=false
gowrite.graphic.board.exception.display.sgferror=false
gowrite.gui.editPanel.top=437
gowrite.install.locale.variant=
gowrite.export.formats.ASCII.options.3.id=SuomiGo.fi
gowrite.locale.country=
gowrite.graphic.elements.Print.hcPoints=false
gowrite.graphic.board.hoshi.show=2
gowrite.install.locale.language=en
gowrite.export.formats.Bitmap.options.1.id=Image Default
gowrite.gui.frame.y=98.0
gowrite.export.formats.Screen.options.count=3
gowrite.gui.frame.x=153.0
gowrite.gui.frame.w=682.0
gowrite.export.formats.ASCII.options.4.id=Custom
gowrite.sgf.version=2.1.19
gowrite.gui.frame.h=512.0
gowrite.install.locale.country=
gowrite.export.formats.Screen.options.fixed=3
gowrite.export.formats.Screen.options.1.id=Display
gowrite.export.formats.WMF.options.count=2
gowrite.graphic.board.exception.display.missing=false
gowrite.graphic.board.exception.display.nonvisible=false
gowrite.export.formats.WMF.options.1.id=WMF screen
gowrite.export.formats.WMF.options.fixed=2
gowrite.locale.language=en



gowritedebug.cfg


#
#Sun Apr 02 17:47:39 CEST 2006
gowrite.log=
gowrite.logfile=C\:\\WINDOWS



testi0008g.sgf



(;GM[1]FF[4]SZ[8:7]AP[GOWrite:2.1.19]FG[771:]PW[ ]GN[ ]C[I try to use Insert | Forced Number Change but this is disabled.]AB[gd][gb][cd][ff][bd][db][bc][hd][fe][hc][da][dd][hb][cb][ha][ef][df][de][bb][ec][fb][fa][fd]AW[ge][be][fc][gg][cg][dg][ce][ad][fg][dc][eb][ca][eg][he][cf][ba][ag][ae][ac][gf][aa][ab]PM[2]PB[ ]VW[]
(
)
(
;MN[3]C[So I create a variation for the sole purpose to enable Insert | Forced Number Change.]PM[2]
;C[I want to use Edit | Copy Current Diagram but this is disabled.

So I am going to use Edit | Copy Current Board for the sole purpose to circumvent the disabled Edit | Copy Current Diagram.

I do use Edit | Copy Current Board and I am surprised that the program / Java is not crashed. (Rather usually for small boards and sequences starting with a pass, the program tends to crash here.) However, the copy does not include the so called exceptions\: the pass is not shown in the copy, although the Edit Diagram Settings was set to include the Exceptions.]B[tt]
)

)



testi0008k.sgf



(;GM[1]FF[4]SZ[8:7]AP[GOWrite:2.1.19]FG[775:]VW[]LB[ec:5][cc:6][gc:8][ee:10]GN[ ]AW[ge][be][fc][gg][cg][dg][ce][ad][fg][dc][eb][ca][eg][he][cf][ba][ag][ae][gf][ac][ab][aa][ec][ed]PM[2]PW[ ]PB[ ]AB[gd][gb][cd][ff][bd][db][bc][hd][fe][hc][da][dd][hb][cb][ha][ef][df][de][bb][fb][fd][fa][ea][cc][gc][ee]
)

Re: Clipboard Commands

Posted: Mon May 29, 2006 4:49 pm
by lpaatero
gwport wrote:Currently I use version 2.1.19 with English menu, Windows 98SE German, Java j2re1.4.1_06.


Bug descriptions:

The menu command Edit | Copy Current Diagram is disabled
when I am in the variation. However, I would like to use
that command. Currently I need to create a new file that
consists of the variation's moves as the major move-sequence.
Why I need this? Not for this trivial example file, of course,
but whenever I have an alternation and several playouts (after
the alternation for removals of "dead stones") following it
and I want to copy a diagram for one of the playouts that does
include the passes as GoWrite exceptions shown below the print
view's board.
Copy Current Diagram produces same diagrams as is in exported
game, when exporting all diagrams. For GOWrite to know what
diagrams to generate, one diagram start is needed for each diagram.
This allows setting of board area for diagram to be individual for
each diagram etc. So it would confuse different things to allow copy
of diagram, when such diagram would not be in exported diagrams.

In GOWrite 2.2 there is a way to make desired effect. In start start of
variation (or other place) you can add diagram start, where you set
"include moves before diagram" to all moves from previous diagram.

More typical example of this option is including last move of previous
diagram into next diagram. This is quite often seen in game records.
gwport wrote:
Bug without referred file:
When a new diagram is started and exceptions are shown, then
the passes BEFORE the new diagram also shown in Copy Current
Diagram. This is a bug!
Thanks for reporting, corrected in 2.1.23
gwport wrote:
test0004ea.sgf
Move 12
Print View
Tool Select
Mark the whole board
Then the command STRG F crashes the program and / or Java.
Same for menu command Edit | Copy Displayed Board. Same for
menu command Edit | Copy Current Diagram. Same for STRG +
SHIFT + G.
I am still investigating this.
Code review around this code revealed 2 unrelated bugs, but not reason for this...

regards
Lauri