Hi Ede,

Nice idea. Seems to me that the only check call involved is in EnableCheckMenuItemShownListener.

Don't you thing it maybe an overkilled solution. It means that opening a new menu will create as many threads as visible menuitems. I don't want to slow down every enablecheck just to solve a rare case that we can may be identify and solve independantly.

Anyway, your solution maybe also be a temporary step to identify where the slowdown occur. 

I'll try to prepare a test case to demonstrate a slow case.

Michaël

envoyé : 20 septembre 2021 à 12:07
de : ede via Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net>
à : jump-pilot-devel@lists.sourceforge.net
cc : ede <e...@users.sourceforge.net>
objet : [JPP-Devel] [jump-pilot:bugs] #312 Menu slow down


we should maybe implement a threaded limited enablechecking, that will fail an Enablecheck that takes too long and shows the menu regardless?

..ede


[bugs:#312] Menu slow down

Status: open
Milestone: OJ_future
Labels: General / Other
Created: Mon Apr 22, 2013 09:34 PM UTC by michael michaud
Last Updated: Sun Sep 19, 2021 05:36 PM UTC
Owner: nobody

A co-worker has worked several days with the same project (same opened session). Day after day, the menu items took more times to be opened. After a few days, it was unbearable, I closed the project and started a new OpenJUMP and menus were fast again.
I cannot reproduce the problem though.
Particular context was :
- layer manager contained WMS layer, RunDatstoreQuery Layers, vector layers, the person opened many attribute windows without closing them.
I tried to reproduce this context but could not reproduce the slowdown.


Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to