From tg at freigmbh.de Mon Sep 19 12:47:29 2022 From: tg at freigmbh.de (Thorsten) Date: Mon, 19 Sep 2022 14:47:29 +0200 Subject: Opacity elements broken for svg Message-ID: Hello This is a bug report that should go through https://bugreport.java.com/ , however the bug report site only gives me 'Access Denied You don't have permission to access "http://splash.oracle.com/bugreport/submit_start.do?" on this server.' whenever I hit submit. Is it broken for everyone or did I get blacklisted? So since openjx 18 using opacity="" will just behave like opacity was set to 1. -> In the Example: two black circles instead of one black and one teal circle. Version 17.0.2 works fine Example svg was taken from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity Best regards, Thorsten Goetzke package com.example.demo; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.WebView; import javafx.stage.Stage; public class HelloApplication extends Application { ??? @Override ??? public void start(Stage stage) { ??????? final WebView webView = new WebView(); ??????? final String svg = "\n" + "? \n" + "??? \n" + "????? \n" + "????? \n" + " \n" + "? \n" + "? \n" + "? \n" + "? \n" + "\n"; ??????? webView.getEngine().loadContent(svg); ??????? stage.setScene(new Scene(webView)); ??????? stage.show(); ??? } ??? public static void main(String[] args) { ??????? launch(); ??? } } From mp at jugs.org Mon Sep 19 13:01:56 2022 From: mp at jugs.org (Michael Paus) Date: Mon, 19 Sep 2022 15:01:56 +0200 Subject: Opacity elements broken for svg In-Reply-To: References: Message-ID: <4271e24b-7a55-b6ce-cbb3-94a58001990e@jugs.org> Hi Thorsten, the link works without problems for me. Maybe try it on another machine. Michael Am 19.09.22 um 14:47 schrieb Thorsten: > Hello > > This is a bug report that should go through > https://bugreport.java.com/ , however the bug report site only gives > me 'Access Denied You don't have permission to access > "http://splash.oracle.com/bugreport/submit_start.do?" on this server.' > whenever I hit submit. Is it broken for everyone or did I get > blacklisted? > > So since openjx 18 using opacity="" will just behave like > opacity was set to 1. -> In the Example: two black circles instead of > one black and one teal circle. Version 17.0.2 works fine > > Example svg was taken from > https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity > > Best regards, > > Thorsten Goetzke > > > > package com.example.demo; > > import javafx.application.Application; > import javafx.scene.Scene; > import javafx.scene.web.WebView; > import javafx.stage.Stage; > > > public class HelloApplication extends Application { > ??? @Override > ??? public void start(Stage stage) { > ??????? final WebView webView = new WebView(); > ??????? final String svg = " xmlns=\"http://www.w3.org/2000/svg\">\n" + "? \n" + "??? > y2=\"100%\">\n" + "????? style=\"stop-color:skyblue;\" />\n" + "????? style=\"stop-color:seagreen;\" />\n" + " \n" + "? > \n" + "? fill=\"url(#gradient)\" />\n" + "? r=\"40\" fill=\"black\" />\n" + "? cy=\"50\" r=\"40\" fill=\"black\" opacity=\"0.3\" />\n" + "\n"; > ??????? webView.getEngine().loadContent(svg); > ??????? stage.setScene(new Scene(webView)); > ??????? stage.show(); > ??? } > > > ??? public static void main(String[] args) { > ??????? launch(); > ??? } > } > From tg at freigmbh.de Mon Sep 19 13:08:29 2022 From: tg at freigmbh.de (Thorsten) Date: Mon, 19 Sep 2022 15:08:29 +0200 Subject: Opacity elements broken for svg In-Reply-To: <4271e24b-7a55-b6ce-cbb3-94a58001990e@jugs.org> References: <4271e24b-7a55-b6ce-cbb3-94a58001990e@jugs.org> Message-ID: Hello, Thats kind of the thing, the link work, it lets me enter all the information, but as soon as I hit submit, I get the error. I have tried different browsers, still nothing. Anyone an idea who I can contact about this? Best regards, Thorsten Am 19/09/2022 um 15:01 schrieb Michael Paus: > Hi Thorsten, > the link works without problems for me. Maybe try it on another machine. > Michael > > Am 19.09.22 um 14:47 schrieb Thorsten: >> Hello >> >> This is a bug report that should go through >> https://bugreport.java.com/ , however the bug report site only gives >> me 'Access Denied You don't have permission to access >> "http://splash.oracle.com/bugreport/submit_start.do?" on this >> server.' whenever I hit submit. Is it broken for everyone or did I >> get blacklisted? >> >> So since openjx 18 using opacity="" will just behave like >> opacity was set to 1. -> In the Example: two black circles instead of >> one black and one teal circle. Version 17.0.2 works fine >> >> Example svg was taken from >> https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity >> >> Best regards, >> >> Thorsten Goetzke >> >> >> >> package com.example.demo; >> >> import javafx.application.Application; >> import javafx.scene.Scene; >> import javafx.scene.web.WebView; >> import javafx.stage.Stage; >> >> >> public class HelloApplication extends Application { >> ??? @Override >> ??? public void start(Stage stage) { >> ??????? final WebView webView = new WebView(); >> ??????? final String svg = "> xmlns=\"http://www.w3.org/2000/svg\">\n" + "? \n" + "??? >> > y2=\"100%\">\n" + "????? > style=\"stop-color:skyblue;\" />\n" + "????? > style=\"stop-color:seagreen;\" />\n" + " \n" + "? >> \n" + "? > fill=\"url(#gradient)\" />\n" + "? > r=\"40\" fill=\"black\" />\n" + "? > cy=\"50\" r=\"40\" fill=\"black\" opacity=\"0.3\" />\n" + "\n"; >> ??????? webView.getEngine().loadContent(svg); >> ??????? stage.setScene(new Scene(webView)); >> ??????? stage.show(); >> ??? } >> >> >> ??? public static void main(String[] args) { >> ??????? launch(); >> ??? } >> } >> > From kevin.rushforth at oracle.com Mon Sep 19 13:01:46 2022 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 19 Sep 2022 06:01:46 -0700 Subject: Opacity elements broken for svg In-Reply-To: References: Message-ID: This belongs on the openjfx-dev list, so I'm rerouting it (I Bcc'ed openjfx-discuss) I haven't heard other reports of https://bugreport.java.com being broken, but I can file the bug for you. -- Kevin On 9/19/2022 5:47 AM, Thorsten wrote: > Hello > > This is a bug report that should go through > https://bugreport.java.com/ , however the bug report site only gives > me 'Access Denied You don't have permission to access > "http://splash.oracle.com/bugreport/submit_start.do?" on this server.' > whenever I hit submit. Is it broken for everyone or did I get > blacklisted? > > So since openjx 18 using opacity="" will just behave like > opacity was set to 1. -> In the Example: two black circles instead of > one black and one teal circle. Version 17.0.2 works fine > > Example svg was taken from > https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity > > Best regards, > > Thorsten Goetzke > > > > package com.example.demo; > > import javafx.application.Application; > import javafx.scene.Scene; > import javafx.scene.web.WebView; > import javafx.stage.Stage; > > > public class HelloApplication extends Application { > ??? @Override > ??? public void start(Stage stage) { > ??????? final WebView webView = new WebView(); > ??????? final String svg = " xmlns=\"http://www.w3.org/2000/svg\">\n" + "? \n" + "??? > y2=\"100%\">\n" + "????? style=\"stop-color:skyblue;\" />\n" + "????? style=\"stop-color:seagreen;\" />\n" + " \n" + "? > \n" + "? fill=\"url(#gradient)\" />\n" + "? r=\"40\" fill=\"black\" />\n" + "? cy=\"50\" r=\"40\" fill=\"black\" opacity=\"0.3\" />\n" + "\n"; > ??????? webView.getEngine().loadContent(svg); > ??????? stage.setScene(new Scene(webView)); > ??????? stage.show(); > ??? } > > > ??? public static void main(String[] args) { > ??????? launch(); > ??? } > } >