Submitted by Armando on 2017/01/27 09:39
The sluggishness I'm experiencing has been around since v90 or 89 I think. I just didn't have the time to post about it. Focus has seen improvements, but it's still shaky.
 
- When several grids are loaded (let's say more than 10, but on autohide, so only a few are really visible), IQ becomes sluggish : switching grids and creating items is slow.
And then focus becomes a problem. 
 
It's not a show stopper, but it's serious enough to slow me down and be afraid of loosing stuff.
Because the focus change isn't reliable enough and becomes slower, I often mistakenly delete or paste stuff in the wrong items, in other panes, while trying to work in others. Especially when working in *panes inside tabs* -- there, the focus always wants to come back to the tab's "master grid" (that grid where all other panes are "pasted").
 
(Even the add item dialog it can be sluggish for many seconds while I'm typing a note.)
 
Since I can't unload grids in pane (I don' want to close them as they serve as very convenient place holders/reminder in my new setup), the workaround is to periodically close IQ when I need to work on a new project.
Restarting IQ unloads the loaded grids in panes, and I can then work with better performance... until I need to open other grids.
 
 
Cause?
- The performance and focus (maybe related) issue seems to be caused by other grids (or something else) refreshing every time an event happens in a grid.
 
 
I understand that I might be one of the few with this problem as I'm using the new UI capabilities extensively, have a bigger DB, bigger grids, etc.
(Other performance issues regarding equations etc. aren't back though, so that's good!)
 
Thanks!
 
P.S. I'm not sure what the background calculation option does in the "options", but it doesn't seem to make any difference here. I tried that, hoping that would have some effect, but... no.

Comments

I'll look into it today to see if I can reproduce it
 
 
 
Pierre_Admin
IQ Designer
 

I see what the issue is. All these loaded grids need to be updated, and that takes time, especially on a large IQBase.
Also, some of these updates are not done in a separate thread, so it is affecting responsiveness. I'll fix that in v92 or v93
 
Would one these help ?:
  1. An unload command 
  2. Auto-unload after x minutes of inactivity in a grid
  3. An unload all hidden grids command
  4. A context menu for the list of grids to:  open, copy, unload, close each one
Item 4 shouldn't be too long to do
 
Pierre_Admin
IQ Designer
 

Armando

2017/01/27 12:28

In reply to by Pierre_Admin

[quote=Pierre_Admin]
I see what the issue is. All these loaded grids need to be updated, and that takes time, especially on a large IQBase.
Also, some of these updates are not done in a separate thread, so it is affecting responsiveness. I'll fix that in v92 or v93
 
Would one these help ?:
An unload command 
Auto-unload after x minutes of inactivity in a grid
An unload all hidden grids command
A Windows dropdown showing the list of loaded and non-loaded windows, with an option to unload / close each one
 
Pierre_Admin
IQ Designer
 
[/quote]
 
 
[EDITED - saw you modified your solutions]
 
Hi Pierre,
Thanks a lot for looking into it.
Yes I think that unloading hidden grids would be handy. I was going to propose that.
All your suggestions could be useful depending on the case. But let's say that the best bang for the buck seems to be:
- An unload command 
- A context menu for the list of grids to:  open, copy, unload, close each one
 
Gives more flexibility to the user.
 
And, maybe if you have the time:
- An unload all hidden grids command
 
Could be handy to get IQ back to a "just loaded" state without having to restart or close all panes.
 
The "Auto-unload after x minutes of inactivity in a grid" is also interesting to, but usefulness will depend on the context IMO 
(It seems logical to me that if a grid hasn't been used in the last 10 min or so, it's probably not a big deal to reloaded it if needed. But... Sometimes it could be frustrating to have to wait for a grid with a complex filter to slowly reload because time's up...!)
 

Armando

2017/01/30 11:58

In reply to by Pierre_Admin

The focus issues & the way grids are refreshed should probably be also looked at somewhat "separately".
By itself, the Focus problem is an ongoing... problem. It requires me to be very careful every time I start working in a grid, especially if the focus temporarily switches back and forth between a popup and a grid, or between the properties pane and a grid, etc.
(As an example : just discovered 8 items marked as done, and they shouldn't be -- they're just items that are part of a text. They were marked as done inadvertently as I was marking todo's as done in a grid in a pane.)
Thanks!