Re: josm Keyboard input stops working

2019-01-07 Thread Florian Lohoff
On Mon, Jan 07, 2019 at 05:49:59PM +0100, Roland Olbricht wrote:
> Hi all,
> 
> > Look at https://josm.openstreetmap.de/ticket/13160
> > 
> > For me its dead simple to reproduce ... Still exists in current josm
> > with openjdk 8 and 11. I am on Linux but others have reported the
> > Problem on Windows.
> 
> I had the issue both on Windows and Linux (Windows 7 64Bit, Ubuntu 14.04,
> and Ubuntu 16.04). It did never materialize in any reproducible way,
> sometimes after barely a minute, sometimes not on session over multiple
> hours.
> 
> At the moment, everything is fine (on Windows 7 and Ubuntu 16.04). This
> includes the setting that you have described.
> 
> Given that the JOSM core developers might face the same situation, I suggest
> to collect as much information as possible, in particular the Java
> environment, the active plugins, all their version and so on.
> 
> Could you check whether the problem persists even on a JOSM without any
> plugins?

I mentioned it already in the ticket. I can reproduce it with
--skip-plugins and --reset-preferences with OpenJDK8 and OpenJDK11 on
Debian/Stretch.

Without plugins it takes longer to reproduce - around 30 seconds
instead of 3. My speculation is that its some kind of race condition.

Flo
-- 
Florian Lohoff f...@zz.de
UTF-8 Test: The  ran after a , but the  ran away


signature.asc
Description: PGP signature


Re: josm Keyboard input stops working

2019-01-07 Thread Maarten Deen

On 2019-01-07 16:46, Florian Lohoff wrote:

Hola Maarten

On Mon, Jan 07, 2019 at 08:11:20AM +0100, Maarten Deen wrote:
I have seen this also and have filed a bug for it in the past, but 
that got

closed because it was not reproducible.

https://josm.openstreetmap.de/ticket/16403

Circumstances to create it included fast succession of entering keys, 
like
what Florian is describing. At a certain point I could not type new 
text but

I could change existing keys.
But I have not experienced this in some time now. I'm normally using 
the

webstart JOSM with usually last version of JAVA on Windows 7.


Look at https://josm.openstreetmap.de/ticket/13160

For me its dead simple to reproduce ... Still exists in current josm
with openjdk 8 and 11. I am on Linux but others have reported the
Problem on Windows.


I concur.

First time I tried it took a while and I just held down ENTER then after 
10-15 times it stopped. I could still exit JOSM
Second time it took only 2 times and even the menu bar was unresponsive 
and I could not exit JOSM.

Both scenario's seem to occur randomly.

I also notice that briefly after you press ENTER (which runs the add 
function) the focus switches to the edit button. No idea if that has 
something to do with it.


Regards,
Maarten



Re: josm Keyboard input stops working

2019-01-07 Thread Roland Olbricht

Hi all,


Look at https://josm.openstreetmap.de/ticket/13160

For me its dead simple to reproduce ... Still exists in current josm
with openjdk 8 and 11. I am on Linux but others have reported the
Problem on Windows.


I had the issue both on Windows and Linux (Windows 7 64Bit, Ubuntu 
14.04, and Ubuntu 16.04). It did never materialize in any reproducible 
way, sometimes after barely a minute, sometimes not on session over 
multiple hours.


At the moment, everything is fine (on Windows 7 and Ubuntu 16.04). This 
includes the setting that you have described.


Given that the JOSM core developers might face the same situation, I 
suggest to collect as much information as possible, in particular the 
Java environment, the active plugins, all their version and so on.


Could you check whether the problem persists even on a JOSM without any 
plugins?


Best regards,
Roland



Re: josm Keyboard input stops working

2019-01-07 Thread Florian Lohoff

Hola Maarten

On Mon, Jan 07, 2019 at 08:11:20AM +0100, Maarten Deen wrote:
> I have seen this also and have filed a bug for it in the past, but that got
> closed because it was not reproducible.
> 
> https://josm.openstreetmap.de/ticket/16403
> 
> Circumstances to create it included fast succession of entering keys, like
> what Florian is describing. At a certain point I could not type new text but
> I could change existing keys.
> But I have not experienced this in some time now. I'm normally using the
> webstart JOSM with usually last version of JAVA on Windows 7.

Look at https://josm.openstreetmap.de/ticket/13160

For me its dead simple to reproduce ... Still exists in current josm
with openjdk 8 and 11. I am on Linux but others have reported the
Problem on Windows.

Flo
-- 
Florian Lohoff f...@zz.de
UTF-8 Test: The  ran after a , but the  ran away


signature.asc
Description: PGP signature


Re: josm Keyboard input stops working

2019-01-06 Thread Maarten Deen
I have seen this also and have filed a bug for it in the past, but that 
got closed because it was not reproducible.


https://josm.openstreetmap.de/ticket/16403

Circumstances to create it included fast succession of entering keys, 
like what Florian is describing. At a certain point I could not type new 
text but I could change existing keys.
But I have not experienced this in some time now. I'm normally using the 
webstart JOSM with usually last version of JAVA on Windows 7.


