Debian Bug report logs - #669712
freeplane: Visual corruption after scrolling mindmap right - openjdk issue?

version graph

Package: freeplane; Maintainer for freeplane is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>; Source for freeplane is src:freeplane (PTS, buildd, popcon).

Reported by: Omega Weapon <OmegaPhil+Debian.bugs@gmail.com>

Date: Sat, 21 Apr 2012 10:36:22 UTC

Severity: normal

Found in versions freeplane/1.1.3-2, freeplane/1.2.23-1

Done: Felix Natter <fnatter@gmx.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, OmegaPhil+Debian.bugs@gmail.com, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Sat, 21 Apr 2012 10:36:26 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <OmegaPhil+Debian.bugs@gmail.com>:
New Bug report received and forwarded. Copy sent to OmegaPhil+Debian.bugs@gmail.com, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Sat, 21 Apr 2012 10:36:26 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <OmegaPhil+Debian.bugs@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: freeplane: Visual corruption after scrolling mindmap right - openjdk issue?
Date: Sat, 21 Apr 2012 11:34:31 +0100
[Message part 1 (text/plain, inline)]
Package: freeplane
Version: 1.1.3-2
Severity: normal

Dear Maintainer,

Open any mindmap, scroll right and the visible mindmap area visually corrupts. 
The mindmap seems to be rerendered on certain cues, such as collapsing and expanding nodes - 
using Tools -> Preferences -> Behaviour page -> Selection Method: Center selected nodes works around
most of the problems as using the keyboard to navigate causes the map to be repeatedly rerendered.

This issue is probably openjdk-based as it used to happen to Freemind when I used it, and in Freemind,
Freeplane and jEdit the file browing dialog's contents corrupt in a similar way. Reporting it here
as Freeplane is the program I use most by far - please say if I need to log this against openjdk.

I have attached screenshots showing the corruption, and I can make many more if needed (in the dialog's
case I scrolled back and forth a few times, the corruption seems additive).

Thanks
   

-- Package-specific info:
[debug] /usr/bin/freeplane: Picking up the JVM designated by the alternatives system: 
[debug] /usr/bin/freeplane:   JAVA_HOME = '/usr/lib/jvm/java-6-openjdk-amd64'
[debug] /usr/bin/freeplane: Found JAVA_HOME = '/usr/lib/jvm/java-6-openjdk-amd64'
[debug] /usr/bin/freeplane: Found JAVA_CMD = '/usr/lib/jvm/java-6-openjdk-amd64/bin/java'
DEBUG:   Freeplane parameters are ''.
DEBUG:   Linux 3.2.0-2-amd64 #1 SMP Sun Apr 15 16:47:38 UTC 2012 x86_64 GNU/Linux
No LSB modules are available.
DEBUG:   Distributor ID:	Debian
Description:	Debian GNU/Linux testing (wheezy)
Release:	testing
Codename:	wheezy
DEBUG:   The following DEB packages are installed:
ii  freeplane                   1.1.3-2                     Java program to create and edit mind maps.
ii  libjortho-freeplane-java    1.1.3-2                     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-6-openjdk-amd64/bin/java
         -Xmx512m
         -Dorg.freeplane.param1=
         -Dorg.freeplane.param2=
         -Dorg.freeplane.param3=
         -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

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages freeplane depends on:
ii  default-jre                          1:1.6-47
ii  fop                                  1:1.0.dfsg2-6
ii  groovy                               1.8.6-1
ii  javahelp2                            2.0.05.ds1-6
ii  libbatik-java                        1.7+dfsg-1
ii  libcommons-lang-java                 2.6-3
ii  libjaxp1.3-java                      1.3.05-2
ii  libjgoodies-forms-java               1.3.0-2
ii  libjlatexmath-java                   0.9.7-1
ii  libjortho-freeplane-java             1.1.3-2
ii  libknopflerfish-osgi-framework-java  2.3.3-2
ii  libxerces2-java                      2.11.0-5
ii  libxml-commons-external-java         1.4.01-2
ii  rhino                                1.7R3-5
ii  simplyhtml                           0.13.1-3

Versions of packages freeplane recommends:
ii  java-wrappers  0.1.25
ii  xdg-utils      1.1.0~rc1+git20111210-6

freeplane suggests no packages.

