Recent

Author Topic: [Solved] Dragging of custom scrollbar causes click on parented control  (Read 1390 times)

Alextp

  • Hero Member
  • *****
  • Posts: 901
    • UVviewsoft
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.
« Last Edit: February 11, 2019, 10:09:48 am by Alextp »

Zoran

  • Hero Member
  • *****
  • Posts: 1468
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Dragging of custom scrollbar causes click on parented control
« Reply #1 on: January 15, 2019, 01:39:47 pm »
Did you create the bug report?
If not, please do so.
Here: 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.
« Last Edit: January 15, 2019, 01:42:02 pm by Zoran »

Alextp

  • Hero Member
  • *****
  • Posts: 901
    • UVviewsoft
Re: Dragging of custom scrollbar causes click on parented control
« Reply #2 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.

Alextp

  • Hero Member
  • *****
  • Posts: 901
    • UVviewsoft
Re: Dragging of custom scrollbar causes click on parented control
« Reply #3 on: January 15, 2019, 03:11:01 pm »
Made repro demo. Issue 34878.