Page 6 of 6
Re: Unexpected redraw and delayed response to action & unexpected behavior
Posted: 2025-06-15, 07:33 UTC
by ghisler(Author)
I have compiled your code, yes. What makes the scrolling slow in my code is that for each line, I first have to load all the plugins, then all the fields for a specific plugin, and then all the operators and the values for that field. You seem to just swap the controls, but this mixes up the tab order.
Re: Unexpected redraw and delayed response to action & unexpected behavior
Posted: 2025-06-15, 10:54 UTC
by AntonyD
It seems I really don't understand what is happening. What delay are we talking about - when I have exactly the opposite - I had only MOMENTARY usage of this object, unlike your code that is currently running in Total? WHAT exactly is suddenly happening to you that is slower??? I don't understand how this is even possible....
As for TAB-navigating through objects - I didn't have the goal to implement this feature in this project. The main goal was to show HOW quickly the process of adding rules can work, HOW quickly rules can be moved by priority, how intuitively the current active line can be highlighted. How convenient it is to delete rules with a special button next to the rule. THESE are all the goals that this code was supposed to demonstrate.
Re: Unexpected redraw and delayed response to action & unexpected behavior
Posted: 2025-06-15, 11:50 UTC
by white
AntonyD wrote: 2025-06-15, 10:54 UTC
It seems I really don't understand what is happening. What delay are we talking about - ....
I think Ghisler simply explained why his current code (without using your code) is slow.
AntonyD wrote: 2025-06-15, 10:54 UTC
As for TAB-navigating through objects - I didn't have the goal to implement this feature in this project. ...
Fixing the tab order does indeed seem like a fixable thing.
Re: Unexpected redraw and delayed response to action & unexpected behavior
Posted: 2025-06-15, 14:34 UTC
by AntonyD
I have some thoughts about this. So it looks likes pretty doable thing.
BUT again - FIRST OF ALL - I wanted to try speed up significantly any draw operations...