-- no debconf information
[Freeplane - openjdk visual corruption - 21.04.12.png (image/png, attachment)]
[Freeplane - openjdk visual corruption in file browse dialog - 21.04.12.png (image/png, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Mon, 07 Jan 2013 21:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Mon, 07 Jan 2013 21:03:03 GMT) (full text, mbox, link).


Message #10 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: 669712@bugs.debian.org
Subject: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap right - openjdk issue?
Date: Mon, 07 Jan 2013 21:00:49 +0000
[Message part 1 (text/plain, inline)]
Package: freeplane
Version: 1.1.3-2

This bug is being tracked in 
https://bugs.freedesktop.org/show_bug.cgi?id=50850 - the real workaround 
is to pass '-Dsun.java2d.xrender=True' to java. For the benefit of other 
radeon freeplane users, I have attached a diff to /usr/bin/freeplane 
that adds to the defines variable that is already in use.
[freeplane_radeon_2d_fix.diff (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Sat, 26 Jan 2013 09:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Natter <fnatter@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Sat, 26 Jan 2013 09:57:03 GMT) (full text, mbox, link).


Message #15 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: 669712@bugs.debian.org
Subject: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Sat, 26 Jan 2013 10:51:56 +0100
hi Omega,

thanks for the patch. Sorry for the delay: I just picked up the
freeplane 1.2.x package about a month ago, and I also need to update
simplyhtml and libjsyntaxpane-java for the freeplane package to work,
so I was quite busy with this ;-)

I am also working upstream on freeplane => so I have some questions
regarding your patch:

- Can we generally apply this patch or could it break something else in
  some cases?

- What is your experience with OpenJDK? Does it work properly (with this
  patch)? Now that OpenJDK7 has (almost) the same codebase as OracleJDK7
  (that's what the OpenJDK folks told me), I think we should try to
  support it.

Thanks and Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Sun, 16 Jun 2013 16:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Sun, 16 Jun 2013 16:39:04 GMT) (full text, mbox, link).


Message #20 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: 669712@bugs.debian.org
Subject: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Sun, 16 Jun 2013 17:37:44 +0100
Very sorry about the delay - I didn't get your email.

> Can we generally apply this patch or could it break something else in
> some cases?

So far the change has simply lead to slow graphics rendering in 
freeplane (interestingly when you get to the second/third line of a node 
it suddenly speeds up mind), but without corruption.

There is a separate failure where freeplane suddenly ignores all 
keyboard input, but I later confirmed this also happened under the 
normal graphics engine, so shouldn't be related (I can report this bug, 
but there is nothing useful I can say about it - I have to restart 
freeplane at this point).


> What is your experience with OpenJDK? Does it work properly (with this
> patch)? Now that OpenJDK7 has (almost) the same codebase as OracleJDK7
> (that's what the OpenJDK folks told me), I think we should try to
> support it.

Currently I use Eclipse, RSSOwl, and now I2P - OpenJDK seems to behave.

Aside from the strange keyboard issue, the other major failure I've seen 
is with Open Wonderland (http://openwonderland.org/) - the 
game/experience is unusable, I'm told due to 
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=568 - you can see 
the long thread I had here - 
https://groups.google.com/forum/?fromgroups=#!topic/openwonderland/-c3P211bjGI). 
This of course is non-essential.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Mon, 17 Jun 2013 18:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Natter <fnatter@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Mon, 17 Jun 2013 18:51:04 GMT) (full text, mbox, link).


Message #25 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Mon, 17 Jun 2013 20:47:17 +0200
Omega Weapon <omegaphil@gmail.com> writes:

> Very sorry about the delay - I didn't get your email.
>
>> Can we generally apply this patch or could it break something else in
>> some cases?
>
> So far the change has simply lead to slow graphics rendering in freeplane
> (interestingly when you get to the second/third line of a node it suddenly
> speeds up mind), but without corruption.
>
> There is a separate failure where freeplane suddenly ignores all keyboard
> input, but I later confirmed this also happened under the normal
> graphics

You could try to update to 1.2.23, but I don't know whether that would
fix it (probably not).

> engine, so shouldn't be related (I can report this bug, but there is
> nothing useful I can say about it - I have to restart freeplane at this
> point).

There was an interesting reply:
  https://bugs.freedesktop.org/show_bug.cgi?id=50850#c13

which states that the XRender pipeline (-Dsun.java2d.xrender=True)
also causes problems (this time when scrolling _vertically_ ;-)
  https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1101348

The vertical scrolling bug is reported to be fixed in openjdk-8:
  http://mail.openjdk.java.net/pipermail/xrender-dev/2013-January/000050.html
=> I guess that means we don't get a fix for openjdk-7, but I will ask
on Debian-java (since it's patched on Ubuntu already).

So, to repeat this: the solution is to pass -Dsun.java2d.xrender=True to
java, which can be done by modifying 'JAVA_OPTS' in /usr/bin/freeplane
for the 1.2.23 Debian package (or modify 'defines' for the 1.1.x
package). But that might create problems as well, so you should only use
it if you have visual corruption and I shouldn't include it in
/usr/bin/freeplane of the Debian package at least until the xrender
pipeline is fixed in OpenJDK7 of Debian.

>> What is your experience with OpenJDK? Does it work properly (with this
>> patch)? Now that OpenJDK7 has (almost) the same codebase as OracleJDK7
>> (that's what the OpenJDK folks told me), I think we should try to
>> support it.
>
> Currently I use Eclipse, RSSOwl, and now I2P - OpenJDK seems to behave.

That's good to know, I am also using OpenJDK7 in the mean time and have
no major problems.

Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Tue, 18 Jun 2013 13:21:07 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 18 Jun 2013 13:21:07 GMT) (full text, mbox, link).


Message #30 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: Felix Natter <fnatter@gmx.net>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Tue, 18 Jun 2013 14:16:12 +0100
On 17/06/13 19:47, Felix Natter wrote:
> Omega Weapon <omegaphil@gmail.com> writes:
>
>> There is a separate failure where freeplane suddenly ignores all keyboard
>> input, but I later confirmed this also happened under the normal
>> graphics
>
> You could try to update to 1.2.23, but I don't know whether that would
> fix it (probably not).

OK, will wait till that and its dependencies hit testing. Not looking 
forward to it if this upgrade will visually trash my mindmaps though ;) 
(At work I tried a recent version and they'd changed the way things were 
rendered, making it a lot less space efficient etc - went straight back 
to the 'current' version).

