[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/auth/provider/godb.php on line 137: Undefined array key "PHPSESSID"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
goproblems.com • JavaScript bugs
Page 1 of 1

JavaScript bugs

Posted: Tue Apr 24, 2012 11:17 pm
by BartTM
As Jaguarondi discovered by playing my problem 15346 in JavaScript mode, multithreading seems to have fallen over.The R18 branch should fall back on the main line.
I added the full path to this branch so it won't break off anymore, but now it refuses to play this branch altogether.
So I wanted to comment about it in the very tiny JS comment box, but it did not submit.
So I tried to copy the text and paste it in a comment in Java mode but even that failed!

If I paste here I get the text I copied first, but I cannot paste it in a Java comment box nor copy the text from there to here...
Seems there are two separate and incompatible copy-paste buffers? Do you use type restrictions on comment boxes, and do these types differ?
In that case, please remove the type restriction on the SGF box in the Graphical Editor mode too; I'd like to edit SGF in another editor sometimes but can't do that now.

Sorry for putting several bugs in one report, but I feel they might be related.

Re: JavaScript bugs

Posted: Wed May 02, 2012 1:43 pm
by adum
okay, so there's a few things here.

first, right now the JS mode doesn't do what you call multithreading, with is the isomorphic support. i'm going to handle it soon by expanding the base version on the backend and sending that instead.

for JS comments, i don't know what your problem is. nobody else seems to have a problem with this. if you can reproduce or take a screenshot, please let me know.

for copy and paste to the Java version, Java maintains its own copy and paste buffer probably because it's trying to be secure.

Re: JavaScript bugs

Posted: Wed May 02, 2012 1:44 pm
by adum
oh, i didn't respond to the "but now it refuses to play this branch altogether" comment. can you elaborate on this? can you tell me exact sequence of steps to reproduce this behavior? thanks

Re: JavaScript bugs

Posted: Fri May 18, 2012 3:00 am
by BartTM
When I play 15346's correct move P19 in JS mode then the problem will always answer it at P18, no matter how often I hit the <| button.
In Java mode it wil choose between P18 and R18, as intended.

As for the copy/paste problem, I cannot reproduce that, at least not from the comment box to here; that works now. It really did not at first, but now it does, so let's ignore that.

But the comment feature itself does not work in JS mode, at least I still can't use it.
I'll describe:
In JS mode the new comment box opens but is only approx. 20 tokens by 2 lines small.
The comment type selector is just 1 token wide (!) and shows a narrow and very high but empty list.
The submit button just sits there. It graphically responds to being clicked on, but does not close the comment box nor does it submit the comment.

The comment button counter in the problem shows the total number of all comments including the disabled ones. In Java mode it only counts the active comments.

Re: JavaScript bugs

Posted: Wed Jun 20, 2012 4:40 pm
by TheBigH
Is there a workaround for the copy/paste issue? I would like to be able to save the SGF of problems I compose, in case goproblems freezes when I hit submit. That's happened to me twice already, causing me to lose all my work.

Re: JavaScript bugs

Posted: Thu Jun 21, 2012 9:46 am
by adum
it seems that Oracle has changed their Java policy on copy and paste for applets. there is a workaround i found:
https://blogs.oracle.com/kyle/entry/cop ... te_in_java

Re: JavaScript bugs

Posted: Thu Jun 21, 2012 10:13 am
by adum
for problem 15346, i moved the target indicators to the actual branch point. the JS version works like that.