You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/18 20:52:22 UTC
[GitHub] [netbeans] vieiro opened a new pull request #3810: #3748 Note for Advanced Proxy Options
vieiro opened a new pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810
Adding a note in the Advanced Proxy Options to warn users of JDK >= 8u111, because Basic auth disables HTTPS tunneling from this on. See #3748 for details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
vieiro commented on pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#issuecomment-1073062435
Thanks @mbien Things look like so now

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on a change in pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
mbien commented on a change in pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#discussion_r830502809
##########
File path: platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.java
##########
@@ -451,6 +467,17 @@ private void cbSameProxySettingsActionPerformed(java.awt.event.ActionEvent evt)
}
followHttpProxyIfDemand ();
}//GEN-LAST:event_cbSameProxySettingsActionPerformed
+
+ private void lblBasicAuthNoteMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblBasicAuthNoteMouseClicked
+ try {
+ // Issue https://github.com/apache/netbeans/issues/3748
+ URI uri = new URI("https://netbeans.apache.org/wiki/ProxyBasicAuth"); // NOI18N
+ Desktop.getDesktop().browse(uri);
+ } catch (Exception ex) {
+ Exceptions.printStackTrace(ex);
+ }
+ // TODO add your handling code here:
Review comment:
nitpick: autogen text can be removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
vieiro commented on pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#issuecomment-1073055961
@mbien please give it another try. If width is still too wide we can give GridBagLayout a try.
Note that the original labels were cropped (are expanded to the right now).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro merged pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
vieiro merged pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
vieiro commented on pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#issuecomment-1073055095
> if i resize the window it appears as if the lower two text fields have now a fixed size and are not attached to the labels after resizing (didn't happen to the first version i tested, fill-with no longer enabled for those two?)
>
> the width is also essentially the same as the screenshot I posted above, did you forget to push something?
Let's give it a try without the "<html" text in the label, this may be inteferring with layout.
I'm with FlatLaf and Cinnamon on my box, width looks normal:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
mbien commented on pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#issuecomment-1073052168
if i resize the window it appears as if the lower two text fields have now a fixed size and are not attached to the labels after resizing (didn't happen to the first version i tested, fill-with no longer enabled for those two?)
the width is also essentially the same as the screenshot I posted above, did you forget to push something?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
vieiro commented on pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#issuecomment-1073048670
Good point! One of these days we should start defining a UI style-guide for margins/etc.
Things look like this now (label is disabled iff auth is disabled):

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on pull request #3810: #3748 Note for Advanced Proxy Options
Posted by GitBox <gi...@apache.org>.
mbien commented on pull request #3810:
URL: https://github.com/apache/netbeans/pull/3810#issuecomment-1073060301
the label had a preferred size of 1k. It's now set to fill-with. The gaps are now set to default too (one side was 12, the other 18). I am not sure why it looked differently on your system (I am using cinnamon too).
how it looked before for me (+ it did not resize properly):

post patch:

patch below:
you can apply it with `git am <patch file>` - feel free to squash it into your changes.
```patch
From 0a94ee498dc26dec4ee84e0f154c7867783a6a0d Mon Sep 17 00:00:00 2001
From: Michael Bien <mb...@gmail.com>
Date: Sat, 19 Mar 2022 19:19:19 +0100
Subject: [PATCH] layout fixes
- set label to fill width + hand cursor
- set gaps to default
---
.../core/ui/options/general/AdvancedProxyPanel.form | 8 ++++----
.../core/ui/options/general/AdvancedProxyPanel.java | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.form b/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.form
index 342633efbb..84d4022034 100644
--- a/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.form
+++ b/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.form
@@ -42,9 +42,9 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
+ <EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
- <Component id="lblBasicAuthNote" min="-2" pref="1000" max="-2" attributes="0"/>
+ <Component id="lblBasicAuthNote" pref="569" max="32767" attributes="0"/>
<Component id="cbUseProxyAuthentication" alignment="1" max="32767" attributes="0"/>
<Component id="sSeparator" alignment="1" max="32767" attributes="1"/>
<Group type="102" alignment="0" attributes="0">
@@ -92,7 +92,7 @@
</Group>
</Group>
</Group>
- <EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
+ <EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -386,7 +386,7 @@
<ResourceString bundle="org/netbeans/core/ui/options/general/Bundle.properties" key="AdvancedProxyPanel.lblBasicAuthNote.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
- <Color id="Cursor de Mano"/>
+ <Color id="Hand Cursor"/>
</Property>
</Properties>
<Events>
diff --git a/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.java b/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.java
index 9c04164a1b..c80b8e981e 100644
--- a/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.java
+++ b/platform/core.ui/src/org/netbeans/core/ui/options/general/AdvancedProxyPanel.java
@@ -351,9 +351,9 @@ public class AdvancedProxyPanel extends javax.swing.JPanel {
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
- .addGap(12, 12, 12)
+ .addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(lblBasicAuthNote, javax.swing.GroupLayout.PREFERRED_SIZE, 1000, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(lblBasicAuthNote, javax.swing.GroupLayout.DEFAULT_SIZE, 569, Short.MAX_VALUE)
.addComponent(cbUseProxyAuthentication, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(sSeparator, javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(layout.createSequentialGroup()
@@ -390,7 +390,7 @@ public class AdvancedProxyPanel extends javax.swing.JPanel {
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(tfUserName)
.addComponent(pfUserPassword))))
- .addGap(18, 18, 18))
+ .addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
--
2.35.1
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists