Bug#714524: [freeplane] Re: Bug#714524: [freeplane] Keystrokes no longer recognised during use

2014-06-28 Thread OmegaPhil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Package: freeplane
Version: 1.2.23+dfsg1-1

 Hi,
 
 as written on another thread, it would be good to know if you can 
 reproduce the issue with another Java application like jedit
 (packaged in Debian). This way we would know if it's a Java or
 Freeplane/FreeMind issue.
 
 Cheers, Eric


I have seen this now - the only other Java editing program that I
knowingly use is Eclipse (which I have used for years) - this doesnt
have the problem.

I finally have Java progression now, so I am looking into killing this
problem. Currenty looking into how maven works and then how to resolve
dependencies in some sort of local Debian way (freeplane does not
build from source without some local maven mangling).


- --- System information. ---
Architecture: amd64
Kernel:   Linux 3.14-1-amd64

Debian Release: jessie/sid
  990 testing security.debian.org
  990 testing ftp.uk.debian.org
  500 unstableftp.uk.debian.org
  500 stable  ftp.uk.debian.org
  500 quodlibet-unstable www.student.tugraz.at
1 experimentalftp.uk.debian.org

- --- Package information. ---
Depends  (Version) | Installed
==-+-===
default-jre| 2:1.7-52
 OR sun-java6-jre  |
javahelp2  | 2.0.05.ds1-7
groovy | 1.8.6-4
libcommons-lang-java   | 2.6-4
libcommons-io-java | 2.4-2
libjgoodies-forms-java  (= 1.6.0) | 1.6.0-4
simplyhtml(= 0.16.07) | 0.16.08-1
libbatik-java  | 1.7+dfsg-4
librhino-java  | 1.7R4-3
libfop-java| 1:1.1.dfsg-2
libxerces2-java| 2.11.0-7
libxml-commons-external-java   | 1.4.01-2
libjaxp1.3-java| 1.3.05-2
libjlatexmath-java | 1.0.3-1
libknopflerfish-osgi-framework-java| 2.3.3-3
libjsyntaxpane-java(= 0.9.6~r156) | 0.9.6~r156-4
libjortho-freeplane-java(= 1.2.23+dfsg1-1) |
1.2.23+dfsg1-1


Recommends (Version) | Installed
-+-===
xdg-utils| 1.1.0~rc1+git20111210-7.1
java-wrappers| 0.1.28


Package's Suggests field is empty.


- --- Output from package bug script ---
[debug] /usr/bin/freeplane: Found JAVA_HOME =
'/usr/lib/jvm/java-7-openjdk-amd64'
[debug] /usr/bin/freeplane: Found JAVA_CMD =
'/usr/lib/jvm/java-7-openjdk-amd64/bin/java'
DEBUG:   Freeplane parameters are ''.
DEBUG:   Linux omega1 3.14-1-amd64 #1 SMP Debian 3.14.7-1 (2014-06-16)
x86_64 GNU/Linux
No LSB modules are available.
DEBUG:   Distributor ID:Debian
Description:Debian GNU/Linux testing (jessie)
Release:testing
Codename:   jessie
DEBUG:   The following DEB packages are installed:
ii  freeplane   1.2.23+dfsg1-1 all
Java program for working with Mind Maps
ii  libjortho-freeplane-java1.2.23+dfsg1-1 all
Java spell-checking library
DEBUG:   Link '/usr/bin/freeplane' resolved to
'/usr/share/freeplane/freeplane.sh'.
DEBUG:   Freeplane Directory is '/usr/share/freeplane'.
DEBUG:   Calling: /usr/lib/jvm/java-7-openjdk-amd64/bin/java
 -Xmx512m
 -Dorg.freeplane.param1=
 -Dorg.freeplane.param2=
 -Dorg.freeplane.param3=
 -Dorg.freeplane.param4=
 -Dorg.freeplane.param4=
 -Dorg.freeplane.param4=
 -Dorg.freeplane.param4=
 -Dorg.freeplane.param4=
 -Dorg.knopflerfish.framework.bundlestorage=memory
 -Dorg.freeplane.globalresourcedir=/usr/share/freeplane/resources

- -Dorg.knopflerfish.gosg.jars=reference:file:/usr/share/freeplane/core/
 -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D
 -jar
 /usr/share/freeplane/framework.jar
 -xargs
 /usr/share/freeplane/props.xargs
 -xargs
 /usr/share/freeplane/init.xargs

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJTrqC/AAoJEBfSPH39wvOPD58P/ilP9Z/l9K6dQi6Xl4+YD81W
oOylWeDKbVsJZ2xYjXaKUxut6crPFRDQ9Gp+xrxx3L82gBrInZbFCjx04DqOwsxR
pw3TyaVQhRb8vqpc3xjXCtRKTJw6Y3j8A2Jxag/aEHxx+EUNRUjpVOIB8MixW4Bj
TbHjmL7VFXyH7TlO9j7O9EgUQWc69j8txrK1diKBLaiprB4uEElTqHS4n9kKhfC5
NzzGCO3M4rzl7+proLFoSHecNZbB03SyvKXoP84l5ISuJsStiZDYxBu7Ke17rfx5
S6RdO6xeyUOR7c7an/9NmXkWh8hmu8Eew9DCXiIQr5S3+RwG/PKa3wj73EwWWeOy
H65NY24rMCxFZqZTomCv8/rfQzg30LCgt+QbjcXI9ZQInJ+O5pSqWhbHMt3PW8mU

Bug#714524: [freeplane] Re: Bug#714524: [freeplane] Keystrokes no longer recognised during use

2014-06-28 Thread Felix Natter
OmegaPhil omegaphi...@startmail.com writes:

 On 28/06/14 12:02, OmegaPhil wrote:
 Package: freeplane Version: 1.2.23+dfsg1-1
 
 Hi,
 
 as written on another thread, it would be good to know if you can
  reproduce the issue with another Java application like jedit 
 (packaged in Debian). This way we would know if it's a Java or 
 Freeplane/FreeMind issue.
 
 Cheers, Eric
 

hi OmegaPhil!

 I have seen this now - the only other Java editing program that I 
 knowingly use is Eclipse (which I have used for years) - this
 doesnt have the problem.

AFAIK Eclipse does not use Java Swing but rather SWT, so it may
not be the best application to use for testing. JEdit seems simple,
maybe it's even easier to debug than Freeplane, I don't know.
 
 I finally have Java progression now, so I am looking into killing
 this problem. Currenty looking into how maven works and then how to

Ok, great to hear!

 resolve dependencies in some sort of local Debian way (freeplane
 does not build from source without some local maven mangling).

Are you trying to build master from here
  https://github.com/freeplane/freeplane
?

It may be easier to fix this in 1.3.x branch, which definitely builds
with ant and without maven (IMHO master does not use maven yet, either?).


 Right, I have added debug code to
 org.freeplane.view.swing.ui.DefaultNodeKeyListener.keyPressed and
 keyTyped, and can trivially demonstrate the problem - after keeping
 freeplane busy moving nodes around on my C mindmap, at some point it
 gives up and keystrokes no longer reach DefaultNodeKeyListener.

If you can reproduce it, you will definitely get help from us!
(so far we haven't been able to reproduce it on our machines!)

 Currently due to starting Java progression with a different Java
 project, my main IDE for Java is NetBeans. freeplane defines maven
 dependencies that are not in the central repository (and don't appear
 to be made to work with the Debian maven-helper stuff):

 forms-1.0.5.jar: Very old

Where do you get forms-1.0.5.jar from?
I think we're using 1.2.1:
  
https://github.com/freeplane/freeplane/blob/master/freeplane/lib/forms-1.2.1.jar

 freeplane-jortho-freeplane version.jar: No 'freeplane' directory
 exists in the central repository??

jortho is built from the freeplane sources.

 freeplane-simplyHTML--freeplane version.jar: Same

simplyhtml uses a versioning different from Freeplane.

 As these dependencies are unresolvable, NetBeans will not run or debug
 the project. I can see in the real installation that manifest files
 have been hacked to point to versionless jars in /usr/share/java, but
 it is too early for me to start hacking maven stuff as I've only just
 read into it today.

 How would you get NetBeans to run in this case?

Not sure whether we have NetBeans devs, but we can probably help you.

 Once I get breakpoints in, I expect to find a little bit more about
 the problem, but will probably decide Swing is screwing up. Then it is
 time to debug OpenJDK!!

I hope you only want to debug the Java part of OpenJDK :-)

 Thanks for any help.

*Please discuss all of this in our developer discussion forum*, where
all our devs listen and will (try to) help you:
  http://freeplane-developer.996965.n3.nabble.com/

(requires free registration)

Thanks for the initiative, Cheers and Best Regards,

Felix
-- 
Felix Natter

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#714524: [freeplane] Re: Bug#714524: [freeplane] Keystrokes no longer recognised during use