I was imagining I'd need to get C++ and Java progression to fight the 
keyboard issue.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Tue, 18 Jun 2013 18:42:23 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Natter <fnatter@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 18 Jun 2013 18:42:23 GMT) (full text, mbox, link).


Message #35 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Tue, 18 Jun 2013 20:39:35 +0200
Omega Weapon <omegaphil@gmail.com> writes:

> On 17/06/13 19:47, Felix Natter wrote:
>> Omega Weapon <omegaphil@gmail.com> writes:
>>
>>> There is a separate failure where freeplane suddenly ignores all keyboard
>>> input, but I later confirmed this also happened under the normal
>>> graphics
>>
>> You could try to update to 1.2.23, but I don't know whether that would
>> fix it (probably not).
>
> OK, will wait till that and its dependencies hit testing. Not looking
> forward to it if this upgrade will visually trash my mindmaps though
> ;)

You will have to re-apply the change (-Dsun.java2d.xrender=True) to
/usr/bin/freeplane (see above).

Since it might not be a Freeplane issue, I cannot promise that your
keyboard issue gets better (or even that it doesn't get worse) :-/ But
if it's a reproducible Freeplane issue, then Dimitry will probably (at
least try to) fix it.

> (At
> work I tried a recent version and they'd changed the way things were
> rendered, making it a lot less space efficient etc - went straight back to
> the 'current' version).

Do you refer to 1.3.x vs 1.2.x or 1.2.x vs 1.1.x?

Anyway, IMHO this is the price for high level java programming and a
rich feature set. Or are you referring to "screen space"?

> I was imagining I'd need to get C++ and Java progression to fight the
> keyboard issue.

Does the issue also occur with other Java software?

Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Wed, 19 Jun 2013 13:36:09 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Wed, 19 Jun 2013 13:36:09 GMT) (full text, mbox, link).


Message #40 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: 669712@bugs.debian.org
Cc: Felix Natter <fnatter@gmx.net>
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Wed, 19 Jun 2013 14:32:05 +0100
On 18/06/13 19:39, Felix Natter wrote:
>
> Since it might not be a Freeplane issue, I cannot promise that your
> keyboard issue gets better (or even that it doesn't get worse) :-/ But
> if it's a reproducible Freeplane issue, then Dimitry will probably (at
> least try to) fix it.

I have tried to make a test case to reproduce it, but its not happening 
- both fast node creation and node moving hasn't triggered the problem 
in a new or old mindmap (my experience with the issue is its pretty 
non-deterministic, but at times it hits frequently - i.e. happens, 
restart freeplane, happens again in a minute).

The problem started at some point last year, here are my notes up until 
February, where I gave up tracking it:

30.12.12: Just had my first failure under OpenJDK v7 - have to assume 
its Freeplane's problem.
08.02.13: Seems to be more easily triggerable when I am using a chord 
with the keyboard - e.g. Cntrl + Up/down to move nodes up/down etc. Had 
this twice quickly in a row when this happened.
12.02.13: Happened repeatedly whilst I was making C mindmap Language 
data types char*/string escapes nodes.
15.02.13: Probably happens if you press a key between node creation and 
finalisation - i.e. create a node or type text into a node and enter 
then press another key before the node is 'fixed'.
27.02.13: Search on 'sizeof' in C programming mindmap - a few Cntrl+Gs 
leads to this issue

I had hoped to learn Java and then hook into keypresses - some 
completely clueless notes:

====================================================================

