svn commit: r44577 - in /dev/netbeans/netbeans-vscode-ext: 0.1.0/ 12.2.0/ 12.2.0/apache-netbeans-java-12.2.0-vc1.vsix 12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.asc 12.2.0/apache-netbeans-java-12.2.0
Author: jlahoda Date: Thu Nov 19 05:38:16 2020 New Revision: 44577 Log: Correcting version number for Apache NetBeans VS Code Extension. Added: dev/netbeans/netbeans-vscode-ext/12.2.0/ dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix (with props) dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.asc dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.sha612 Removed: dev/netbeans/netbeans-vscode-ext/0.1.0/ Added: dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix == Binary file - no diff available. Propchange: dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix -- svn:mime-type = application/octet-stream Added: dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.asc == --- dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.asc (added) +++ dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.asc Thu Nov 19 05:38:16 2020 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEE5reiA6oYSXqyUgKntMGUD+qTZPEFAl+2BDgACgkQtMGUD+qT +ZPElgg/8D7uZNK3xhr4N9jvnSNB8w7oWUEUBuqtRMGH+Tui75UnzEC4ZwTWU5oPm +HdeocJ5uZMaL85xyELHk83lwa15BvZ0r38+ko5nRp2EKZXFjug5/Dh4RoxkMzhzo +jaU9QIAeOwOkLaBipVhlqcPgz2j6in6DzrGzKIUUVn7E/jyQilmC8PD5o3q1iU6e +N0FMbRY+WyxWbY6DYKVJc6Cb7ZriVdZcK29fVrrz3cR1InhKGSb/gWwpo8Du0/JW +vLsxr8yidMft4upEtejHLEhnVuB94NaYPLlUbN2zNVJarP2bNvWbTYCwpICHil36 +/3quFE/T1xVSbgveFjRSHNuLmt79WX6faqWcz8eIvam5fd9Z/0vBzS/1g6BpsD28 +tCbSh6khOJUst0AGQMujVshWp6grdOktyNIsVoqLPDfAgxu8ZlXMMooCr1FIHED/ +AoWisLPYhEYY1ULYGfVn/kVB4TQI56D9nEsvt8QMnRUNJeKa3jCD1p1NkbJQDY0Q +E15qekHOPGDEtdv34cNRMgdYlVeCk3wywh3L5tRljxdv0TTRpDPIpy8Cm88YIiXx +f6I4jkrlM3yrvpp8vjoEFjS0tW1nHh8XeT1r8mfF+WyLFBMrYNRqi9DTlZboyQnU ++fzCkzrG7f+8aLWzmsrwR4Sq2e7WHJJOZA44CV33fTo549OCIvw= +=rFKH +-END PGP SIGNATURE- Added: dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.sha612 == --- dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.sha612 (added) +++ dev/netbeans/netbeans-vscode-ext/12.2.0/apache-netbeans-java-12.2.0-vc1.vsix.sha612 Thu Nov 19 05:38:16 2020 @@ -0,0 +1 @@ +70fb55e6d16a3a4908405451df3b0a76758274cc391ce19519a1a7431151a85e7e13fbbbf191b0b7fcfc161b1c3e9c8ad274370b5cb10298ff071401e525ffbc apache-netbeans-java-12.2.0-vc1.vsix - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5039) Can't update plugin, wrong plugin download url
[ https://issues.apache.org/jira/browse/NETBEANS-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junichi Yamamoto updated NETBEANS-5039: --- Priority: Major (was: Minor) > Can't update plugin, wrong plugin download url > -- > > Key: NETBEANS-5039 > URL: https://issues.apache.org/jira/browse/NETBEANS-5039 > Project: NetBeans > Issue Type: Bug > Components: updatecenters - Pluginportal >Affects Versions: 12.1 >Reporter: Mirko Kusljic >Priority: Major > Attachments: Capture.PNG > > Time Spent: 10m > Remaining Estimate: 0h > > I can't update plugin, it seams like plugin download url is wrong, it is > "[https://plugins.netbeans.apache.org/catalogue/download//190/netbeans-no-newline-resolver-1.4.1.nbm]";, > but it should be > "[https://plugins.netbeans.apache.org/catalogue/download/190/netbeans-no-newline-resolver-1.4.1.nbm]";. > Not sure if this problem is on plugin or netbeans side. > I'm using netbeans 12.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2360) HiDPI scaling not applied automatically on Linux
[ https://issues.apache.org/jira/browse/NETBEANS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235014#comment-17235014 ] Eirik Bakke commented on NETBEANS-2360: --- As of the latest Ubuntu release, Ubuntu 20.04, the "Displays" control panel has a "Scale" factor option. I believe this sets a gnome property known as "Xft/DPI". Java does not seem to react to this property at the GraphicsConfiguration level, however; that should probably be reported as an OpenJDK bug/feature request. Meanwhile, GDK_SCALE works fine. Nevertheless, the default LAF on Linux (GTK+) gets into trouble when Xft/DPI is set, because some UI elements end up being scaled and others don't. What does work is to set GDK_SCALE and use FlatLAF. In that case, all the UI elements appear properly scaled, regardless of whether Xft/DPI is set in addition. Perhaps FlatLAF should be made the default LAF on Linux, and the NetBeans startup script should set GDK_SCALE automatically based on the value of Xft/DPI. > HiDPI scaling not applied automatically on Linux > > > Key: NETBEANS-2360 > URL: https://issues.apache.org/jira/browse/NETBEANS-2360 > Project: NetBeans > Issue Type: Improvement > Components: platform - Launchers&CLI >Affects Versions: 11.0 > Environment: Kubuntu 18.03 > Oracle JDK 11.0.2 >Reporter: Eirik Bakke >Priority: Major > Labels: HiDPI, Linux > Attachments: kubunt.jpg > > > Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take > into account the system's default HiDPI scaling. This was reported in a > Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . > Note that Window decorations seem to be the correct size. > Setting the GDK_SCALE environment variable seems to fix the problem, if I > understand the originally reporter correctly. This could probably be done > easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix > the problem in multi-monitor setups. We should investigate what could be done > to make scaling work properly in multi-monitor setups involving one HiDPI > screen and one non-HiDPI screen. > Before merging a patch to the launcher script, it should be tested on a > couple of different Linux environments, using both HiDPI and non-HiDPI > screens. Note that the UNIX launcher script is also used on MacOS. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2360) HiDPI scaling not applied automatically on Linux
[ https://issues.apache.org/jira/browse/NETBEANS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235014#comment-17235014 ] Eirik Bakke edited comment on NETBEANS-2360 at 11/18/20, 9:34 PM: -- As of the latest Ubuntu release, Ubuntu 20.04, the "Displays" control panel has a "Scale" factor option. I believe this sets a gnome property known as "Xft/DPI". Java does not seem to react to this property at the GraphicsConfiguration level, however; that should probably be reported as an OpenJDK bug/feature request. Meanwhile, GDK_SCALE works fine for setting the scaling level at the GraphicsConfiguration transform level. Note that the default LAF on Linux (GTK+) gets into trouble when Xft/DPI is set, because some UI elements end up being scaled and others don't. What does work is to set GDK_SCALE and use FlatLAF. In that case, all the UI elements appear properly scaled, regardless of whether Xft/DPI is set in addition. Perhaps FlatLAF should be made the default LAF on Linux, and the NetBeans startup script should set GDK_SCALE automatically based on the value of Xft/DPI. was (Author: ebakke): As of the latest Ubuntu release, Ubuntu 20.04, the "Displays" control panel has a "Scale" factor option. I believe this sets a gnome property known as "Xft/DPI". Java does not seem to react to this property at the GraphicsConfiguration level, however; that should probably be reported as an OpenJDK bug/feature request. Meanwhile, GDK_SCALE works fine for setting the scaling level at the GraphicsConfiguration transform level. Nevertheless, the default LAF on Linux (GTK+) gets into trouble when Xft/DPI is set, because some UI elements end up being scaled and others don't. What does work is to set GDK_SCALE and use FlatLAF. In that case, all the UI elements appear properly scaled, regardless of whether Xft/DPI is set in addition. Perhaps FlatLAF should be made the default LAF on Linux, and the NetBeans startup script should set GDK_SCALE automatically based on the value of Xft/DPI. > HiDPI scaling not applied automatically on Linux > > > Key: NETBEANS-2360 > URL: https://issues.apache.org/jira/browse/NETBEANS-2360 > Project: NetBeans > Issue Type: Improvement > Components: platform - Launchers&CLI >Affects Versions: 11.0 > Environment: Kubuntu 18.03 > Oracle JDK 11.0.2 >Reporter: Eirik Bakke >Priority: Major > Labels: HiDPI, Linux > Attachments: kubunt.jpg > > > Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take > into account the system's default HiDPI scaling. This was reported in a > Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . > Note that Window decorations seem to be the correct size. > Setting the GDK_SCALE environment variable seems to fix the problem, if I > understand the originally reporter correctly. This could probably be done > easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix > the problem in multi-monitor setups. We should investigate what could be done > to make scaling work properly in multi-monitor setups involving one HiDPI > screen and one non-HiDPI screen. > Before merging a patch to the launcher script, it should be tested on a > couple of different Linux environments, using both HiDPI and non-HiDPI > screens. Note that the UNIX launcher script is also used on MacOS. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2360) HiDPI scaling not applied automatically on Linux
[ https://issues.apache.org/jira/browse/NETBEANS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235014#comment-17235014 ] Eirik Bakke edited comment on NETBEANS-2360 at 11/18/20, 9:34 PM: -- As of the latest Ubuntu release, Ubuntu 20.04, the "Displays" control panel has a "Scale" factor option. I believe this sets a gnome property known as "Xft/DPI". Java does not seem to react to this property at the GraphicsConfiguration level, however; that should probably be reported as an OpenJDK bug/feature request. Meanwhile, GDK_SCALE works fine for setting the scaling level at the GraphicsConfiguration transform level. Nevertheless, the default LAF on Linux (GTK+) gets into trouble when Xft/DPI is set, because some UI elements end up being scaled and others don't. What does work is to set GDK_SCALE and use FlatLAF. In that case, all the UI elements appear properly scaled, regardless of whether Xft/DPI is set in addition. Perhaps FlatLAF should be made the default LAF on Linux, and the NetBeans startup script should set GDK_SCALE automatically based on the value of Xft/DPI. was (Author: ebakke): As of the latest Ubuntu release, Ubuntu 20.04, the "Displays" control panel has a "Scale" factor option. I believe this sets a gnome property known as "Xft/DPI". Java does not seem to react to this property at the GraphicsConfiguration level, however; that should probably be reported as an OpenJDK bug/feature request. Meanwhile, GDK_SCALE works fine. Nevertheless, the default LAF on Linux (GTK+) gets into trouble when Xft/DPI is set, because some UI elements end up being scaled and others don't. What does work is to set GDK_SCALE and use FlatLAF. In that case, all the UI elements appear properly scaled, regardless of whether Xft/DPI is set in addition. Perhaps FlatLAF should be made the default LAF on Linux, and the NetBeans startup script should set GDK_SCALE automatically based on the value of Xft/DPI. > HiDPI scaling not applied automatically on Linux > > > Key: NETBEANS-2360 > URL: https://issues.apache.org/jira/browse/NETBEANS-2360 > Project: NetBeans > Issue Type: Improvement > Components: platform - Launchers&CLI >Affects Versions: 11.0 > Environment: Kubuntu 18.03 > Oracle JDK 11.0.2 >Reporter: Eirik Bakke >Priority: Major > Labels: HiDPI, Linux > Attachments: kubunt.jpg > > > Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take > into account the system's default HiDPI scaling. This was reported in a > Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . > Note that Window decorations seem to be the correct size. > Setting the GDK_SCALE environment variable seems to fix the problem, if I > understand the originally reporter correctly. This could probably be done > easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix > the problem in multi-monitor setups. We should investigate what could be done > to make scaling work properly in multi-monitor setups involving one HiDPI > screen and one non-HiDPI screen. > Before merging a patch to the launcher script, it should be tested on a > couple of different Linux environments, using both HiDPI and non-HiDPI > screens. Note that the UNIX launcher script is also used on MacOS. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5040) Happened at startup and repeats as soon as notification deleted
[ https://issues.apache.org/jira/browse/NETBEANS-5040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Gilman updated NETBEANS-5040: --- Summary: Happened at startup and repeats as soon as notification deleted (was: Happened at startup and repeated) > Happened at startup and repeats as soon as notification deleted > --- > > Key: NETBEANS-5040 > URL: https://issues.apache.org/jira/browse/NETBEANS-5040 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.3 >Reporter: David Gilman >Priority: Major > > > 2020-11-18T14:33:36 > 1605728016785 > 1101 > 700 > 60 > UI_USER_CONFIGURATION > UI_USER_CONFIGURATION > org.netbeans.modules.uihandler.Bundle > Windows 10, 10.0, amd64 > OpenJDK 64-Bit Server VM, 14.0.2+12-46, OpenJDK Runtime Environment, > 14.0.2+12-46 > Apache NetBeans IDE 12.1 > > NullPointerException at > com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash >reproduce> > * > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5040) Happened at startup and repeated
David Gilman created NETBEANS-5040: -- Summary: Happened at startup and repeated Key: NETBEANS-5040 URL: https://issues.apache.org/jira/browse/NETBEANS-5040 Project: NetBeans Issue Type: Bug Affects Versions: 12.3 Reporter: David Gilman 2020-11-18T14:33:36 1605728016785 1101 700 60 UI_USER_CONFIGURATION UI_USER_CONFIGURATION org.netbeans.modules.uihandler.Bundle Windows 10, 10.0, amd64 OpenJDK 64-Bit Server VM, 14.0.2+12-46, OpenJDK Runtime Environment, 14.0.2+12-46 Apache NetBeans IDE 12.1 NullPointerException at com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash* -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234878#comment-17234878 ] Donatello Santoro commented on NETBEANS-5037: - It turns out that is a problem related to the AppleWindowTabbingMode settings. I was using "always", since I want that apps like Finder and other use new tabs rather than new windows. This settings worked fine with NetBeans since Catalina. So I reset the behavior to "never" only for NetBeans, with the follow command {code:java} defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never {code} With this setting NetBeans works finally fine! Thanks for the support > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234842#comment-17234842 ] Geertjan Wielenga commented on NETBEANS-5037: - Great progress and thanks for not giving up. :-) > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5039) Can't update plugin, wrong plugin download url
[ https://issues.apache.org/jira/browse/NETBEANS-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234834#comment-17234834 ] José Pereda commented on NETBEANS-5039: --- I have the same issue. The URL has an extra slash: https://plugins.netbeans.apache.org/catalogue/download//181/com-gluonhq-plugin-netbeans-2.8.2.nbm We have tried 12.0 and 12.1 On a browser, that URL gives an 404. Removing the double slash fixes the issue, and the plugin can be downloaded, so installation can be down from the Dowloaded tab. > Can't update plugin, wrong plugin download url > -- > > Key: NETBEANS-5039 > URL: https://issues.apache.org/jira/browse/NETBEANS-5039 > Project: NetBeans > Issue Type: Bug > Components: updatecenters - Pluginportal >Affects Versions: 12.1 >Reporter: Mirko Kusljic >Priority: Minor > Attachments: Capture.PNG > > > I can't update plugin, it seams like plugin download url is wrong, it is > "[https://plugins.netbeans.apache.org/catalogue/download//190/netbeans-no-newline-resolver-1.4.1.nbm]";, > but it should be > "[https://plugins.netbeans.apache.org/catalogue/download/190/netbeans-no-newline-resolver-1.4.1.nbm]";. > Not sure if this problem is on plugin or netbeans side. > I'm using netbeans 12.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234795#comment-17234795 ] Donatello Santoro commented on NETBEANS-5037: - Thank you for the suggestion. I created a fresh new user and with it I can run NetBeans and open Preferences dialog without using sudo. So it is definitely a problem regarding my user dir. I will look further and let you know. Thank again > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234783#comment-17234783 ] Christian Oyarzun commented on NETBEANS-5037: - Another thing to try would be to create another user on the affected Mac to see if it related to something in the user's directory of elsewhere on the Mac. If the problem does not exist with the new user, then maybe reseting the permissions of the user's home dir will fix the issue. [https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/] > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234770#comment-17234770 ] Geertjan Wielenga commented on NETBEANS-5037: - In the user directory. Compare the permissions in that directory with your colleagues where everything works ok. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234762#comment-17234762 ] Donatello Santoro commented on NETBEANS-5037: - I tried to (re)move both directories (app settings and caches), but the issue remains. I have no clue on which file/dir/library requires the sudo command. Is there a way to read NetBeans logs, to see if there is some exception? Thanks > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234646#comment-17234646 ] Christian Oyarzun commented on NETBEANS-5037: - Have you tried a clean user and cache directory on the two machines that are having issues? Assuming they are in the default location. {{{code:bash}}} mv ${HOME}/Library/Application\ Support/NetBeans/12.1 ${HOME}/Library/Application\ Support/NetBeans/12.1.-fubar mv ${HOME}/Library/Caches/NetBeans/12.1 ${HOME}/Library/Caches/NetBeans/12.1-fubar {{{code}}} > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234646#comment-17234646 ] Christian Oyarzun edited comment on NETBEANS-5037 at 11/18/20, 2:05 PM: Have you tried a clean user and cache directory on the two machines that are having issues? Assuming they are in the default location. {code:bash} mv ${HOME}/Library/Application\ Support/NetBeans/12.1 ${HOME}/Library/Application\ Support/NetBeans/12.1.-fubar mv ${HOME}/Library/Caches/NetBeans/12.1 ${HOME}/Library/Caches/NetBeans/12.1-fubar {code} was (Author: oyarzun): Have you tried a clean user and cache directory on the two machines that are having issues? Assuming they are in the default location. {{{code:bash}}} mv ${HOME}/Library/Application\ Support/NetBeans/12.1 ${HOME}/Library/Application\ Support/NetBeans/12.1.-fubar mv ${HOME}/Library/Caches/NetBeans/12.1 ${HOME}/Library/Caches/NetBeans/12.1-fubar {{{code}}} > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234593#comment-17234593 ] Geertjan Wielenga commented on NETBEANS-5037: - The problem may not be in your installation directory, but in your user directory, check the permissions there (look in the About dialog in NetBeans to see where the user directory is). > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234591#comment-17234591 ] Geertjan Wielenga commented on NETBEANS-5037: - But for two of your colleagues there's no problem, so there's something different between how Big Sur is installed for you compared to those two colleagues. It may therefore not be a problem with Big Sur, but with how it is installed in your case. The trick is to find out what's the difference between yours and theirs. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5039) Can't update plugin, wrong plugin download url
[ https://issues.apache.org/jira/browse/NETBEANS-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234577#comment-17234577 ] Junichi Yamamoto commented on NETBEANS-5039: Thank you for reporting it! CC: [~matthiasblaesing] [~jkovalsky] [~jpirek] > Can't update plugin, wrong plugin download url > -- > > Key: NETBEANS-5039 > URL: https://issues.apache.org/jira/browse/NETBEANS-5039 > Project: NetBeans > Issue Type: Bug > Components: updatecenters - Pluginportal >Affects Versions: 12.1 >Reporter: Mirko Kusljic >Priority: Minor > Attachments: Capture.PNG > > > I can't update plugin, it seams like plugin download url is wrong, it is > "[https://plugins.netbeans.apache.org/catalogue/download//190/netbeans-no-newline-resolver-1.4.1.nbm]";, > but it should be > "[https://plugins.netbeans.apache.org/catalogue/download/190/netbeans-no-newline-resolver-1.4.1.nbm]";. > Not sure if this problem is on plugin or netbeans side. > I'm using netbeans 12.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5039) Can't update plugin, wrong plugin download url
Mirko Kusljic created NETBEANS-5039: --- Summary: Can't update plugin, wrong plugin download url Key: NETBEANS-5039 URL: https://issues.apache.org/jira/browse/NETBEANS-5039 Project: NetBeans Issue Type: Bug Components: updatecenters - Pluginportal Affects Versions: 12.1 Reporter: Mirko Kusljic Attachments: Capture.PNG I can't update plugin, it seams like plugin download url is wrong, it is "[https://plugins.netbeans.apache.org/catalogue/download//190/netbeans-no-newline-resolver-1.4.1.nbm]";, but it should be "[https://plugins.netbeans.apache.org/catalogue/download/190/netbeans-no-newline-resolver-1.4.1.nbm]";. Not sure if this problem is on plugin or netbeans side. I'm using netbeans 12.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234508#comment-17234508 ] Donatello Santoro commented on NETBEANS-5037: - Using sudo there are several disadvantages, for example: * using external tools (like ant, gradle, ...) requires also to use sudo, but then you have typically a different configuration, and this complicates things * running webapps using Tomcat also sometimes incurs permission problems In essence, it would be highly desirable to be able to avoid sudo. Let me also say that permissions in NetBeans installation folder are fine: in fact, not using sudo the app starts just fine and you can pretty much do anything, but than the preference/plugins/find dialogs hang the application and you are forced to close. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234506#comment-17234506 ] Geertjan Wielenga commented on NETBEANS-5037: - Or, I would compare the permissions of the two where there are no problems with the permissions of the two of you that do have problems, especially in the NetBeans installation directory and user directory. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234502#comment-17234502 ] Geertjan Wielenga commented on NETBEANS-5037: - Your netbeans.conf seems fine to me. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234501#comment-17234501 ] Geertjan Wielenga commented on NETBEANS-5037: - So, what's the problem with just continuing to use "sudo", if it works for you? And, since it is a permissions related issue, can you look at the permissions of your NetBeans installation directory and user directory? > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234471#comment-17234471 ] Donatello Santoro commented on NETBEANS-5037: - This is my netbeans.conf. I changed only "netbeans_jdkhome" property. I also tried several different JDKs. [^netbeans.conf] Without setting netbeans_jdkhome I am not able to start NetBeans. Setting netbeans_jdkhome, I can run it, but I cannot open settings/plugins/find (all of them are dialogs, I don't know if it is relevant) without sudo > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donatello Santoro updated NETBEANS-5037: Attachment: netbeans.conf > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: netbeans.conf, settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234465#comment-17234465 ] Geertjan Wielenga commented on NETBEANS-5037: - Then you shouldn't need to use sudo. Can you copy and paste your netbeans.conf file in here? > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-tools] branch master updated: NetBeans Active Users statistics scripts
This is an automated email from the ASF dual-hosted git repository. jpirek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-tools.git The following commit(s) were added to refs/heads/master by this push: new b7d9ffb NetBeans Active Users statistics scripts new 0945026 Merge pull request #38 from jpirek/master b7d9ffb is described below commit b7d9ffba8e0b6b294220ef688620a11c1b2bf228 Author: Jan Pirek AuthorDate: Wed Nov 18 10:44:11 2020 +0100 NetBeans Active Users statistics scripts --- pp3/au/Db.php | 60 +++ pp3/au/Importer.php | 255 +++ pp3/au/Logger.php | 74 +++ pp3/au/Runner.php | 237 ++ pp3/au/build-dashboard_v2.php | 334 ++ pp3/au/config.php | 21 + pp3/au/db_connect.php.inc | 11 + pp3/au/jchalupa.sql.gz | Bin 0 -> 20268 bytes pp3/au/last-date-dlc| 1 + pp3/au/lib/GeoIP.dat| Bin 0 -> 1097170 bytes pp3/au/lib/Getopt.php | 970 pp3/au/lib/Getopt/Exception.php | 66 +++ pp3/au/lib/geoip.inc| 509 + pp3/au/run-au-import.php| 48 ++ 14 files changed, 2586 insertions(+) diff --git a/pp3/au/Db.php b/pp3/au/Db.php new file mode 100755 index 000..85a803d --- /dev/null +++ b/pp3/au/Db.php @@ -0,0 +1,60 @@ + diff --git a/pp3/au/Importer.php b/pp3/au/Importer.php new file mode 100755 index 000..ffa4af1 --- /dev/null +++ b/pp3/au/Importer.php @@ -0,0 +1,255 @@ + 0) { +//$row = mysql_fetch_assoc($res); +//$ipId = $row['id']; +//self::$ipCache[$ip] = $ipId; +//} else { +//Db::query("INSERT INTO ips (ip, country) VALUES ('$ip' ,'" . getCCByIP($ip) . "')"); +//$ipId = mysql_insert_id(); +//self::$ipCache[$ip] = $ipId; +//} +//} +//} else { +//$ipId = self::$ipCache[$ip]; +//} + $ipId=0; + +// resolve userId +$tsInt = strtotime($ts); +if (!self::$userCache[$user_id]) { +$res = Db::query('SELECT id, since, last_seen FROM users WHERE unique_id="' . $user_id . '"'); +if ($res) { +if (mysql_num_rows($res) > 0) { +$row = mysql_fetch_assoc($res); +$userId = $row['id']; +// if this ping is newer then one in DB, save it as last seen and calc delay +if ($tsInt > $row['last_seen']) { +// calc the delay since last ping +$delay = round(($tsInt - $row['last_seen']) / (60 * 60 * 24)); +// update last seen and delay +if($delay>0) { +Db::query("UPDATE users SET last_seen=$tsInt, catalog_id=$catalogId, delay=$delay WHERE id=" . $userId); +} +} +self::$userCache[$user_id] = array('id' => $userId, 'since' => $row['since'], 'last_seen' => $tsInt, 'catalog_id' => $catalogId, 'delay' => $delay); +} else { +Db::query("INSERT INTO users (unique_id, since, last_seen, catalog_id, delay) VALUES ('$user_id', '$ts', $tsInt, $catalogId, )"); +$userId = mysql_insert_id(); +self::$userCache[$user_id] = array('id' => $userId, 'since' => $ts, 'last_seen' => $tsInt, 'catalog_id' => $catalogId, 'delay' => ); +} +} +} else { +$userId=self::$userCache[$user_id]['id']; +// check if the hit from cache has newer timestamp, if so, mark user for update her timestamp +if (self::$userCache[$user_id]['since'] > $ts) { +$updateUsers = array('id' => self::$userCache[$user_id]['id'], 'since' => $ts); +} +} + +// resolve userId +if (!self::$user2Cache[$user2_id]) { +$res = Db::query('SELECT id, since, last_seen FROM users2 WHERE unique_id="' . $user2_id . '"'); +if ($res) { +if (mysql_num_rows($res) > 0) { +$row = mysql_fetch_assoc($res); +$user2Id = $row['id']; +// if this ping is newer then one in DB, save it as last seen and calc delay +if ($tsInt > $row['last_seen']) { +// calc the delay since last ping +$delay = round(($tsInt - $row['last_seen']) / (60 * 60 * 24)); +// update last seen and delay +if($delay>0) { +Db::query("UPDATE users2 SET last_seen=$tsInt, delay=$delay WHERE id=" . $user2Id); +} +} +se
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234461#comment-17234461 ] Donatello Santoro commented on NETBEANS-5037: - Hi [~geertjan], thanks for answering. I forgot to mention that I have already set netbeans_jdkhome in etc/netbeans.conf. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234426#comment-17234426 ] Geertjan Wielenga edited comment on NETBEANS-5037 at 11/18/20, 9:46 AM: Instead of using "sudo", you can explicitly point to the JDK to use via "netbeans_jdkhome" in etc/netbeans.conf in your installation directory. (Probably the two where "sudo" is not needed have the above option explicitly set already.) was (Author: geertjanwielenga): Instead of using "sudo", you can explicitly point to the JDK to use via "netbeans_jdkhome" in etc/netbeans.conf in your installation directory. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234426#comment-17234426 ] Geertjan Wielenga commented on NETBEANS-5037: - Instead of using "sudo", you can explicitly point to the JDK to use via "netbeans_jdkhome" in etc/netbeans.conf in your installation directory. > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5037) NetBeans dialog windows in Big Sur
[ https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donatello Santoro updated NETBEANS-5037: Component/s: platform - Plugin Manager > NetBeans dialog windows in Big Sur > -- > > Key: NETBEANS-5037 > URL: https://issues.apache.org/jira/browse/NETBEANS-5037 > Project: NetBeans > Issue Type: Bug > Components: editor - Search, editor - Settings, platform - Plugin > Manager >Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2 > Environment: macOS 11.0.2 >Reporter: Donatello Santoro >Priority: Major > Attachments: settings.png > > > In macOS Big Sur some NetBeans panels (settings and find in project) are > broken: > * they are shown in full screen, as tab, please see screenshot > * when they are shown, NB completely hangs, with high CPU usage. > I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK > (1.8, 11, 13, 15), with the same behavior. > The only way I have to solve the issue is to run NB as sudo > {code:java} > sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans > {code} > Of course this is a permission related issue, but it appears only on > NetBeans. Other Java apps seems not affected. On command line there are no > evidence of the crash. > Finally, in our office we are 4 with the same MacBook, and same macOS (just > upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 > can run NB without the sudo command. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234357#comment-17234357 ] Czukowski commented on NETBEANS-4509: - [~Kacer] I've actually managed to track it to some piece of code in the build process that deletes the file and causes this exception for subsequent runs, but I wasn't sure what to do with it next. I've posted my findings to the dev list, but nobody knew or cared to reply: https://lists.apache.org/thread.html/r9be94f028328a7acf43aa99577c24b2627e0277afd4439d08d09c160%40%3Cdev.netbeans.apache.org%3E > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists