Bug 711900 - Modal dialog sometimes does not block keyboard input on parent
Summary: Modal dialog sometimes does not block keyboard input on parent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: 15
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Denis Lila
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 22:25 UTC by Robert Marcano
Modified: 2011-08-02 18:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-02 18:40:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Simple test (1010 bytes, text/x-java)
2011-06-08 22:25 UTC, Robert Marcano
no flags Details

Description Robert Marcano 2011-06-08 22:25:56 UTC
Created attachment 503795 [details]
Simple test

Description of problem:

When a modal dialog is opened from a windowOpened() event or from another thread using EventQueue.invoke*() methods, the modal dialog blocks mouse input on the parent component, but keyboard input is allowed, the user can traverse with TAB and activate by keyboard buttons

Version-Release number of selected component (if applicable):

java-1.6.0-openjdk-1.6.0.0-57.1.10.1.fc15.x86_64

How reproducible:

Always, simple test case added

Steps to Reproduce:
1. Start the test case (java Test)
2. A dialog is opened and a child JOptionPane is opened
3. try to write on the parent window on the textfield
  
Actual results:

Keyboard input is allowed on the textfield

Expected results:

Keyboard input must be disabled because the JOptionPane is modal and it must block input on parent components

Additional info:

Using the same test on Windows and an old installation of Fedora 14 everything works as expected.

Setting severity as high because it allows people to do things on Java applications that the GUI normally does not allows them to do, like changing data or executing actions

Comment 1 Denis Lila 2011-06-09 17:34:20 UTC
Hi Robert.

This is a duplicate of:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=677
Which is now fixed in head:
http://icedtea.classpath.org/hg/icedtea6

I will soon push the fix to the 1.10 branch too.

Comment 2 Robert Marcano 2011-07-12 14:43:44 UTC
Hello, just pinging about this issue, any progress? Thanks in advance

Comment 3 Robert Marcano 2011-08-02 18:31:51 UTC
Fixed for me in java-1.6.0-openjdk-1.6.0.0-59.1.10.3.fc15.x86_64. Thank you very much. I think this bug can be closed


Note You need to log in before you can comment on or make changes to this bug.