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

Felix Natter fnatter at gmx.net
Sat Jun 28 15:19:55 UTC 2014


OmegaPhil <OmegaPhil00 at 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



More information about the pkg-java-maintainers mailing list