2014-06-28 Thread OmegaPhil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/06/14 16:19, Felix Natter wrote:
 OmegaPhil omegaphi...@startmail.com writes:
 
 On 28/06/14 12:02, OmegaPhil wrote:
 Package: freeplane Version: 1.2.23+dfsg1-1
 
 Hi,
 
 as written on another thread, it would be good to know if you
 can reproduce the issue with another Java application like
 jedit (packaged in Debian). This way we would know if it's a
 Java or Freeplane/FreeMind issue.
 
 Cheers, Eric
 
 
 hi OmegaPhil!
 
 I have seen this now - the only other Java editing program that
 I knowingly use is Eclipse (which I have used for years) -
 this doesnt have the problem.
 
 AFAIK Eclipse does not use Java Swing but rather SWT, so it may not
 be the best application to use for testing. JEdit seems simple, 
 maybe it's even easier to debug than Freeplane, I don't know.
 
 I finally have Java progression now, so I am looking into
 killing this problem. Currenty looking into how maven works and
 then how to
 
 Ok, great to hear!
 
 resolve dependencies in some sort of local Debian way
 (freeplane does not build from source without some local maven
 mangling).
 
 Are you trying to build master from here 
 https://github.com/freeplane/freeplane ?
 
 It may be easier to fix this in 1.3.x branch, which definitely
 builds with ant and without maven (IMHO master does not use maven
 yet, either?).
 
 
 Right, I have added debug code to 
 org.freeplane.view.swing.ui.DefaultNodeKeyListener.keyPressed
 and keyTyped, and can trivially demonstrate the problem - after
 keeping freeplane busy moving nodes around on my C mindmap, at
 some point it gives up and keystrokes no longer reach
 DefaultNodeKeyListener.
 
 If you can reproduce it, you will definitely get help from us! (so
 far we haven't been able to reproduce it on our machines!)
 
 Currently due to starting Java progression with a different Java 
 project, my main IDE for Java is NetBeans. freeplane defines
 maven dependencies that are not in the central repository (and
 don't appear to be made to work with the Debian maven-helper
 stuff):
 
 forms-1.0.5.jar: Very old
 
 Where do you get forms-1.0.5.jar from? I think we're using 1.2.1: 
 https://github.com/freeplane/freeplane/blob/master/freeplane/lib/forms-1.2.1.jar

 
 freeplane-jortho-freeplane version.jar: No 'freeplane'
 directory exists in the central repository??
 
 jortho is built from the freeplane sources.
 
 freeplane-simplyHTML--freeplane version.jar: Same
 
 simplyhtml uses a versioning different from Freeplane.
 
 As these dependencies are unresolvable, NetBeans will not run or
 debug the project. I can see in the real installation that
 manifest files have been hacked to point to versionless jars in
 /usr/share/java, but it is too early for me to start hacking
 maven stuff as I've only just read into it today.
 
 How would you get NetBeans to run in this case?
 
 Not sure whether we have NetBeans devs, but we can probably help
 you.
 
 Once I get breakpoints in, I expect to find a little bit more
 about the problem, but will probably decide Swing is screwing up.
 Then it is time to debug OpenJDK!!
 
 I hope you only want to debug the Java part of OpenJDK :-)
 
 Thanks for any help.
 
 *Please discuss all of this in our developer discussion forum*,
 where all our devs listen and will (try to) help you: 
 http://freeplane-developer.996965.n3.nabble.com/
 
 (requires free registration)
 
 Thanks for the initiative, Cheers and Best Regards,
 
 Felix


OK - continuing this on
http://freeplane-developer.996965.n3.nabble.com/freeplane-Keystrokes-no-longer-recognised-during-use-Debian-bug-714524-td423.html


-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJTrvqVAAoJEBfSPH39wvOPcz0P/j3WqK/RNx8JnzjuZCee3usp
4wmDFXPsGrOutbADccJVFY32H08GQ2y6bANSNW8QieMZnnJvoxz8sUt3GKGAW42R
q3eWo/P8D33c52wWtFjpl8upOQ+xXfWR7pP+3ZFV3G35vCq6Hjv0P9nLigdUK0IH
2Cb2BwaPKqJBgBdoTcuvqRVRmcsFi8oD3Fs7GemNF92tX+gXAXGv+bQDWddJKCHJ
FbfEz1xMv6cvWFDFOc976jJJL36JW4ZPgAdaG6MeLJ5Qc2HRuE5TqKzWw7zOf9df
G+5Vjx6NogS4dHIfkh+Z6V2tAXXQikYEpVNDg+an1jVJvHVPJYK8t7G55nVj/w3I
rHiiTIIAX8uqEmUx3k8n0BsnVoQ24TRkCh0NfQr+ViP2RoktHwnkxq3x7HGaQuDr
ckgrxX2EN+s7VAuLobqQSpKF1HGeL+9hKSYPmC3Ir4o4TCft+VfzXAPPIaYFFsCC
tLhS1Hz1nLAEAF2U3Ehwnxvit7gn7ZMR6pwbXsO7V/QtMhrApmFENsrYQWQ8U69t
WKVlZiIY3J1PkWdlvZLPtJfhquk0n/gy5WsFIEAuPpFtuQHADRffEeKdCJa+oRl/
zzAT01pvHQo2BrcNCDrhtvrOsJTpyTZzlF3v8EGTXRvheDBEo/Zly9hEEAFlnMyF
MTzS3NogRdVjuuFU+GIe
=3D8X
-END PGP SIGNATURE-

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.