Regards,
Maarten

On 2019-01-07 00:51, Andrew Harvey wrote:

I've run into the same issue a few times.

On Mon, 7 Jan 2019 at 01:54, Florian Lohoff  wrote:



Hi,
for some month now i have the issue that under some for me
non deterministic circumstances the complete keyboard input
in JOSM stops working.

I was on latest 14530 and switched to 14648 a couple minutes
ago and after 2 Minutes of editing all keyboard input was
disfunctional. The only input method left is the mouse
so i cant save a session because i cant enter a filename
in the file requester popping up.

I am pretty shure the bug existed in 14352 which i was using
a while.

This is on Debian/Stretch with OpenJDK 1.8 - 8u181-b13-2~deb9u1
and a cinnamon environment.

A feeling i have is that it happens when there is keyboard input
while a input masks pops up. So typing really quick triggers
it pretty soon. Pressing "alt-a,return" quickly in a row
to add some cached key/values triggers it somehow quick.

The only way out is to restart josm.

Flo
--
Florian Lohoff f...@zz.de
UTF-8 Test: The  ran after a , but the  ran away





Re: josm Keyboard input stops working

2019-01-06 Thread Andrew Harvey
I've run into the same issue a few times.

On Mon, 7 Jan 2019 at 01:54, Florian Lohoff  wrote:

>
> Hi,
> for some month now i have the issue that under some for me
> non deterministic circumstances the complete keyboard input
> in JOSM stops working.
>
> I was on latest 14530 and switched to 14648 a couple minutes
> ago and after 2 Minutes of editing all keyboard input was
> disfunctional. The only input method left is the mouse
> so i cant save a session because i cant enter a filename
> in the file requester popping up.
>
> I am pretty shure the bug existed in 14352 which i was using
> a while.
>
> This is on Debian/Stretch with OpenJDK 1.8 - 8u181-b13-2~deb9u1
> and a cinnamon environment.
>
> A feeling i have is that it happens when there is keyboard input
> while a input masks pops up. So typing really quick triggers
> it pretty soon. Pressing "alt-a,return" quickly in a row
> to add some cached key/values triggers it somehow quick.
>
> The only way out is to restart josm.
>
> Flo
> --
> Florian Lohoff f...@zz.de
> UTF-8 Test: The  ran after a , but the  ran away
>


Re: josm Keyboard input stops working

2019-01-06 Thread Florian Lohoff
On Sun, Jan 06, 2019 at 01:02:22PM -0200, Nelson A. de Oliveira wrote:
> On Sun, Jan 6, 2019 at 12:54 PM Florian Lohoff  wrote:
> > for some month now i have the issue that under some for me
> > non deterministic circumstances the complete keyboard input
> > in JOSM stops working.
> 
> Sometimes I still have this same problem
> https://josm.openstreetmap.de/ticket/13160
> 
> As a workaround, when I see that the keys stopped to work, I open a
> terminal, create an empty session file (touch something.joz) and ask
> JOSM to save the session (selecting this empty file and overwriting
> it).

I had it break keyboard input 4 times in 20 Minutes now. Did nothing
special - Just adding lanes, sidewalk, shoulder, cycleway, lit tags
with alt-a, return from the cached key/value list.

pressing alt-a to early again (I am a quick typer) breaks keyboard
input.

Flo
-- 
Florian Lohoff f...@zz.de
UTF-8 Test: The  ran after a , but the  ran away


signature.asc
Description: PGP signature


Re: josm Keyboard input stops working

2019-01-06 Thread Nelson A. de Oliveira
On Sun, Jan 6, 2019 at 12:54 PM Florian Lohoff  wrote:
> for some month now i have the issue that under some for me
> non deterministic circumstances the complete keyboard input
> in JOSM stops working.

Sometimes I still have this same problem
https://josm.openstreetmap.de/ticket/13160

As a workaround, when I see that the keys stopped to work, I open a
terminal, create an empty session file (touch something.joz) and ask
JOSM to save the session (selecting this empty file and overwriting
it).



josm Keyboard input stops working

2019-01-06 Thread Florian Lohoff

Hi,
for some month now i have the issue that under some for me
non deterministic circumstances the complete keyboard input
in JOSM stops working.

I was on latest 14530 and switched to 14648 a couple minutes
ago and after 2 Minutes of editing all keyboard input was
disfunctional. The only input method left is the mouse
so i cant save a session because i cant enter a filename
in the file requester popping up.

I am pretty shure the bug existed in 14352 which i was using
a while.

This is on Debian/Stretch with OpenJDK 1.8 - 8u181-b13-2~deb9u1
and a cinnamon environment.

A feeling i have is that it happens when there is keyboard input
while a input masks pops up. So typing really quick triggers
it pretty soon. Pressing "alt-a,return" quickly in a row 
to add some cached key/values triggers it somehow quick.

The only way out is to restart josm.

Flo
-- 
Florian Lohoff f...@zz.de
UTF-8 Test: The  ran after a , but the  ran away


signature.asc
Description: PGP signature