OK some feedback again.

The 30 seconds pause only occurs with Java 17. Even the latest version.
Just tested with NB 24-rc4. Same issue.

Works fine with JDK 21 (both 23 and 24-rc4).

On Tue, Nov 26, 2024 at 5:42 PM Jean-Marc Borer <jmbo...@gmail.com> wrote:

> Hi there,
>
> Thx a lot for all you answers.
>
> I first removed all the broken mapped drives due to this almost exactly 30
> seconds delay (thought of network issue). No change.
> I have to wifi. So not that issue.
> I am sitting behind a corporate proxy, but all network connections work.
> I have no OneDrive (dev PC)
> I have ToirtoiseGit installed. So I have decorations of file/forlders in
> the file explorer.
>
> Finally I installed latest JDK 23, 21 and 17. Problem has magically
> disappeared. Now it takes 1-2 seconds to appear, which is clearly way
> better and reasonable.
>
> No idea, where it came from in the first place, but next time, I'll try to
> disable the ShellFolder option....
>
> JM
>
>
> On Thu, Nov 21, 2024 at 3:16 PM Eirik Bakke <eba...@ultorg.com.invalid>
> wrote:
>
>> Is the delay _exactly_ 30 seconds? Does the problem disappear when you
>> turn off WiFi, by any chance?
>>
>> (There was an old bug in the Add Connection Wizard, now fixed, which
>> caused a 30-second lag due to a DNS lookup timeout on certain poor network
>> connections. In that case there was an unnecessary call to URL.equals()
>> somewhere, on an "nbinst://" URL. Looks like
>> https://bz.apache.org/netbeans/ is down so I can't look it up.)
>>
>> -- Eirik
>>
>> From: Michael Bien <mbie...@gmail.com>
>> Reply-To: "dev@netbeans.apache.org" <dev@netbeans.apache.org>
>> Date: Wednesday, November 20, 2024 at 1:55 PM
>> To: "dev@netbeans.apache.org" <dev@netbeans.apache.org>, Jean-Marc Borer
>> <jmbo...@gmail.com>
>> Subject: Re: [IDE] Netbeans "open file" dialogs takes up to 30 seconds to
>> appear
>>
>> On 20.11.24 13:46, Michael Bien wrote:
>> sounds like the old windows specific JDK bug
>>
>> https://github.com/apache/netbeans/issues/3919#issuecomment-1933570275
>>
>> Make sure you use the latest supported JDK, some reported that
>> removing links (esp broken and/or network targets) from your desktop
>> helps there.
>>
>> this might help too:
>>
>> -J-Dnb.FileChooser.useShellFolder=false
>>
>> this disables the windows side bar which is the cause of most of the
>> issues.
>>
>>
>> as somewhat related note, NB has its own optional (and platform
>> independent) quick launch bar now:
>> https://github.com/apache/netbeans/pull/7164
>>
>> i mean shortcuts side bar - not sure why i wrote quick launch
>>
>> -mbien
>>
>>
>>
>> -mbien
>>
>>
>> On 20.11.24 13:36, Jean-Marc Borer wrote:
>> Dear all,
>>
>> I am running into a strange behavior since several releases (I don't
>> remember when it started exactly): every time when I invoke an action
>> that is going to spawn a native "browse files" dialog (e.g. "Open
>> project..." ), the IDE remains stuck for about 30 seconds and then it
>> displays the dialog.
>>
>> I was suspecting CrowdStrike or another security agent, but I just
>> recently had the opportunity to test on a machine without those
>> installed and I upgraded to the latest version of NB. Same behavior.
>> On IntelliJ, it works flawlessly, just to check if it is related to
>> the JVM I am using.
>>
>> *Product Version:* Apache NetBeans IDE 23
>>
>> *Java:* 17.0.8.1; OpenJDK 64-Bit Server VM 17.0.8.1+1-LTS
>>
>> *Runtime:* OpenJDK Runtime Environment 17.0.8.1+1-LTS
>>
>> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>>
>> I tried as well to profile the IDE during the opening with VisualVM
>> (see attached screenshot). Nothing in the logs of the IDE.
>>
>>
>> Does anyone have already noticed/observed such issue?
>>
>>
>> Thx for you help,
>>
>>
>> Cheers
>>
>>
>> JM
>>
>>
>> image.png
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org<mailto:
>> dev-unsubscr...@netbeans.apache.org>
>> For additional commands, e-mail: dev-h...@netbeans.apache.org<mailto:
>> dev-h...@netbeans.apache.org>
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>
>>

Reply via email to