Unexpected redraw and delayed response to action & unexpected behavior
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50824
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Unexpected redraw and delayed response to action & unexpected behavior
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Unexpected redraw and delayed response to action & unexpected behavior
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.
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.
#146217 personal license
Re: Unexpected redraw and delayed response to action & unexpected behavior
I think Ghisler simply explained why his current code (without using your code) is slow.AntonyD wrote: 2025-06-15, 10:54 UTC It seems I really don't understand what is happening. What delay are we talking about - ....
Fixing the tab order does indeed seem like a fixable thing.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. ...
Re: Unexpected redraw and delayed response to action & unexpected behavior
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...
BUT again - FIRST OF ALL - I wanted to try speed up significantly any draw operations...
#146217 personal license