anthony.petrov | 2 Dec 2009 12:52
Picon

hg: jdk7/awt/jdk: 6901021: Security Warning Icon not getting displayed properly when frame loses focus

Changeset: 6ffb01da29ce
Author:    anthony
Date:      2009-12-02 14:51 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/6ffb01da29ce

6901021: Security Warning Icon not getting displayed properly when frame loses focus
Summary: Make sure the gray icon is selected when hiding the security warning
Reviewed-by: art, dcherepanov

! src/windows/native/sun/windows/awt_Toolkit.cpp
! src/windows/native/sun/windows/awt_Window.cpp

anton.tarasov | 2 Dec 2009 15:39
Picon

hg: jdk7/awt/jdk: 6566375: PIT : test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html

Changeset: 35d43184687d
Author:    ant
Date:      2009-12-02 17:26 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/35d43184687d

6566375: PIT : test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html
Reviewed-by: art, dcherepanov

! test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.java

Damjan Jovanovic | 2 Dec 2009 16:28
Picon

4808793: Allow initiation of drags without local data

Hi

Is anybody working on this bug (http://bugs.sun.com/view_bug.do?bug_id=4808793)?

If not I'd like to have a go at it. My idea is described below.

java.awt.datatransfer.DataFlavor.javaFileListFlavor has drop target
pull semantics, with the drop target being responsible for the
operation on the files. It needs the files to already exist. It's
essentially a "take these files and use them" action. For example, if
you drag files into a Java SVN client, the SVN client could check them
in. These semantics work when the drop target is not the local
filesystem.

But these semantics are exactly the opposite of what's needed when the
files in the drag source are not actual files from the local
filesystem - for example they are files in an FTP server or even
virtual files that don't exist yet. For this we need drag source push
semantics, with the drop target either telling the drag source where
to save the files, or using some sort of protocol to move the file
contents from the drag source to wherever they are to be saved or
used.

Windows, X11 and MacOS all support this latter option, and while it is
a less commonly used file drag scenario, some important applications
require it (eg. Microsoft Outlook) and others support it among other
possible formats (eg. Windows Explorer, GIMP, File Roller). The bug
has been open since early 2003 and has 60 votes; the drag from
Microsoft Outlook to Java bug
(http://bugs.sun.com/view_bug.do?bug_id=6242241) which relies on this
(Continue reading)

anton.tarasov | 4 Dec 2009 13:12
Picon

hg: jdk7/awt/jdk: 6903354: deadlock involving Component.show & SunToolkit.getImageFromHash

Changeset: 44f04b551d8f
Author:    ant
Date:      2009-12-04 15:07 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/44f04b551d8f

6903354: deadlock involving Component.show & SunToolkit.getImageFromHash
Reviewed-by: art, bae

! src/share/classes/sun/awt/SunToolkit.java

yuri.nesterenko | 7 Dec 2009 11:38
Picon

hg: jdk7/awt/jdk: 5099725: AWT doesn't seem to handle MappingNotify events under X11.; ...

Changeset: 4ff2fe6c2738
Author:    yan
Date:      2009-12-07 13:32 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/4ff2fe6c2738

5099725: AWT doesn't seem to handle MappingNotify events under X11.
5036807: Pressing action keys "STOP/AGAIN/COMPOSE" generates keycode of F11/F12 keys.
4787377: VK_STOP key on Solaris generates wrong Key Code
Summary: Added an event processing lumped with similar native code for similar bugs.
Reviewed-by: art

! make/sun/xawt/mapfile-vers
! src/solaris/classes/sun/awt/X11/XEmbedHelper.java
! src/solaris/classes/sun/awt/X11/XKeysym.java
! src/solaris/classes/sun/awt/X11/XToolkit.java
! src/solaris/classes/sun/awt/X11/XlibWrapper.java
! src/solaris/classes/sun/awt/X11/keysym2ucs.h
! src/solaris/native/sun/xawt/XlibWrapper.c

dmitry.cherepanov | 7 Dec 2009 12:37
Picon

hg: jdk7/awt/jdk: 2 new changesets

Changeset: e4c0c37f6ad5
Author:    dcherepanov
Date:      2009-12-07 13:43 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/e4c0c37f6ad5

6823138: Need to replace ComponentAccessor with AWTAccessor
Reviewed-by: art, anthony

! src/share/classes/java/awt/Component.java
! src/share/classes/java/awt/Window.java
! src/share/classes/sun/awt/AWTAccessor.java
- src/share/classes/sun/awt/ComponentAccessor.java
! src/share/classes/sun/awt/GlobalCursorManager.java
! src/share/classes/sun/awt/SunToolkit.java
- src/share/classes/sun/awt/WindowAccessor.java
! src/solaris/classes/sun/awt/X11/XComponentPeer.java
! src/solaris/classes/sun/awt/X11/XContentWindow.java
! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
! src/solaris/classes/sun/awt/X11/XDialogPeer.java
! src/solaris/classes/sun/awt/X11/XDragSourceContextPeer.java
! src/solaris/classes/sun/awt/X11/XEmbedChildProxy.java
! src/solaris/classes/sun/awt/X11/XGlobalCursorManager.java
! src/solaris/classes/sun/awt/X11/XTextAreaPeer.java
! src/solaris/classes/sun/awt/X11/XTextFieldPeer.java
! src/solaris/classes/sun/awt/X11/XToolkit.java
! src/solaris/classes/sun/awt/X11/XTrayIconPeer.java
! src/solaris/classes/sun/awt/X11/XWindow.java
! src/solaris/classes/sun/awt/X11/XWindowPeer.java
! src/windows/classes/sun/awt/windows/WCanvasPeer.java
! src/windows/classes/sun/awt/windows/WComponentPeer.java
(Continue reading)

anton.tarasov | 7 Dec 2009 14:40
Picon

hg: jdk7/awt/jdk: 6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11

Changeset: 384659657472
Author:    ant
Date:      2009-12-07 16:38 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/384659657472

6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11
Reviewed-by: art, dcherepanov

! src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java

Damjan Jovanovic | 7 Dec 2009 19:36
Picon

Re: 4808793: Allow initiation of drags without local data

On Mon, Dec 7, 2009 at 6:16 PM, Denis S. Fokin <Denis.Fokin@...> wrote:
> Hi Damjan,

Hello again Denis :-)

> just to make things easer.
> From the CR description I see that the submitter requests a couple of
> things.
>
> - to create a Transferable on the fly (it is possible right now)
> - to publish a Transferable as a native stream (it seems as a pretty
> independent task)

Transfer data, not Transferable.

> - to add a callback function to notify the source application that the drop
> operation has succeeded and that the promised DataFlavor must now be
> produced

That's more of a possible mechanism than a policy.

>
> It seems, that the last item could be implemented as a XdndActionAsk action
> from XDnD protocol.
>
> Do you agree that this request could be divided in these three parts?

Not exactly.

Maybe an example is best. I'm attaching some drop-side sample code and
(Continue reading)

Denis S. Fokin | 7 Dec 2009 17:16
Picon

Re: 4808793: Allow initiation of drags without local data

Hi Damjan,

just to make things easer.
>From the CR description I see that the submitter requests a couple of 
things.

 - to create a Transferable on the fly (it is possible right now)
 - to publish a Transferable as a native stream (it seems as a pretty 
independent task)
 - to add a callback function to notify the source application that the 
drop operation has succeeded and that the promised DataFlavor must now 
be produced

It seems, that the last item could be implemented as a XdndActionAsk 
action from XDnD protocol.

Do you agree that this request could be divided in these three parts?

Thank you,
         Denis.

Damjan Jovanovic wrote:
> Hi
>
> Is anybody working on this bug (http://bugs.sun.com/view_bug.do?bug_id=4808793)?
>
> If not I'd like to have a go at it. My idea is described below.
>
> java.awt.datatransfer.DataFlavor.javaFileListFlavor has drop target
> pull semantics, with the drop target being responsible for the
(Continue reading)

mandy.chung | 9 Dec 2009 02:43
Picon

hg: jdk7/awt/jdk: 6907568: java/awt/KeyboardFocusManager.java inproperly merged and lost a changeset

Changeset: 725bf9c81f86
Author:    mchung
Date:      2009-12-08 09:02 -0800
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/725bf9c81f86

6907568: java/awt/KeyboardFocusManager.java inproperly merged and lost a changeset
Summary: Reapply fix for 6879044 in java.awt.KeyboardFocusManager
Reviewed-by: dcherepanov, asaha

! src/share/classes/java/awt/KeyboardFocusManager.java


Gmane