grep -iInr 'getNodeKeyListener'
src/org/freeplane/view/swing/ui/UserInputListenerFactory.java:192: 
public KeyListener getNodeKeyListener() {
src/org/freeplane/view/swing/map/NodeView.java:1126: 
mainView.addKeyListener(userInputListenerFactory.getNodeKeyListener());
src/org/freeplane/core/ui/IUserInputListenerFactory.java:58: 
KeyListener getNodeKeyListener();

These are under the freeplane source directory. 
'src/org/freeplane/core/ui/IUserInputListenerFactory.java' looks to be 
the initial interface which ties Java functionality (KeyListener) with a 
method. It looks like 
'src/org/freeplane/view/swing/ui/UserInputListenerFactory.java' might 
allow me to insert code on keypresses, but theres nothing about keypress 
events, just method calls - so it might not be doable without creating 
my own KeyListener method?

====================================================================


>> (At
>> work I tried a recent version and they'd changed the way things were
>> rendered, making it a lot less space efficient etc - went straight back to
>> the 'current' version).
>
> Do you refer to 1.3.x vs 1.2.x or 1.2.x vs 1.1.x?
>
> Anyway, IMHO this is the price for high level java programming and a
> rich feature set. Or are you referring to "screen space"?

Screen space - hence visual comment. I'll stop here now since its been 
some months since I tested and my memory is hazy - quick testing right 
now on the work Windows machine shows that nodes are no longer bubbles, 
automatic formatting style appears to have changed, icons are not on the 
side closest the centre (which is where my eyes scan), etc etc... I 
guess all that is just a project to fight to get the appearance back to 
normal. I also remember having to mess with DPI to get a similar size, 
but it looks OK now in this test.


>> I was imagining I'd need to get C++ and Java progression to fight the
>> keyboard issue.
>
> Does the issue also occur with other Java software?

I havent seen this in anything else - freeplane is by far my most used 
Java program, but I use Eclipse + PyDev fairly often so I should have 
had this happen a few times by now if the problem was more widespread.

Thanks!

------------------------------------------------------
Libre software on Github: https://github.com/OmegaPhil



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Sat, 22 Jun 2013 10:09:14 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Natter <fnatter@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Sat, 22 Jun 2013 10:09:14 GMT) (full text, mbox, link).


Message #45 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Sat, 22 Jun 2013 12:07:23 +0200
Omega Weapon <omegaphil@gmail.com> writes:

hello Omega,

> On 18/06/13 19:39, Felix Natter wrote:
>>
>> Since it might not be a Freeplane issue, I cannot promise that your
>> keyboard issue gets better (or even that it doesn't get worse) :-/ But
>> if it's a reproducible Freeplane issue, then Dimitry will probably (at
>> least try to) fix it.
>
> I have tried to make a test case to reproduce it, but its not happening -
> both fast node creation and node moving hasn't triggered the problem in a
> new or old mindmap (my experience with the issue is its pretty
> non-deterministic, but at times it hits frequently - i.e. happens, restart
> freeplane, happens again in a minute).
>
> The problem started at some point last year, here are my notes up until
> February, where I gave up tracking it:
>
> 30.12.12: Just had my first failure under OpenJDK v7 - have to assume its
> Freeplane's problem.
> 08.02.13: Seems to be more easily triggerable when I am using a chord with
> the keyboard - e.g. Cntrl + Up/down to move nodes up/down etc. Had this
> twice quickly in a row when this happened.
> 12.02.13: Happened repeatedly whilst I was making C mindmap Language data
> types char*/string escapes nodes.
> 15.02.13: Probably happens if you press a key between node creation and
> finalisation - i.e. create a node or type text into a node and enter then
> press another key before the node is 'fixed'.
> 27.02.13: Search on 'sizeof' in C programming mindmap - a few Cntrl+Gs
> leads to this issue

I talked to Dimitry, the project lead, about the issue. _Roughly_ it's
like this:

- there is an EventQueue to make sure that the input order is preserved
- an EventBuffer/KeyEventDispatcher waits for the component to get focus
  or for an ESCAPE key press
- There is only one Thread, so it's not a multi-threading issue.

=> *a workaround is to press ESCAPE in this case :-)*

> I had hoped to learn Java and then hook into keypresses - some completely
> clueless notes:

Dimitry tried hard to reproduce this with a fixed set of steps, and he
didn't succeed, so it may be hard to do :-(

