Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Petr Pchelko
Hello, Hendrik.

> I just tried that as well: no difference :-(

We’ve had numerous regression in datatransfer area in JDK-8 but wight now they 
should all be fixed. 

However the URI transfer on Mac OS X still does not work in some cases, it’s 
simply not implemented. 
I have a related issue: https://bugs.openjdk.java.net/browse/JDK-7124379

Could you please clarify 
1. what exactly you are trying do drag 
2. how you do it (do you select a text+picture or just picture or just drag 
without selection)
3. which browser versions do you use
4. what result do are expect. 
I’ll have a look at it and either fix it under an JDK-7124379 or file a new CR 
for you.

With best regards. Petr.

13 янв. 2014 г., в 8:47 после полудня, Hendrik Schreiber  
написал(а):

> On Jan 13, 2014, at 17:38, Paul Taylor  wrote:
> 
>> I verified it was now working , but in my use case the jpeg is within the 
>> html file so maybe that is the difference
> 
> I just tried that as well: no difference :-(
> 
> Which OS X and Java version did you test with?
> I tried 10.9.1 and java 1.8.0-b121.
> 
> -hendrik



Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Paul Taylor

On 13/01/2014 16:47, Hendrik Schreiber wrote:

On Jan 13, 2014, at 17:38, Paul Taylor  wrote:


I verified it was now working , but in my use case the jpeg is within the html 
file so maybe that is the difference

I just tried that as well: no difference :-(

Which OS X and Java version did you test with?
I tried 10.9.1 and java 1.8.0-b121.

-hendrik
Hmm, maybe are talking about different things I had two issues, one was 
fixed by the final version of java 7, and issue with Chrome was fixed 
with Java 8 build 119 but its a while ago now I'm not sure on the details


Paul


Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Hendrik Schreiber
On Jan 13, 2014, at 17:38, Paul Taylor  wrote:

> I verified it was now working , but in my use case the jpeg is within the 
> html file so maybe that is the difference

I just tried that as well: no difference :-(

Which OS X and Java version did you test with?
I tried 10.9.1 and java 1.8.0-b121.

-hendrik

Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Paul Taylor

On 13/01/2014 16:27, Hendrik Schreiber wrote:

On Jan 13, 2014, at 14:14, Paul Taylor  wrote:


Hi, yes it is fixed in early access version of Java 8

http://download.java.net/jdk8/changes/jdk8-b119.html?q=download/jdk8/changes/jdk8-b119.html

Was this fixed by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8027913 or 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124253?

Have you verified the fix?

When dragging a JPEG (which is not embedded in HTML) from a web browser to my 
app, I never get a URL or a File list flavor. What I reliably see is:

java.awt.datatransfer.DataFlavor[mimetype=image/x-java-image;representationclass=java.awt.Image]

and depending on the browser a bunch of other text/... flavors. But I'd much 
rather have a URL or a file...

This is on OS X 10.9.1 and FireFox 26, Chrome 31 and Safari 7.0.1, Java build 
1.8.0-ea-b121.

Cheers,

-hendrik


I verified it was now working , but in my use case the jpeg is within 
the html file so maybe that is the difference


paul


Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Hendrik Schreiber
On Jan 13, 2014, at 14:14, Paul Taylor  wrote:

> Hi, yes it is fixed in early access version of Java 8
> 
> http://download.java.net/jdk8/changes/jdk8-b119.html?q=download/jdk8/changes/jdk8-b119.html

Was this fixed by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8027913 or 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124253?

Have you verified the fix?

When dragging a JPEG (which is not embedded in HTML) from a web browser to my 
app, I never get a URL or a File list flavor. What I reliably see is:

java.awt.datatransfer.DataFlavor[mimetype=image/x-java-image;representationclass=java.awt.Image]

and depending on the browser a bunch of other text/... flavors. But I'd much 
rather have a URL or a file...

This is on OS X 10.9.1 and FireFox 26, Chrome 31 and Safari 7.0.1, Java build 
1.8.0-ea-b121.

Cheers,

-hendrik



Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Paul Taylor

On 13/01/2014 12:55, Hendrik Schreiber wrote:

On Nov 25, 2013, at 12:07, Paul Taylor  wrote:


So on Windows with Java 7  I receive an image dragged frrm a webpage in these 
flavours (plus others) but these are two I'm interested in

25/11/2013 10.31.07:com.jthink.jaikoz.draganddrop.FileDropTarget:drop:SEVERE: 
java.awt.datatransfer.DataFlavor[mimetype=application/x-java-url;representationclass=java.net.URL]
25/11/2013 10.31.07:com.jthink.jaikoz.draganddrop.FileDropTarget:drop:SEVERE: 
java.awt.datatransfer.DataFlavor[mimetype=application/x-java-file-list;representationclass=java.util.List]

On OSX with Java 6 I received at least one of the two above, but now with Java 
7 (1.7.0_40) I no longer receive either

I found these bugs that seem related

https://bugs.openjdk.java.net/browse/JDK-7124379
https://bugs.openjdk.java.net/browse/JDK-8005932

Hey Paul,

I was just wondering - did you get a resolution for this?

Thanks,

-hendrik

Hi, yes it is fixed in early access version of Java 8

http://download.java.net/jdk8/changes/jdk8-b119.html?q=download/jdk8/changes/jdk8-b119.html


Paul


Re: Dragging an image from Webpage within Firefox no longer provides it as DataFlavour java.net.URL/java.util.List on OSX with Java 7

2014-01-13 Thread Hendrik Schreiber
On Nov 25, 2013, at 12:07, Paul Taylor  wrote:

> So on Windows with Java 7  I receive an image dragged frrm a webpage in these 
> flavours (plus others) but these are two I'm interested in
> 
> 25/11/2013 10.31.07:com.jthink.jaikoz.draganddrop.FileDropTarget:drop:SEVERE: 
> java.awt.datatransfer.DataFlavor[mimetype=application/x-java-url;representationclass=java.net.URL]
> 25/11/2013 10.31.07:com.jthink.jaikoz.draganddrop.FileDropTarget:drop:SEVERE: 
> java.awt.datatransfer.DataFlavor[mimetype=application/x-java-file-list;representationclass=java.util.List]
> 
> On OSX with Java 6 I received at least one of the two above, but now with 
> Java 7 (1.7.0_40) I no longer receive either
> 
> I found these bugs that seem related
> 
> https://bugs.openjdk.java.net/browse/JDK-7124379
> https://bugs.openjdk.java.net/browse/JDK-8005932

Hey Paul,

I was just wondering - did you get a resolution for this?

Thanks,

-hendrik

Re: Checkmark in JCheckBoxMenuItem not HiDPI/Retina capable

2014-01-13 Thread Hendrik Schreiber
Hey Sergey,

bug is filed under "(Bug ID: 9009584 ) - Checkmarks of JCheckBoxMenuItems 
aren't rendered in high res on Retina"

While at it, you might also want to take a look at "(Bug ID: 9009344 ) - 
JPopupMenus in Swing don't have rounded corners on OS X".

Thanks,

-hendrik



Re: Checkmark in JCheckBoxMenuItem not HiDPI/Retina capable

2014-01-13 Thread Sergey Bylokhov

Hi, Hendrik.
On 13.01.2014 2:00, Hendrik Schreiber wrote:

Hey Guys,

just wondered - is it a known bug that the checkmarks of JCheckBoxMenuItems on 
build 1.8.0-ea-b121 aren't rendered as HiDPI version on Retina displays?
I suppose not, and suggest to file a new CR at http://bugs.sun.com. Send 
assigned bugid here.


Thanks,

-hendrik



--
Best regards, Sergey.