Page 5 of 5

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

Posted: 2025-06-12, 11:04 UTC
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?

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

Posted: 2025-06-12, 11:59 UTC
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?

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

Posted: 2025-06-12, 12:26 UTC
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?

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

Posted: 2025-06-12, 13:44 UTC
by AntonyD
yes
in third from the bottom

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

Posted: 2025-06-12, 13:55 UTC
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?

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

Posted: 2025-06-12, 14:39 UTC
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.

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

Posted: 2025-06-12, 15:51 UTC
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.

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

Posted: 2025-06-13, 08:49 UTC
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.

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

Posted: 2025-06-13, 09:08 UTC
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?

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

Posted: 2025-06-13, 09:22 UTC
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!

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

Posted: 2025-06-13, 10:04 UTC
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?

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

Posted: 2025-06-13, 11:03 UTC
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.

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

Posted: 2025-06-13, 11:12 UTC
by AntonyD
>> Initial scrollbar in dark mode is now shown. No half scrollbar can be created.
indeed. also confirm.

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

Posted: 2025-06-13, 12:59 UTC
by ghisler(Author)
Great, thanks for your tests! I will leave this thread here for now in case of other problems.

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

Posted: 2025-06-13, 18:05 UTC
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?