> ====================================================================
>
> grep -iInr 'getNodeKeyListener'
> src/org/freeplane/view/swing/ui/UserInputListenerFactory.java:192: public
> KeyListener getNodeKeyListener() {
> src/org/freeplane/view/swing/map/NodeView.java:1126:
> mainView.addKeyListener(userInputListenerFactory.getNodeKeyListener());
> src/org/freeplane/core/ui/IUserInputListenerFactory.java:58: KeyListener
> getNodeKeyListener();
>
> These are under the freeplane source
> directory. 'src/org/freeplane/core/ui/IUserInputListenerFactory.java' looks
> to be the initial interface which ties Java functionality (KeyListener)
> with a method. It looks like
> src/org/freeplane/view/swing/ui/UserInputListenerFactory.java' might allow
> me to insert code on keypresses, but theres nothing about keypress events,
> just method calls - so it might not be doable without creating my own
> KeyListener method?

I am a Java dev myself, and I don't know how to fix this. I think you
have to dive really deeply into swing _and_ into the freeplane codebase
(like Dimitry does) in order to fix this.

> ====================================================================
>
>
>>> (At
>>> work I tried a recent version and they'd changed the way things were
>>> rendered, making it a lot less space efficient etc - went straight back to
>>> the 'current' version).
>>
>> Do you refer to 1.3.x vs 1.2.x or 1.2.x vs 1.1.x?
>>
>> Anyway, IMHO this is the price for high level java programming and a
>> rich feature set. Or are you referring to "screen space"?
>
> Screen space - hence visual comment. I'll stop here now since its been some
> months since I tested and my memory is hazy - quick testing right now
> on

I think you can hide every sub-window in Freeplane. Freeplane 1.3.x (not
yet released) will be even more flexible as every subwindow can be
arranged independently.

> the work Windows machine shows that nodes are no longer bubbles, automatic
> formatting style appears to have changed, icons are not on the side closest
> the centre (which is where my eyes scan), etc etc... I guess all that is
> just a project to fight to get the appearance back to normal. I also
> remember having to mess with DPI to get a similar size, but it looks OK now
> in this test.

If you have a question concerning the new features that you can't figure
out yourself, you can post here:
  http://sourceforge.net/apps/phpbb/freeplane/viewforum.php?f=1

>>> I was imagining I'd need to get C++ and Java progression to fight the
>>> keyboard issue.
>>
>> Does the issue also occur with other Java software?
>
> I havent seen this in anything else - freeplane is by far my most used Java
> program, but I use Eclipse + PyDev fairly often so I should have had this
> happen a few times by now if the problem was more widespread.

According to the above, the keyboard issue is not a JDK issue, but
rather a swing/freeplane issue.

> Thanks!

You're welcome :-)

Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Sun, 23 Jun 2013 11:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Sun, 23 Jun 2013 11:03:04 GMT) (full text, mbox, link).


Message #50 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: Felix Natter <fnatter@gmx.net>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Sun, 23 Jun 2013 11:59:59 +0100
On 22/06/13 11:07, Felix Natter wrote:

> I talked to Dimitry, the project lead, about the issue. _Roughly_ it's
> like this:
>
> - there is an EventQueue to make sure that the input order is preserved
> - an EventBuffer/KeyEventDispatcher waits for the component to get focus
>    or for an ESCAPE key press
> - There is only one Thread, so it's not a multi-threading issue.
>
> => *a workaround is to press ESCAPE in this case :-)*

Excellent, a workaround! I'll be looking forward to the next instance 
now. I'm grateful for Dimitry's efforts!


>> I had hoped to learn Java and then hook into keypresses - some completely
>> clueless notes:
>
> Dimitry tried hard to reproduce this with a fixed set of steps, and he
> didn't succeed, so it may be hard to do :-(

Sorry to cause such trouble - I'm due to get C++ progression hopefully 
within a few weeks, so maybe I'm 0.5y away from reading into Java. Then 
at least I will be able to add debugging code to prove what is/isn't 
happening.


>> ====================================================================
>>
>> grep -iInr 'getNodeKeyListener'
>> src/org/freeplane/view/swing/ui/UserInputListenerFactory.java:192: public
>> KeyListener getNodeKeyListener() {
>> src/org/freeplane/view/swing/map/NodeView.java:1126:
>> mainView.addKeyListener(userInputListenerFactory.getNodeKeyListener());
>> src/org/freeplane/core/ui/IUserInputListenerFactory.java:58: KeyListener
>> getNodeKeyListener();
>>
>> These are under the freeplane source
>> directory. 'src/org/freeplane/core/ui/IUserInputListenerFactory.java' looks
>> to be the initial interface which ties Java functionality (KeyListener)
>> with a method. It looks like
>> src/org/freeplane/view/swing/ui/UserInputListenerFactory.java' might allow
>> me to insert code on keypresses, but theres nothing about keypress events,
>> just method calls - so it might not be doable without creating my own
>> KeyListener method?
>
> I am a Java dev myself, and I don't know how to fix this. I think you
> have to dive really deeply into swing _and_ into the freeplane codebase
> (like Dimitry does) in order to fix this.

Sounds like more of a hope for me than fighting OpenJDK 7!


------------------------------------------------------
Libre software on Github: https://github.com/OmegaPhil
FSF member #9442



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Tue, 25 Jun 2013 17:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Natter <fnatter@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 25 Jun 2013 17:21:04 GMT) (full text, mbox, link).


Message #55 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Tue, 25 Jun 2013 19:17:55 +0200
Omega Weapon <omegaphil@gmail.com> writes:

hi Omega,

> On 22/06/13 11:07, Felix Natter wrote:
>
>> I talked to Dimitry, the project lead, about the issue. _Roughly_ it's
>> like this:
>>
>> - there is an EventQueue to make sure that the input order is preserved
>> - an EventBuffer/KeyEventDispatcher waits for the component to get focus
>>    or for an ESCAPE key press
>> - There is only one Thread, so it's not a multi-threading issue.
>>
>> => *a workaround is to press ESCAPE in this case :-)*
>
> Excellent, a workaround! I'll be looking forward to the next instance
> now. I'm grateful for Dimitry's efforts!

Freeplane 1.2.23 has just hit testing :-)

