Opened 11 years ago
Closed 9 years ago
#10022 closed defect (othersoftware)
Return key in tag editor currently doesn't work on Mac OSX with Java 8
Reported by: | Lesath | Owned by: | flaimo |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | macosx java8 javabug 8u20 enter return key combobox | Cc: | cquest, Stereo, bitnapper |
Description (last modified by )
In prior versions the return key could be used to enter values in tag editor. Currently I have to use the mouse to click "Ok" to confirm the values.
Steps to reproduce:
1) Click a node or a way (doesn't matter which one)
2) Click "Add" from "Tags"
3) Enter value in the "Please select a key"
4) Press Tab (to change to the second field)
5) Enter value for the second field
6) Try enter return to confirm the value and close the tag editor
Maybe other editors could have the same problem - I didn't check that.
Revision: 7121 Is-Local-Build: true Build-Date: 2014-05-14 09:21:25 Identification: JOSM/1.5 (7121 SVN en) Mac OS X 10.9.2 Memory Usage: 171 MB / 455 MB (96 MB allocated, but free) Java version: 1.8.0, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM VM arguments: [-Djava.library.path=/Applications/JOSM_custom.app/Contents/MacOS, -DLibraryDirectory=/Users/wsobotta/Library, -DDocumentsDirectory=/Users/wsobotta/Documents, -DApplicationSupportDirectory=/Users/wsobotta/Library/Application Support, -DCachesDirectory=/Users/wsobotta/Library/Caches, -DSandboxEnabled=false, -Xmx512m, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true] Dataset consistency test: No problems found Plugin: FastDraw (30416) Plugin: OpeningHoursEditor (30416) Plugin: download_along (30416) Plugin: imagery_offset_db (30416) Plugin: turnlanes (30416) Plugin: turnrestrictions (30416)
Attachments (4)
Change History (44)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
Cc: | added |
---|---|
Keywords: | apple mac osx added |
Owner: | changed from | to
Status: | new → needinfo |
comment:3 by , 11 years ago
Hi everyone,
I can't reproduce this bug with build 7000 with Java 7u55 on Mac OS X.
@Lesath can you back up your ~/.josm directory and try with a fresh one? What about a fresh user account? Are you running any software that remaps keyboard keys?
comment:4 by , 11 years ago
This seems to be related to the Mac OS X Theme here on Mac - I've will test JDK 8u5 shortly - but it seems to be a bug in the Mac OS X theme - in Metal theme is the bug not reproducable.
BTW: I'm using no input remappers or something other things. The moving of the ~/.josm did not bring up the solution - as soon as I switch to "Mac OS X" theme the bug is there.
by , 11 years ago
Attachment: | Bildschirmfoto 2014-05-14 um 13.08.14.png added |
---|
Showing focus after the reproducable steps
comment:5 by , 11 years ago
Ok - the Bug still persists with the Mac OS X Theme with JDK 8u5. I've got currently no time to debug it by myself. I will try it today evening.
comment:6 by , 11 years ago
I use the Mac OS X theme too. Who's crazy enough to use the Metal theme? :) My focus looks just like yours. The only difference I can see is that your interface is in German, and I really can't see how that could interfere with the focus.
Maybe try by creating a fresh Mac OS X user account?
comment:7 by , 11 years ago
Could be this Java bug: https://bugs.openjdk.java.net/browse/JDK-8031485
Seems only to affect Java 8. Fix targeted to 8u20, to be released in August.
comment:8 by , 11 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
Yes, that's it. It is described in JDK8 release notes:
Area: Client Libs / java.swing
Synopsis
On Mac OS X, theComboBox
control consumes the Esc and Enter keys. When theComboBox
in a dialog box has focus, the keyboard cannot be used to close the dialog box.
Bug
8031485
Two solutions:
- wait for JDK 8u20 in August
- downgrade to Java 7u55
comment:9 by , 11 years ago
Keywords: | java8 added |
---|---|
Summary: | Return key in tag editor currently doesn't work → Return key in tag editor currently doesn't work on Mac OSX with Java 8 |
follow-up: 11 comment:10 by , 11 years ago
Yes - this it is. Thanks for the pointing to the java-bug! (Also nice to know for me as a programmer ;-) )
follow-up: 12 comment:11 by , 11 years ago
Replying to Lesath:
Also nice to know for me as a programmer ;-)
Wait... you're a Java developer on Mac OSX? :) We'd love some help on Mac-specific tickets :)
comment:12 by , 11 years ago
Replying to Don-vip:
Replying to Lesath:
Also nice to know for me as a programmer ;-)
Wait... you're a Java developer on Mac OSX? :) We'd love some help on Mac-specific tickets :)
Ahh - damn it - I knew it - I've should never revealed that I'm a programmer - but I will look into the today evening - since this ticket is resolved ;-)
comment:13 by , 11 years ago
Fantastic, I'll add all the Mac OS X issues that have been bugging me for a while to the bug tracker :)
comment:14 by , 11 years ago
Keywords: | javabug 8u20 added |
---|
comment:15 by , 11 years ago
Java 8u20 has been released and contains fix for this bug, you should update to this version.
comment:16 by , 11 years ago
The bug is actually still there for me in Java Version 1.8.0_20. However, pressing 'tab' after entering the tag value switches focus to the button. The change of focus lets me use 'enter' to close the dialog.
comment:18 by , 11 years ago
Cc: | added |
---|
comment:19 by , 11 years ago
Resolution: | othersoftware |
---|---|
Status: | closed → reopened |
Indeed I can finally reproduce the problem with 8u20 as well.
comment:20 by , 11 years ago
Looks like the fix is incomplete and only corrected the handling of Escape, not Enter.
comment:21 by , 11 years ago
I have sent another bug report to Oracle. If it gets accepted it will be available here.
comment:22 by , 11 years ago
Keywords: | macosx enter return key combobox added; apple mac osx removed |
---|
comment:23 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:24 by , 11 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
The bug has been confirmed, we must wait for its correction by Oracle: javabug:8058193. I hope it will be fixed in next update (8u40).
comment:30 by , 10 years ago
Resolution: | othersoftware |
---|---|
Status: | closed → reopened |
comment:31 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | reopened → needinfo |
It shouldn't. Can you please attach your status report and a screenshot?
comment:32 by , 10 years ago
Owner: | changed from | to
---|
by , 10 years ago
Attachment: | Screen Shot 2015-03-15 at 19.16.54.png added |
---|
by , 10 years ago
Attachment: | Screen Shot 2015-03-15 at 19.17.05.png added |
---|
by , 10 years ago
Attachment: | status report flaimo 2015-03-15.txt added |
---|
comment:33 by , 10 years ago
Seems to be a problem with JDK 8.0 u40 - will be fixed with JDK 8.0u45 according to javabug:8067583
comment:34 by , 10 years ago
Nop, that's just a backport of the same bug because 8u45 and 8u40 have been developed at the same time. 8u45 probably won't change anything. Do you reproduce the problem, Lesath?
comment:35 by , 10 years ago
Yes - the problem is still the same - no changes for me here ;-)
On the other hand - I've tried yesterday the preview from JDK 9 - there was the bug gone - thus not reproducible. The same is still for JDK 7... So it seems to be a bug in JDK 8.
comment:37 by , 10 years ago
Java version: 1.8.0_51
Problem still persists, however:
- Ctrl + Enter adds a new tag
- Enter works when editing already existing tag.
comment:38 by , 9 years ago
I can't reproduce this in 1.8.0_101. Hitting the Return key enters the new tag.
Can the mac user CC'd on this bug please see if they can still reproduce it?
comment:40 by , 9 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
Works for me with
@Lesath, can you please:
@cquest, Stereo: do you reproduce this bug with Java 7u55?
Thanks.