Unexpected redraw and delayed response to action & unexpected behavior

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Unexpected redraw and delayed response to action & unexpected behavior

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1662
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Unexpected redraw and delayed response to action & unexpected behavior

Post 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.
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5970
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Unexpected redraw and delayed response to action & unexpected behavior

Post 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.
User avatar
AntonyD
Power Member
Power Member
Posts: 1662
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Unexpected redraw and delayed response to action & unexpected behavior

Post 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...
#146217 personal license
Post Reply