>
>>> I had hoped to learn Java and then hook into keypresses - some completely
>>> clueless notes:
>>
>> Dimitry tried hard to reproduce this with a fixed set of steps, and he
>> didn't succeed, so it may be hard to do :-(
>
> Sorry to cause such trouble - I'm due to get C++ progression hopefully
> within a few weeks, so maybe I'm 0.5y away from reading into Java. Then at
> least I will be able to add debugging code to prove what is/isn't
> happening.
>
>
>>> ====================================================================
>>>
>>> grep -iInr 'getNodeKeyListener'
>>> src/org/freeplane/view/swing/ui/UserInputListenerFactory.java:192: public
>>> KeyListener getNodeKeyListener() {
>>> src/org/freeplane/view/swing/map/NodeView.java:1126:
>>> mainView.addKeyListener(userInputListenerFactory.getNodeKeyListener());
>>> src/org/freeplane/core/ui/IUserInputListenerFactory.java:58: KeyListener
>>> getNodeKeyListener();
>>>
>>> These are under the freeplane source
>>> directory. 'src/org/freeplane/core/ui/IUserInputListenerFactory.java' looks
>>> to be the initial interface which ties Java functionality (KeyListener)
>>> with a method. It looks like
>>> src/org/freeplane/view/swing/ui/UserInputListenerFactory.java' might allow
>>> me to insert code on keypresses, but theres nothing about keypress events,
>>> just method calls - so it might not be doable without creating my own
>>> KeyListener method?
>>
>> I am a Java dev myself, and I don't know how to fix this. I think you
>> have to dive really deeply into swing _and_ into the freeplane codebase
>> (like Dimitry does) in order to fix this.
>
> Sounds like more of a hope for me than fighting OpenJDK 7!

Now that we've got the two workarounds, do you think we can close this
bug? You can open a new report if you have problems (with 1.2.23).

Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Wed, 26 Jun 2013 14:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Wed, 26 Jun 2013 14:09:05 GMT) (full text, mbox, link).


Message #60 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: Felix Natter <fnatter@gmx.net>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Wed, 26 Jun 2013 15:04:31 +0100
[Message part 1 (text/plain, inline)]
On 25/06/13 18:17, Felix Natter wrote:
>
> Freeplane 1.2.23 has just hit testing :-)

Have just upgraded - just for reference, have attached a before and 
after on a random mindmap - all my mindmaps use automatic formatting, 
which appears to be broken/changed now.


> Now that we've got the two workarounds, do you think we can close this
> bug? You can open a new report if you have problems (with 1.2.23).
>
> Best Regards,

The bug finally happened again yesterday - ESC didnt work. Alt+F4 does 
work though - so the window manager (xfwm4 from XFCE4) gets keystrokes 
OK at least. This is a different bug from the one I originally reported, 
so it is fair enough to close this and I'll open a new one when the 
keyboard issue recurrs with the latest Freeplane.


------------------------------------------------------
Libre software on Github: https://github.com/OmegaPhil
FSF member #9442
[Freeplane Networking mindmap after Freeplane upgrade - 26.06.13.png (image/png, attachment)]
[Freeplane Networking mindmap prior to Freeplane upgrade - 26.06.13.png (image/png, attachment)]

Reply sent to Felix Natter <fnatter@gmx.net>:
You have taken responsibility. (Wed, 26 Jun 2013 16:30:23 GMT) (full text, mbox, link).


Notification sent to Omega Weapon <OmegaPhil+Debian.bugs@gmail.com>:
Bug acknowledged by developer. (Wed, 26 Jun 2013 16:30:23 GMT) (full text, mbox, link).


Message #65 received at 669712-done@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712-done@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Wed, 26 Jun 2013 18:29:06 +0200
Omega Weapon <omegaphil@gmail.com> writes:

hi Omega,

> On 25/06/13 18:17, Felix Natter wrote:
>>
>> Freeplane 1.2.23 has just hit testing :-)
>
> Have just upgraded - just for reference, have attached a before and after
> on a random mindmap - all my mindmaps use automatic formatting, which
> appears to be broken/changed now.

I'm not sure what's happening here. If you want to find out, then post
here:
  http://sourceforge.net/apps/phpbb/freeplane/viewforum.php?f=1

>> Now that we've got the two workarounds, do you think we can close this
>> bug? You can open a new report if you have problems (with 1.2.23).
>>
>> Best Regards,
>
> The bug finally happened again yesterday - ESC didnt work. Alt+F4 does work
> though - so the window manager (xfwm4 from XFCE4) gets keystrokes OK at
> least. This is a different bug from the one I originally reported, so it is
> fair enough to close this and I'll open a new one when the keyboard issue
> recurrs with the latest Freeplane.

Ok, closing now.

Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Mon, 01 Jul 2013 19:30:05 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Mon, 01 Jul 2013 19:30:05 GMT) (full text, mbox, link).


Message #70 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: 669712@bugs.debian.org
Subject: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Mon, 01 Jul 2013 20:26:07 +0100
[Message part 1 (text/plain, inline)]
Package: freeplane
Version: 1.2.23-1

