Lazarus

Programming => Widgetset => Cocoa => Topic started by: AlexTP on January 15, 2019, 11:07:53 am

Title: [Solved] Dragging of custom scrollbar causes click on parented control
Post by: AlexTP on January 15, 2019, 11:07:53 am
It is nasty bug, pls fix ASAP, it breaks usability of CudaText/Mac.

ATSynedit control has child scrollbars (custom bars, ATScrollbar). Now I drag lower horizontal bar and this gives click in main editor (ATSynedit) so editor begins to scroll down! I suppose editor gets MouseDown too.
Title: Re: Dragging of custom scrollbar causes click on parented control
Post by: Zoran on January 15, 2019, 01:39:47 pm
Did you create the bug report?
If not, please do so.
Here: https://bugs.freepascal.org/ (https://bugs.freepascal.org/)

If it is a regression (which means it behaved correctly in older versions, and the bug appeared recently), mark it so, and it will probably be fixed soon.
Title: Re: Dragging of custom scrollbar causes click on parented control
Post by: AlexTP on January 15, 2019, 02:58:15 pm
I don't know about regression, it is in CudaText since 14 december 2018 builds.
I cannot repeat it in small demo with 2 panels (one is parent of 2nd). So bugreport will be not ok.
Title: Re: Dragging of custom scrollbar causes click on parented control
Post by: AlexTP on January 15, 2019, 03:11:01 pm
Made repro demo. Issue 34878.
TinyPortal © 2005-2018