Task #9569 (closed)
Opened 7 years ago
Closed 4 years ago
Bug: Insight login window is broken on login failure with OpenJDK6
| Reported by: | rleigh | Owned by: | jburel |
|---|---|---|---|
| Priority: | critical | Milestone: | 5.x |
| Component: | Insight | Version: | 4.4.8 |
| Keywords: | n.a. | Cc: | mtbcarroll, bpindelski, spli |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
If the login fails (invalid username or password), the dialogue becomes unusable. All buttons are deactivated with the exception of the "Quit" button, the entry fields are greyed out, and a busy clock cursor is displayed. This makes it impossible to do any action other than Quit! Reattempting the login is not possible without quitting and restarting the application.
This appears to be an incompatibility with OpenJDK, since this works correctly with Oracle JDK.
Note that logins are possible, providing that the username and password are correct on the first attempt.
Change History (14)
comment:1 Changed 7 years ago by rleigh
comment:2 Changed 7 years ago by jburel
- Milestone changed from OMERO-4.4.4 to OMERO-4.5
- Sprint 2012-09-11 (4) deleted
This should go in the openJDK section. we have several problems. Pushing
comment:3 Changed 6 years ago by jburel
- Milestone changed from OMERO-4.4.9 to OMERO-4.4.x
- Version set to 4.4.8
Realistically we won't be able to work on it for 4.4.9
comment:4 Changed 6 years ago by mtbcarroll
I am seeing this problem too:
OMERO.insight-4.4.8-1018-5e378b4-ice33-b386$ uname -a Linux sophie 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux OMERO.insight-4.4.8-1018-5e378b4-ice33-b386$ java -version java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
comment:5 Changed 6 years ago by mtbcarroll
- Cc mtbcarroll added
comment:6 Changed 6 years ago by mtbcarroll
My problem is slightly different: I can't type into the login window even on the first attempt, though I can still click the buttons. Using Linux, Insight with OpenJDK 6 or 7 is wholly unusable for me, immediately in the way described above as being for "if the login fails".
comment:7 Changed 6 years ago by mtbcarroll
- Cc bpindelski spli added
The problem seems somewhat intermittent for me. My experiments indicate that I can't type into the login window only if it has lost focus at any point.
comment:8 Changed 6 years ago by mtbcarroll
Simon's research indicates that this may be window-manager-specific. I'm using ctwm, though I've been using it heavily since the 1990s without seeing any other problems like this. I'd guess next steps could be (a) see if I can construct a minimal Swing app that reproduces this or (b) look hard at if there seems to be anything odd in how Insight is running the dialog.
comment:9 Changed 6 years ago by mtbcarroll
Hmmm, the login dialog is certainly an unusual window for me in xprop reporting of it,
Client accepts input or input focus: False
comment:10 Changed 6 years ago by mtbcarroll
Probably it is also relevant that WM_PROTOCOLS includes WM_TAKE_FOCUS.
comment:11 Changed 6 years ago by mtbcarroll
My problem turns out not to be Insight-specific: the small test program at http://bugs.sun.com/view_bug.do?bug_id=6798064 exhibits exactly the same behavior for me.
comment:12 Changed 6 years ago by spli
Should we close this as wontfix since it's for OpenJDK6, and most users should have access to OpenJDK7?
comment:13 Changed 6 years ago by rleigh
There is a separate ticket already open for the focus issue.
comment:14 Changed 4 years ago by jburel
- Resolution set to invalid
- Status changed from new to closed
marking it as invalid
Blazej found that this works correctly with OpenJDK7. However, this is not the default on most distributions using OpenJDK.