The situation has now degraded again... I opened a mindmap today, and 
now with the software rendering, ends of words are disappearing! See the 
attached splash and new mindmap screenshots!

Any idea where I should report this? Its clear changes are being made in 
the Java setup without testing.

Going back to hardware rendering now - I can work around the horizontal 
scroll corruption with 'Center highlighted node' somewhat.


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

Debian Release: jessie/sid
  990 testing         security.debian.org
  990 testing         ftp.uk.debian.org
  500 unstable        ignorantguru.github.com
  500 stable          www.getgnash.org
  500 quodlibet-unstable www.student.tugraz.at
    1 experimental    ftp.uk.debian.org

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


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


Package's Suggests field is empty.


--- Output from package bug script ---
[debug] /usr/bin/freeplane: Found JAVA_HOME = 
'/usr/lib/jvm/java-6-openjdk-amd64'
[debug] /usr/bin/freeplane: Found JAVA_CMD = 
'/usr/lib/jvm/java-6-openjdk-amd64/bin/java'
DEBUG:   Freeplane parameters are ''.
DEBUG:   Linux omega1 3.9-1-amd64 #1 SMP Debian 3.9.6-1 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-1           all 
Java program for working with Mind Maps
ii  libjortho-freeplane-java    1.2.23-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-6-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
         -Dsun.java2d.xrender=True
         -jar
         /usr/share/freeplane/framework.jar
         -xargs
         /usr/share/freeplane/props.xargs
         -xargs
         /usr/share/freeplane/init.xargs


------------------------------------------------------
Libre software on Github: https://github.com/OmegaPhil
FSF member #9442
[Freeplane new mindmap - missing ends of words - 1.07.13.png (image/png, attachment)]
[Freeplane splash screen - missing letters - 1.07.13.png (image/png, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Mon, 01 Jul 2013 20:27:09 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Natter <fnatter@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Mon, 01 Jul 2013 20:27:09 GMT) (full text, mbox, link).


Message #75 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Mon, 01 Jul 2013 22:23:10 +0200
Omega Weapon <omegaphil@gmail.com> writes:

> Package: freeplane
> Version: 1.2.23-1
>
> The situation has now degraded again... I opened a mindmap today, and now
> with the software rendering, ends of words are disappearing! See the
> attached splash and new mindmap screenshots!
>
> Any idea where I should report this? Its clear changes are being made in
> the Java setup without testing.

I don't think this is specific to Freeplane, it looks more like a
general openjdk issue.

If it persists with the suggestions (see below!), you can ask at the
xrender mailing list (since it failed with -Dsun.java2d.xrender=True),
see here:
  http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=681&p=3364&hilit=xrender#p3370


> Going back to hardware rendering now - I can work around the horizontal
> scroll corruption with 'Center highlighted node' somewhat.
>
>
> --- System information. ---
> Architecture: amd64
> Kernel:       Linux 3.9-1-amd64
>
> Debian Release: jessie/sid
>   990 testing         security.debian.org
>   990 testing         ftp.uk.debian.org
>   500 unstable        ignorantguru.github.com
>   500 stable          www.getgnash.org
>   500 quodlibet-unstable www.student.tugraz.at
>     1 experimental    ftp.uk.debian.org
>
> --- Package information. ---
> Depends                                       (Version) | Installed
> =======================================================-+-================
> default-jre                                             | 1:1.6-47
>  OR sun-java6-jre                                       |
> javahelp2                                               | 2.0.05.ds1-6
> groovy                                                  | 1.8.6-1
> libcommons-lang-java                                    | 2.6-3
> libcommons-io-java                                      | 2.4-2
> libjgoodies-forms-java                       (>= 1.6.0) | 1.6.0-4
> simplyhtml                                 (>= 0.16.07) | 0.16.07-1
> libbatik-java                                           | 1.7+dfsg-3
> librhino-java                                           | 1.7R3-5
> libfop-java                                             | 1:1.1.dfsg-2
> libxerces2-java                                         | 2.11.0-6
> libxml-commons-external-java                            | 1.4.01-2
> libjaxp1.3-java                                         | 1.3.05-2
> libjlatexmath-java                                      | 1.0.2-1
> libknopflerfish-osgi-framework-java                     | 2.3.3-2
> libjsyntaxpane-java                     (>= 0.9.6~r156) | 0.9.6~r156-2
> libjortho-freeplane-java                   (= 1.2.23-1) | 1.2.23-1
>
>
> Recommends         (Version) | Installed
> ============================-+-===========
> xdg-utils                    | 1.1.0~rc1+git20111210-7
> java-wrappers                | 0.1.26
>
>
> Package's Suggests field is empty.
>
>
> --- Output from package bug script ---
> [debug] /usr/bin/freeplane: Found JAVA_HOME =
> /usr/lib/jvm/java-6-openjdk-amd64'
> [debug] /usr/bin/freeplane: Found JAVA_CMD =
> /usr/lib/jvm/java-6-openjdk-amd64/bin/java'

This looks like you're still using OpenJDK6! You should definitely try
openjdk-7:
  http://packages.debian.org/search?keywords=openjdk-7-jre&searchon=names&suite=all&section=all

You can switch to openjdk-7 by using (on my i386 jessie system):

$ update-java-alternatives --list
java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386
java-1.7.0-openjdk-i386 1071 /usr/lib/jvm/java-1.7.0-openjdk-i386
java-6-sun 63 /usr/lib/jvm/java-6-sun
java-gcj-4.6 /usr/lib/jvm/java-gcj-4.6
java-gcj-4.7 /usr/lib/jvm/java-gcj-4.7
$ update-java-alternatives --set java-1.7.0-openjdk-i386

If that doesn't work, you could try a 32bit- or an Oracle-JDK.

Best Regards,
-- 
Felix Natter



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Tue, 02 Jul 2013 13:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 02 Jul 2013 13:33:05 GMT) (full text, mbox, link).


