Unexpected redraw and delayed response to action & unexpected behavior

Moderators: Hacker, petermad, Stefan2, white

User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

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

Post by *white »

ghisler(Author) wrote: 2025-06-12, 08:57 UTC
dark theme - and I don't see scrollbars at all
I can confirm that, the scrollbar only appears when I click on it.
Or scroll using the mouse wheel when hovering the scrollbar, or at the left in front of the first combobox.

2ghisler(Author)
Why is the scroll movement when using the mouse wheel so little for 64-bit TC (1/8 row per scroll) compared to 32-bit TC (1 row per scroll)?
Should the height of the scrollbar control below the help button be increased now?
Can you explain the behavior of the minimize button shown in my video?
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

2ghisler(Author)
I've reported 2 bugs. One was with visibility of scrollbars, another was about scrolling the wrong objects.
For the first one you said - it's an known problem. OK. what about the second one?
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5964
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-12, 11:59 UTC .., another was about scrolling the wrong objects.
You could scroll through values of a combobox using the mouse wheel while not hovering over the combox?
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

yes
in third from the bottom
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5964
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-12, 13:44 UTC in third from the bottom
Also when using 32-bit TC? How to reproduce exactly?
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

Don't my actions in the video above self-speaking?
https://www.upload.ee/files/18199038/record_2025_06_11_14_40_38_955.mp4.html
create rules as much as needed for scrollbar appearing. scroll the form fully down.
And after that continue to scroll the mouse wheel. The form with rule elements will
slightly twitch upwards, then downwards - and at the same time, the content of
the third dropdown from the bottom will scroll.
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5964
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-12, 14:39 UTC Don't my actions in the video above self-speaking?
No, I could not reproduce. But now I was able to when I made a similar number of rows as you. It depends on the number of rows which dropdown box from the bottom will change. Maybe it's the same problem causing my minimize button to light up, because the mouse has to be positioned under the dropdown box.

You seem to be clicking in the empty space and then the "More rules" button gets focus. I cannot reproduce that part.

With 32-bit TC, it's not possible to do this because the minimal scroll is an entire row when using 32-bit TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

Why is the scroll movement when using the mouse wheel so little for 64-bit TC (1/8 row per scroll) compared to 32-bit TC (1 row per scroll)?
Seems to be a bug in Lazarus. I could only fix that by handling the mouse wheel message myself.
Should the height of the scrollbar control below the help button be increased now?
I don't know, I just kept it as it was before.
Can you explain the behavior of the minimize button shown in my video?
This seems to be the same Lazarus bug as the one AntonyD reported (scrolling the wrong combobox): an invalid coordinate conversion. This is also solved by handling the wheel myself. I could not reproduce this with the 32-bit version.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

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

Post by *white »

ghisler(Author) wrote: 2025-06-13, 08:49 UTC
Should the height of the scrollbar control below the help button be increased now?
I don't know, I just kept it as it was before.
It had to be the size of the rows. Since it is no longer positioned in the rows, you need to re-evaluate and make a decision on what the size should be, right?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

2white
2AntonyD
To speed up the beta test a bit, I have sent you a link to a private beta version. Could you check it please? And please don't share it with anyone else!
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

No problems... Ready to test))

So far - what I've found: the speed of scrolling is fast enough now. And any attempts to scroll outside the rule
does not lead to the mentioned by me the last bug - when at some combobox there is NO now unexpected
scrolling of its content...
We have clearly improved the overall state of the process of using this container! good work!

What else I should check? to pay attention to?
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

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

Post by *white »

Tested using private version TC 11.55rc6a 64-bit.
-> Scrolling speed tested OK.
-> Scrolling changing fields contents and lighting up minimize button, no longer happens.
-> Initial scrollbar in dark mode is now shown. No half scrollbar can be created.

No issues encountered.
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

>> Initial scrollbar in dark mode is now shown. No half scrollbar can be created.
indeed. also confirm.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

Great, thanks for your tests! I will leave this thread here for now in case of other problems.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

OK,super.
By the way, were you able to receive my sources and the executable file via email related to this UI objects container?
#146217 personal license
Post Reply