From aherraez
https://sourceforge.net/apps/trac/jchempaint/ticket/44
Testing the JCP Editor Applet 2.5.9 at
http://www.ebi.ac.uk/steinbeck-srv/jchempaint-nightly/EditorApplet.html
when I draw a structure, then click on the "Make hydrogens explicit" link, nothing happens.
From the menu, View > Implicit Hydrogens shows no hydrogens, but displays/hides the nonterminal carbons.
(Firefox 3.5 WinXP, Java 1.6.0_15)
Changed 2 years ago by shk3
status changed from new to closed
resolution set to fixed
This was a problem with the build process
Changed 2 years ago by aherraez
status changed from closed to reopened
resolution fixed deleted
Now the "Make hydrogens explicit" link is working, but the action seems to affect only the last part of structure drawn. I need to click several times in order to display explicit H on all atoms.
Maybe it's only acting on the currently selected part of the structure? (but I didn't select anything on purpose)
Changed 2 years ago by shk3
Can you try the nightly at http://www.ebi.ac.uk/steinbeck-srv/jchempaint30-nightly/EditorApplet.html ? It works for me there. I observed the phenomenon your saw as well at some point, but it seems to work now. Not sure what happens there.
Changed 2 years ago by aherraez
You're right, the menu now works fine, However, the "Make hydrogens explicit" link in the page still misbehaves.
And combinations of the link and the menu do funny things too: hydrogens explicited by the link are not hidden by the menu.
BTW, why do we have duplicate entries for "implicit H" under View and Atoms (the latter is greyed out)?
Changed 2 years ago by shk3
The link (=JavaScript? action) worked for me right now.
The two entries are identical. The greying-out is because the atom menu is only active if the selection contains one or more atoms. The double entry was a request by ChEBI people. I am not going to change this, if we want to we need to make a poll or so.
Changed 2 years ago by aherraez
The link works sometimes, but often only a part of the molecule gets its H explicited.
I can't find a reproducible pattern.
Changed 2 years ago by aherraez
Trying this again. Results are variable.
This procedure seems to be reproducible and should demonstrate the problem:
Using (it reports as v.3.2):
http://www.ebi.ac.uk/steinbeck-srv/jchempaint-nightly/EditorApplet.html
Empty canvas, go to menu Template > Alkaloids > Caffeine.
Then click on the "Make hydrogens explicit" link.
Not all hydrogens are displayed. Several clicks on the link end up showing all H's.
I observe this too with hand-drawn structures in several occasions, though not always; cannot find the pattern. Same in 3.0.1 and 3.1 from the download site. This makes the Javascript API unusable.Changed 2 years ago by shk3
status changed from new to closed
resolution set to fixed
This was a problem with the build process
Changed 2 years ago by aherraez
status changed from closed to reopened
resolution fixed deleted
Now the "Make hydrogens explicit" link is working, but the action seems to affect only the last part of structure drawn. I need to click several times in order to display explicit H on all atoms.
Maybe it's only acting on the currently selected part of the structure? (but I didn't select anything on purpose)
Changed 2 years ago by shk3
Can you try the nightly at http://www.ebi.ac.uk/steinbeck-srv/jchempaint30-nightly/EditorApplet.html ? It works for me there. I observed the phenomenon your saw as well at some point, but it seems to work now. Not sure what happens there.
Changed 2 years ago by aherraez
You're right, the menu now works fine, However, the "Make hydrogens explicit" link in the page still misbehaves.
And combinations of the link and the menu do funny things too: hydrogens explicited by the link are not hidden by the menu.
BTW, why do we have duplicate entries for "implicit H" under View and Atoms (the latter is greyed out)?
Changed 2 years ago by shk3
The link (=JavaScript? action) worked for me right now.
The two entries are identical. The greying-out is because the atom menu is only active if the selection contains one or more atoms. The double entry was a request by ChEBI people. I am not going to change this, if we want to we need to make a poll or so.
Changed 2 years ago by aherraez
The link works sometimes, but often only a part of the molecule gets its H explicited.
I can't find a reproducible pattern.
Changed 2 years ago by aherraez
Trying this again. Results are variable.
This procedure seems to be reproducible and should demonstrate the problem:
Using (it reports as v.3.2):
http://www.ebi.ac.uk/steinbeck-srv/jchempaint-nightly/EditorApplet.html
Empty canvas, go to menu Template > Alkaloids > Caffeine.
Then click on the "Make hydrogens explicit" link.
Not all hydrogens are displayed. Several clicks on the link end up showing all H's.
I observe this too with hand-drawn structures in several occasions, though not always; cannot find the pattern. Same in 3.0.1 and 3.1 from the download site. This makes the Javascript API unusable.
Changed 2 years ago by aherraez
This bug is still present in 3.1.1
Changed 2 years ago by shk3
I can confirm this. Unfortunately, this is hard to debug.
Changed 2 years ago by aherraez
This bug is still present in 3.1.1
Changed 2 years ago by shk3
I can confirm this. Unfortunately, this is hard to debug.
From rwst: Confirmed in 3.3. Place caffeine via template or SMILES OCn1cnc2c1c(=O)n(C)c(=O)n2C on canvas. Removing double bonds and ketones doesn't make implicit Hs appear. See #129 for the simplest test case similar to caffeine.