Message #80 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: Felix Natter <fnatter@gmx.net>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Tue, 02 Jul 2013 14:30:58 +0100
On 01/07/13 21:23, Felix Natter wrote:
> Omega Weapon <omegaphil@gmail.com> writes:
>
> This looks like you're still using OpenJDK6! You should definitely try
> openjdk-7:
>    http://packages.debian.org/search?keywords=openjdk-7-jre&searchon=names&suite=all&section=all

Now this was a WTF moment. I've already said that I'm using OpenJDK7 
earlier. So, I investigated how the bug script runs, and how freeplane 
works out the Java command - the java-wrappers package is responsible 
for JAVA_CMD, and this returns the v6 runtime currently.

Luckily for me I pay attention to what updates day to day (I read the 
changelogs every time) - that package recently upgraded to 0.1.26 - I 
installed the 0.1.25 version, and suddenly JAVA_CMD returns the correct 
v7 runtime! Bugs everywhere!

Running freemind again with the software rendering with the correct v7 
runtime is fine - so this is just an old irrelevant bug in OpenJDK6.

I will report the bug I have discovered against java-wrappers now, and 
uninstall the v6 runtime since its probably no longer needed.

Thanks for your help - I would not have suspected something messing 
around with my runtime version (this was configured at v7 by Debian 
alternates months ago).



------------------------------------------------------
Libre software on Github: https://github.com/OmegaPhil
FSF member #9442



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#669712; Package freeplane. (Tue, 02 Jul 2013 14:09:13 GMT) (full text, mbox, link).


Acknowledgement sent to Omega Weapon <omegaphil@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 02 Jul 2013 14:09:13 GMT) (full text, mbox, link).


Message #85 received at 669712@bugs.debian.org (full text, mbox, reply):

From: Omega Weapon <omegaphil@gmail.com>
To: Felix Natter <fnatter@gmx.net>
Cc: 669712@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Tue, 02 Jul 2013 15:04:53 +0100
On 02/07/13 14:30, Omega Weapon wrote:
>
> I will report the bug I have discovered against java-wrappers now, and
> uninstall the v6 runtime since its probably no longer needed.

Reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714748



------------------------------------------------------
Libre software on Github: https://github.com/OmegaPhil
FSF member #9442



Message #86 received at 669712-done@bugs.debian.org (full text, mbox, reply):

From: Felix Natter <fnatter@gmx.net>
To: Omega Weapon <omegaphil@gmail.com>
Cc: 669712-done@bugs.debian.org
Subject: Re: Bug#669712: [freeplane] RE: freeplane: Visual corruption after scrolling mindmap
Date: Tue, 02 Jul 2013 19:05:53 +0200
Omega Weapon <omegaphil@gmail.com> writes:

> On 01/07/13 21:23, Felix Natter wrote:
>> Omega Weapon <omegaphil@gmail.com> writes:
>>
>> This looks like you're still using OpenJDK6! You should definitely try
>> openjdk-7:
>>    http://packages.debian.org/search?keywords=openjdk-7-jre&searchon=names&suite=all&section=all
>
> Now this was a WTF moment. I've already said that I'm using OpenJDK7
> earlier. So, I investigated how the bug script runs, and how freeplane
> works out the Java command - the java-wrappers package is responsible for
> JAVA_CMD, and this returns the v6 runtime currently.
>
> Luckily for me I pay attention to what updates day to day (I read the
> changelogs every time) - that package recently upgraded to 0.1.26 - I
> installed the 0.1.25 version, and suddenly JAVA_CMD returns the correct v7
> runtime! Bugs everywhere!
>
> Running freemind again with the software rendering with the correct v7
> runtime is fine - so this is just an old irrelevant bug in OpenJDK6.
>
> I will report the bug I have discovered against java-wrappers now, and
> uninstall the v6 runtime since its probably no longer needed.
>
> Thanks for your help - I would not have suspected something messing around
> with my runtime version (this was configured at v7 by Debian alternates
> months ago).

Glad that we've got this resolved :-)

Best Regards,
-- 
Felix Natter



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 31 Jul 2013 07:27:14 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 30 21:20:58 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.