Richard Heck wrote:
Jean-Marc Lasgouttes wrote:
Richard Heck <[EMAIL PROTECTED]> writes:
Second, every toolbar is updated every time through here EVEN IF IT IS
NOT DISPLAYED. I found this out because hiding the standard toolbar
made no difference. This is a waste.
This should definitely be fixed.
And it shouldn't be too bad, should it? The toolbar just needs to find
out if it is displayed and, if not, return. Unfortunately, I won't
have time to do this for a while. A couple weeks, probably.
Third, even under the best of circumstances, updating the math panel
toolbar takes a good long time: 20ms, on average, compared with less
than 1ms for the other toolbars. Does this really need to be done for
every keypress? or all that often, period? Things here don't get
enabled and disabled, do they?
Well, toolbars have not been designed for several dozens of entries.
Indeed. But maybe there is a way around that problem, short of
reverting to the math panel.
The panels are very nice - reverting them is a hopeless option.
If all else fails - just don't update them. Leave every option enabled
and just don't do anything when the user tries something impossible.
This should be an easy patch.
But I am sure it is possible to do batter than that. Update the panels
only when some item actually need to toggle between disabled and enabled,
for example. This don't happen all that much.
Helge Hafting