[jira] [Commented] (NETBEANS-5304) NB Freezes when Editing CSS Files

2021-02-10 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17282792#comment-17282792
 ] 

Junichi Yamamoto commented on NETBEANS-5304:


[~fidi]
This should be fixed. So, please give it a try with beta 2: 
https://lists.apache.org/thread.html/rcc7f203ddf2ea3c52645a18db3061fd3a84a00a724e5df0c2f827de8%40%3Cdev.netbeans.apache.org%3E

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, bug.png, nb_frozen.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-02-10 Thread Firdaus Khamdamov (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17282760#comment-17282760
 ] 

Firdaus Khamdamov commented on NETBEANS-5304:
-

I can reprodice it by clicking i !bug.png! n the icon on the dialog box 

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, bug.png, nb_frozen.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17276022#comment-17276022
 ] 

Junichi Yamamoto commented on NETBEANS-5304:


[~trybowski] Thank you for your investigation :) Reproducible.
Product Version: Apache NetBeans IDE 12.2
Java: 1.8.0_202; Java HotSpot(TM) 64-Bit Server VM 25.202-b08
Runtime: Java(TM) SE Runtime Environment 1.8.0_202-b08
System: Linux version 5.8.0-41-generic running on amd64; UTF-8;

[~geertjan] [~matthiasblaesing] Thank you for your verification.

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, nb_frozen.png
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Jira


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17275945#comment-17275945
 ] 

Matthias Bläsing commented on NETBEANS-5304:


A prebuild binary of delivery + the patch suggested by the reference Github PR 
is available here: 
https://doppel-helix.eu/NetBeans-dev-dev-4135fe82274e848b763001c46d708a31e9278d37-release.zip

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
>  Labels: pull-request-available
> Attachments: CSS.nps, nb_frozen.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Jira


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17275878#comment-17275878
 ] 

Matthias Bläsing commented on NETBEANS-5304:


I can reproduce this with OpenJDK 8 + 11 on Ubuntu Linux:

{{Java: 1.8.0_262; OpenJDK 64-Bit Server VM 25.262-b10}}
{{Runtime: OpenJDK Runtime Environment 1.8.0_262-b10}}
 
{{openjdk version "11.0.9.1" 2020-11-04}}
{{OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.10)}}
{{OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.10, mixed mode, 
sharing)}}
I attached an profiler snapshot from the problem and it seems, that hiding the 
popup uses massive resources. I don't understand why the rendering of the whole 
file seems fine, but hiding the rendering has such huge impact. In the 
profiler, only one method stands out:

{{javax.swing.PopupFactory$MediumWeightPopup.hide ()}}

>From my POV we see an issue in the JDK here, but that won't help (or only help 
>in the very long run). I'll try to see why the problem happens and what we can 
>do to work around that.

 

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
> Attachments: CSS.nps, nb_frozen.png
>
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17275864#comment-17275864
 ] 

Geertjan Wielenga commented on NETBEANS-5304:
-

Tried these steps with this configuration and cannot reproduce:

Product Version: Apache NetBeans IDE 12.2
Java: 14; OpenJDK 64-Bit Server VM 14+36
Runtime: OpenJDK Runtime Environment 14+36
System: Mac OS X version 10.15.2 running on x86_64; UTF-8; en_GB (nb)

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
> Attachments: nb_frozen.png
>
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-01-31 Thread Krzysztof Trybowski (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17275844#comment-17275844
 ] 

Krzysztof Trybowski commented on NETBEANS-5304:
---

Hi,

i spent some time and did some tests, and I think I am able to reproduce it 
always.
 # In css file type “back”.
 # backface-visibility “hint” should appear; it is malformed
 # press backspace twice
 # NB is frozen:

 

!nb_frozen.png!

 

 

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
> Attachments: nb_frozen.png
>
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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-5304) NB Freezes when Editing CSS Files

2021-01-30 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17275743#comment-17275743
 ] 

Junichi Yamamoto commented on NETBEANS-5304:


[~trybowski] Could you please have a look at your log? (Are there exceptions 
for CSS?) It would be nice if you can find/provide exact steps to reproduce it 
always. Maybe, It's difficult to fix it without exact steps to reproduce it... 

CC: [~matthiasblaesing]

> NB Freezes when Editing CSS Files
> -
>
> Key: NETBEANS-5304
> URL: https://issues.apache.org/jira/browse/NETBEANS-5304
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 12.2
> Environment: NB 12.2, Windows 10, 16 GB RAM. CPU utilization of 
> Netbeans 25% on a 4-core system, I assume NB causes 100% utilization on the 
> core it runs on.
>Reporter: Krzysztof Trybowski
>Priority: Major
>
> While editing CSS files, NetBeans tends to freeze. This always happens when 
> popup help appears. For example I start typing "background". But then a popup 
> appears, showing help for "backface-visibility" which is completely 
> irrelevant, and NB hangs for about 20 minutes.
> You never know when it would happen. It happens in a minority of cases, but 
> it still means it happens at least once a day.



--
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